Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LOG_LEVEL | No | Logging level (DEBUG, INFO, WARNING, ERROR, CRITICAL) | INFO |
| GROK_API_KEY | No | Your Grok API key for xAI API | |
| GEMINI_API_KEY | No | Your Google AI Studio API key for Gemini API | |
| OPENAI_API_KEY | No | Your OpenAI API key | |
| DEEPSEEK_API_KEY | No | Your DeepSeek API key | |
| USE_RICH_LOGGING | No | Set to false for plain text logs | true |
| ANTHROPIC_API_KEY | No | Your Anthropic API key | |
| GATEWAY_CACHE_DIR | No | Directory for disk cache storage | ./.cache |
| GATEWAY_CACHE_TTL | No | Default Time-To-Live in seconds (24 hours) | 86400 |
| GATEWAY_API_PREFIX | No | URL prefix for all API endpoints | |
| GATEWAY_CACHE_TYPE | No | Cache backend type (memory, redis, diskcache) | |
| OPENROUTER_API_KEY | No | Your OpenRouter API key | |
| GATEWAY_SERVER_HOST | No | Host or IP address to bind the server to. Change to 0.0.0.0 to listen on all interfaces | 127.0.0.1 |
| GATEWAY_SERVER_PORT | No | Port the server listens on | 8013 |
| GATEWAY_CACHE_ENABLED | No | Globally enable or disable response caching | true |
| GATEWAY_CACHE_MAX_SIZE | No | Max number of items for memory cache or size for disk cache | |
| GATEWAY_PROVIDER_TIMEOUT | No | Default timeout in seconds for API calls | |
| GATEWAY_AGENT_MEMORY_DB_PATH | No | Path for agent memory database | unified_agent_memory.db |
| GATEWAY_GEMINI_DEFAULT_MODEL | No | Customize default Gemini model | |
| GATEWAY_OPENAI_DEFAULT_MODEL | No | Customize default OpenAI model | |
| GATEWAY_PROMPT_TEMPLATES_DIR | No | Directory for prompt templates | ./prompt_templates |
| GATEWAY_PROVIDER_MAX_RETRIES | No | Default max retries on failure | |
| GOOGLE_APPLICATION_CREDENTIALS | No | Path to your Google service account key JSON file for Vertex AI | |
| FILESYSTEM__ALLOWED_DIRECTORIES | No | JSON array of allowed directories for filesystem tools | |
| GATEWAY_ANTHROPIC_DEFAULT_MODEL | No | Customize default Anthropic model |
Schema
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |