Installation¶
Requirements¶
- Go 1.21 or later
Install¶
External Providers¶
Some providers with heavy SDK dependencies are available as separate modules:
Environment Variables¶
Set API keys for the providers you want to use:
export OPENAI_API_KEY="your-openai-api-key"
export ANTHROPIC_API_KEY="your-anthropic-api-key"
export GEMINI_API_KEY="your-gemini-api-key"
export XAI_API_KEY="your-xai-api-key"
Ollama runs locally and doesn't require an API key.