Skip to main content
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

VariableDefaultDescription
ANTHROPIC_API_KEYAPI key for Anthropic Claude models
OPENAI_API_KEYAPI key for OpenAI models (also used for Lyzr)
GOOGLE_API_KEYAPI key for the google: text model provider
GEMINI_API_KEYAPI key for Gemini Live voice mode
GROQ_API_KEYAPI key for Groq
XAI_API_KEYAPI key for xAI Grok models
MISTRAL_API_KEYAPI key for Mistral models
OPENROUTER_API_KEYAPI key for OpenRouter (multi-provider proxy)
CEREBRAS_API_KEYAPI key for Cerebras
DEEPSEEK_API_KEYAPI key for DeepSeek
LYZR_API_KEYLyzr AI Studio API key

Azure OpenAI

VariableDefaultDescription
AZURE_OPENAI_API_KEYAPI key for Azure OpenAI
AZURE_OPENAI_BASE_URLYour Azure OpenAI endpoint URL
AZURE_OPENAI_RESOURCE_NAMEAzure resource name (alternative to BASE_URL)
AZURE_OPENAI_API_VERSIONv1Azure OpenAI API version
AZURE_OPENAI_DEPLOYMENT_NAME_MAPMap model IDs to Azure deployment names

Amazon Bedrock

VariableDefaultDescription
AWS_ACCESS_KEY_IDAWS access key ID for Bedrock
AWS_SECRET_ACCESS_KEYAWS secret access key for Bedrock
AWS_REGIONAWS region (e.g. us-east-1)
AWS_DEFAULT_REGIONFallback AWS region if AWS_REGION is not set
AWS_PROFILEUse a named AWS credentials profile instead of keys
AWS_BEARER_TOKEN_BEDROCKBearer token for Bedrock (alternative to access keys)

Google Vertex AI

VariableDefaultDescription
GOOGLE_APPLICATION_CREDENTIALSPath to GCP service account JSON (Application Default Credentials)
GOOGLE_CLOUD_PROJECTGCP project ID (required for Vertex AI)
GOOGLE_CLOUD_LOCATIONGCP region/location (required for Vertex AI)
GOOGLE_CLOUD_API_KEYAPI key alternative to ADC for Vertex AI
GCLOUD_PROJECTFallback for GOOGLE_CLOUD_PROJECT

Cloudflare Workers AI

VariableDefaultDescription
CLOUDFLARE_API_KEYCloudflare Workers AI API key
CLOUDFLARE_ACCOUNT_IDCloudflare account ID (used in the Workers AI endpoint URL)

Git & Repositories

VariableDefaultDescription
GITHUB_TOKENGitHub PAT for —repo mode (also falls back to GIT_TOKEN)
GIT_TOKENAlternative PAT fallback for —repo mode

Integrations & Tools

VariableDefaultDescription
E2B_API_KEYAPI token read by the E2B SDK when using —sandbox
COMPOSIO_API_KEYComposio integrations API key
TELEGRAM_BOT_TOKENTelegram bot token from @BotFather
SKILLSMP_API_KEYSkillsMP marketplace API key for skill discovery

Runtime & Config

VariableDefaultDescription
GITAGENT_MODEL_BASE_URLCustom OpenAI-compatible base URL
GITAGENT_USERNAMEadminUsername for web UI login (companion to GITAGENT_PASSWORD)
GITAGENT_PASSWORDPassword for web UI authentication
GITAGENT_ENVSelects 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