multi_provider

command
v0.12.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 19, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Example: multi_provider demonstrates connecting agents to different LLM providers.

This shows how the same agent builder API works with OpenAI, Anthropic, Gemini, Mistral, Ollama, Azure OpenAI, Google Cloud Vertex AI, AWS Bedrock, and any OpenAI-compatible endpoint (Together, Groq, DeepSeek, OpenRouter, Fireworks, Perplexity, Anyscale, vLLM, LiteLLM).

Set environment variables for the providers you want to test:

OPENAI_API_KEY, ANTHROPIC_API_KEY, GEMINI_API_KEY, MISTRAL_API_KEY
AZURE_OPENAI_API_KEY / AZURE_OPENAI_ENDPOINT / AZURE_OPENAI_DEPLOYMENT
GOOGLE_CLOUD_PROJECT / GOOGLE_ACCESS_TOKEN (see examples/vertex)
AWS_ACCESS_KEY_ID / AWS_SECRET_ACCESS_KEY / AWS_REGION (Bedrock)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL