Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SERVER_API_KEY | No | API key for HTTP/SSE server authentication | |
| LOW_COST_MODELS | No | Comma-separated list of low-cost models to use | perplexity/sonar-reasoning,openai/gpt-4o-mini-search-preview,google/gemini-2.0-flash-001 |
| PGLITE_DATA_DIR | No | Directory for persistent storage of research reports | ./researchAgentDB |
| ALLOW_NO_API_KEY | No | For development/testing only, allows requests without API key | |
| HIGH_COST_MODELS | No | Comma-separated list of high-cost models to use | perplexity/sonar-deep-research,perplexity/sonar-pro,perplexity/sonar-reasoning-pro,openai/gpt-4o-search-preview |
| CACHE_TTL_SECONDS | No | Time-to-live for cached research results in seconds | 3600 |
| OPENROUTER_API_KEY | Yes | Your OpenRouter API key |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |