Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OPENAI_API_KEY | No | OpenAI API key (used in YAML config with ${OPENAI_API_KEY}) | |
| OPENROUTER_KEY | No | OpenRouter API key (used in YAML config with ${OPENROUTER_KEY}) | |
| POLYBRAIN_DEBUG | No | Enable debug logging to stderr | |
| POLYBRAIN_API_KEY | No | API key | |
| POLYBRAIN_BASE_URL | No | LLM API base URL | |
| POLYBRAIN_HTTP_PORT | No | Server port | 32701 |
| POLYBRAIN_LOG_LEVEL | No | Log level | info |
| POLYBRAIN_MODEL_NAME | No | Model name | |
| POLYBRAIN_CONFIG_PATH | No | Custom config file path |
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 | |