API Reference
@kyro/shared
AI provider abstractions used internally by all Kyro packages.
AI provider abstractions for the Kyro evaluation suite.
This is an internal package used by /judge and /batch. You generally do not need to install it directly — install /core instead.
Supported Providers
| Provider | Package | Env Variable |
|---|---|---|
| Gemini | @google/generative-ai | GEMINI_API_KEY |
| OpenAI | openai | OPENAI_API_KEY |
| Azure OpenAI | openai | AZURE_OPENAI_API_KEY, AZURE_OPENAI_ENDPOINT |
| Anthropic | @anthropic-ai/sdk | ANTHROPIC_API_KEY |
| Ollama (local) | ollama | (none — runs locally) |
Usage (via /core)
Direct Import
If you need a specific provider class:
License
MIT