Skip to content

About

Shared LLM provider layer for mast and core-agent: Gemini, Claude, OpenAI, Vertex MaaS, and self-hosted (vLLM, SGLang, Ollama) behind one genai-shaped contract.

Topics

Resources

Code of conduct

Contributing

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

81 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

core-models

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.

Modules

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

License

Apache 2.0.

About

Shared LLM provider layer for mast and core-agent: Gemini, Claude, OpenAI, Vertex MaaS, and self-hosted (vLLM, SGLang, Ollama) behind one genai-shaped contract.

Topics

Resources

Code of conduct

Contributing

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages