Configuration
Automatic setup wizards and environment management.
1. Automatic Setup (Recommended)
Labs includes an interactive configuration wizard that handles everything for you. Simply run the following command to set up your AI provider, API keys, and context window preferences.
Labs Configuration Wizard
? Select AI Provider:
> OPENROUTER
ANTHROPIC
OLLAMA
2. Telegram Bridge
To connect Labs to Telegram, use the dedicated setup command. This will prompt you for your Bot Token and User ID, then automatically start the background worker.
3. Manual Override (Advanced)
For advanced users or CI/CD environments, you can manually edit the configuration files located in ~/.labs.
~/.labs/config.env
LABS_PROVIDER
openrouter | anthropic | ollama
OPENROUTER_API_KEY
Your OpenRouter API key.
LABS_CONTEXT_WINDOW
Context size (e.g., 8192, 16384).
4. System Logs
If you encounter issues, check the system logs:
~/.labs/logs/debug-raw.log// LLM input/output traces
~/.labs/telegram_spawn.log// Background worker status