Authentication
Tuvo Code requires API credentials to communicate with AI providers. You can configure your provider and API key using the built-in authentication command.
Using the /auth Command
Run the following command in an interactive Tuvo session:
/authYou'll be prompted to:
- Select your AI provider (OpenAI, Anthropic, Gemini, Qwen, OpenRouter, or Ollama)
- Enter your API key for that provider
Your credentials are stored locally and never sent to third parties.
Supported Providers
- • OpenAI — GPT-4, GPT-4 Turbo, GPT-3.5 Turbo
- • Anthropic — Claude 3.5 Sonnet, Claude 3 Opus, Claude 3 Haiku
- • Google Gemini — Gemini 1.5 Pro, Gemini 1.5 Flash
- • Qwen — Qwen 2.5 models
- • OpenRouter — Access to 100+ models through a single API
- • Ollama — Run models locally on your machine
Environment Variables
Alternatively, you can set API keys using environment variables:
export OPENAI_API_KEY="sk-..."
export ANTHROPIC_API_KEY="sk-ant-..."
export GEMINI_API_KEY="..."
export OPENROUTER_API_KEY="..."Environment variables take precedence over configured credentials.