agentic-llm
LLM adapters for the Agentic Framework.
Features
- Multiple Providers: OpenAI, Anthropic, Google Gemini, Ollama
- Unified Interface: Single
LLMAdaptertrait for all providers - Streaming Support: Real-time token streaming
- Async-first: Built on Tokio
Installation
[]
= "0.1"
# Or with specific providers
= { = "0.1", = ["openai", "anthropic"] }
Quick Start
use ;
async
Providers
| Provider | Feature Flag | Environment Variable |
|---|---|---|
| OpenAI | openai |
OPENAI_API_KEY |
| Anthropic | anthropic |
ANTHROPIC_API_KEY |
| Gemini | gemini |
GEMINI_API_KEY |
| Ollama | ollama |
OLLAMA_HOST |
License
MIT