You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 17, 2026. It is now read-only.
Add a native Google Gemini provider to @agentrail/core.
Background
Agentrail currently ships native OpenAI and Anthropic providers. Gemini is the next major provider to support directly rather than only through compatibility layers.
Proposed Implementation
Add the chosen Gemini SDK dependency to packages/core/package.json
Implement gemini-llm-provider.ts in packages/core/src/llm/providers/
Add side-effect registration export(s) through the current providers index
Add provider tests using the current core test setup
Acceptance Criteria
provider: "gemini" works in ModelConfig
Text streaming works
Tool calling works
Gemini-specific reasoning / thinking behavior is mapped where supported
baseUrl or equivalent endpoint override behavior is documented if supported
Summary
Add a native Google Gemini provider to
@agentrail/core.Background
Agentrail currently ships native OpenAI and Anthropic providers. Gemini is the next major provider to support directly rather than only through compatibility layers.
Proposed Implementation
packages/core/package.jsongemini-llm-provider.tsinpackages/core/src/llm/providers/Acceptance Criteria
provider: "gemini"works inModelConfigbaseUrlor equivalent endpoint override behavior is documented if supported