Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

.env.example

80 lines2.9 KB

1# OpenAI API Key (chat, images, video, speech, transcription, summarize)
2# Get yours at: https://platform.openai.com/api-keys
3OPENAI_API_KEY=
4​
5# Anthropic API Key (chat)
6# Get yours at: https://console.anthropic.com/settings/keys
7ANTHROPIC_API_KEY=
8​
9# Google Gemini API Key (chat, audio, speech)
10# Get yours at: https://aistudio.google.com/apikey
11GOOGLE_API_KEY=
12​
13# xAI / Grok API Key (chat)
14# Get yours at: https://console.x.ai
15XAI_API_KEY=
16​
17# Groq API Key (chat)
18# Get yours at: https://console.groq.com/keys
19GROQ_API_KEY=
20​
21# OpenRouter API Key (chat, images)
22# Get yours at: https://openrouter.ai/keys
23OPENROUTER_API_KEY=
24​
25# Amazon Bedrock (chat via the default Converse API)
26# Create a key at: https://docs.aws.amazon.com/bedrock/latest/userguide/api-keys.html
27BEDROCK_API_KEY=
28# AWS_REGION=us-east-1
29# To test SigV4 instead of the API key: set BEDROCK_AUTH=sigv4 and provide AWS
30# IAM credentials via env vars or `aws configure` (the shared credentials file).
31# BEDROCK_AUTH=sigv4
32​
33# fal.ai Key (audio, speech, transcription)
34# Get yours at: https://fal.ai/dashboard/keys
35FAL_KEY=
36​
37# ElevenLabs API Key (realtime voice)
38# Get yours at: https://elevenlabs.io/app/settings/api-keys
39ELEVENLABS_API_KEY=
40​
41# ElevenLabs Agent ID (realtime voice)
42# Create an agent at: https://elevenlabs.io/app/conversational-ai
43ELEVENLABS_AGENT_ID=
44​
45# BytePlus needs TWO different keys from TWO different products — one is not a
46# fallback for the other.
48# BytePlus ModelArk key (chat, images, video). Falls back to BYTEPLUS_API_KEY.
49# Ark keys are region-isolated: a key issued for one region won't work against
50# another region's host.
51# Get yours at: https://docs.byteplus.com/en/docs/ModelArk/
52ARK_API_KEY=
53​
54# BytePlus Voice key (Seed Speech TTS + ASR) — a separate product from ModelArk
55# with its own key; the Ark key will not authenticate against it.
56# Get yours at: https://docs.byteplus.com/en/docs/byteplusvoice/
57BYTEPLUS_VOICE_API_KEY=
58​
59# ── Sandbox triage demo (/sandboxes) ────────────────────────────────────────
60​
61# GitHub token — raises API rate limits for the triage tools (issue comments,
62# related-issue search) and allows private repos. Optional for public repos.
63# Get yours at: https://github.com/settings/tokens
64GITHUB_TOKEN=
65​
66# Daytona API key — required to run triage on the Daytona provider.
67# Get yours at: https://app.daytona.io
68DAYTONA_API_KEY=
69​
70# Vercel Sandbox — token + stable team/project (no OIDC expiry).
71# Token: https://vercel.com/account/tokens
72VERCEL_TOKEN=
73VERCEL_TEAM_ID=
74VERCEL_PROJECT_ID=
75​
76# ngrok authtoken — lets the host tool bridge reach REMOTE cloud sandboxes
77# (Daytona, Vercel) while developing locally, so chat()-provided tools / code
78# mode work there too. Not needed for the local or Docker providers.
79# Get yours at: https://dashboard.ngrok.com/get-started/your-authtoken
80NGROK_AUTHTOKEN=