One LLM provider layer for Go agents built on Google's Agent Development Kit. It is shared by mast and core-agent.
What's in it:
- provider adapters for Gemini, Claude, OpenAI, the Vertex AI partner models, and self-hosted model servers (vLLM, SGLang, Ollama);
- one usage record every adapter fills in, so tokens and cost look the same whichever model answered;
- a thin adapter module for ADK v2.
Status: pre-release (v0.x), in use. mast and core-agent both run on it. Four wire formats ("dialects") are built:
| Dialect | Package | Reaches |
|---|---|---|
openai-chat |
dialect/openaichat |
Vertex AI partner models, xAI, vLLM, SGLang, Ollama and any OpenAI-compatible endpoint; SAP AI Core's orchestration service (sap-ai-core, not yet validated against a real tenant) |
openai-responses |
dialect/openairesp |
OpenAI, and any server that serves /v1/responses (xAI, vLLM) |
anthropic |
dialect/anthropic |
Claude on Anthropic's API and on Vertex AI |
gemini |
dialect/gemini |
Gemini on the Developer API and Vertex AI |
See the roadmap for what is still owed.
- Docs: https://go-steer.github.io/core-models/
- Design:
docs/design.md - Contributing:
CONTRIBUTING.md. Agents, readAGENTS.md.
| Module | For |
|---|---|
github.com/go-steer/core-models |
The contract (llm), the usage record (usage), profiles, the dialects above, the KV-cache sampler (kvmetrics) and the shared price catalog (pricing). Never imports ADK |
github.com/go-steer/core-models/adkv2 |
Projects on google.golang.org/adk/v2 |