GitAgent reads configuration from environment variables for LLM provider credentials, git access, integrations, and runtime behavior. This page lists every supported variable, grouped by area.
LLM Provider API Keys
Variable Default Description ANTHROPIC_API_KEY— API key for Anthropic Claude models OPENAI_API_KEY— API key for OpenAI models (also used for Lyzr) GOOGLE_API_KEY— API key for the google: text model provider GEMINI_API_KEY— API key for Gemini Live voice mode GROQ_API_KEY— API key for Groq XAI_API_KEY— API key for xAI Grok models MISTRAL_API_KEY— API key for Mistral models OPENROUTER_API_KEY— API key for OpenRouter (multi-provider proxy) CEREBRAS_API_KEY— API key for Cerebras DEEPSEEK_API_KEY— API key for DeepSeek LYZR_API_KEY— Lyzr AI Studio API key
Azure OpenAI
Variable Default Description AZURE_OPENAI_API_KEY— API key for Azure OpenAI AZURE_OPENAI_BASE_URL— Your Azure OpenAI endpoint URL AZURE_OPENAI_RESOURCE_NAME— Azure resource name (alternative to BASE_URL) AZURE_OPENAI_API_VERSIONv1 Azure OpenAI API version AZURE_OPENAI_DEPLOYMENT_NAME_MAP— Map model IDs to Azure deployment names
Amazon Bedrock
Variable Default Description AWS_ACCESS_KEY_ID— AWS access key ID for Bedrock AWS_SECRET_ACCESS_KEY— AWS secret access key for Bedrock AWS_REGION— AWS region (e.g. us-east-1) AWS_DEFAULT_REGION— Fallback AWS region if AWS_REGION is not set AWS_PROFILE— Use a named AWS credentials profile instead of keys AWS_BEARER_TOKEN_BEDROCK— Bearer token for Bedrock (alternative to access keys)
Google Vertex AI
Variable Default Description GOOGLE_APPLICATION_CREDENTIALS— Path to GCP service account JSON (Application Default Credentials) GOOGLE_CLOUD_PROJECT— GCP project ID (required for Vertex AI) GOOGLE_CLOUD_LOCATION— GCP region/location (required for Vertex AI) GOOGLE_CLOUD_API_KEY— API key alternative to ADC for Vertex AI GCLOUD_PROJECT— Fallback for GOOGLE_CLOUD_PROJECT
Cloudflare Workers AI
Variable Default Description CLOUDFLARE_API_KEY— Cloudflare Workers AI API key CLOUDFLARE_ACCOUNT_ID— Cloudflare account ID (used in the Workers AI endpoint URL)
Git & Repositories
Variable Default Description GITHUB_TOKEN— GitHub PAT for —repo mode (also falls back to GIT_TOKEN) GIT_TOKEN— Alternative PAT fallback for —repo mode
Variable Default Description E2B_API_KEY— API token read by the E2B SDK when using —sandbox COMPOSIO_API_KEY— Composio integrations API key TELEGRAM_BOT_TOKEN— Telegram bot token from @BotFather SKILLSMP_API_KEY— SkillsMP marketplace API key for skill discovery
Runtime & Config
Variable Default Description GITAGENT_MODEL_BASE_URL— Custom OpenAI-compatible base URL GITAGENT_USERNAMEadmin Username for web UI login (companion to GITAGENT_PASSWORD) GITAGENT_PASSWORD— Password for web UI authentication GITAGENT_ENV— Selects which config/<env>.yaml to load
Never commit API keys or tokens to your agent repo. Set these as environment variables or store them in a .env file excluded from version control.
Models & Providers See which provider each API key unlocks
Web & Voice Use GITAGENT_USERNAME and GITAGENT_PASSWORD to secure the web UI
Integrations Connect Composio, Telegram, and other services with these keys
Security Best practices for securing credentials and sandboxed runs