Download tasks/data/reverse/0fl01__oxide-agent.e2f15d4/environment/docs/env.example from Lego-X/ProgramGen: direct link, hf CLI and curl.
- Browser
- Download file 17.8 kB
-
https://huggingface.co/datasets/Lego-X/ProgramGen/resolve/main/tasks/data/reverse/0fl01__oxide-agent.e2f15d4/environment/docs/env.example
- Command line
-
hf download hf://datasets/Lego-X/ProgramGen/tasks/data/reverse/0fl01__oxide-agent.e2f15d4/environment/docs/env.example
-
curl -L -o env.example https://huggingface.co/datasets/Lego-X/ProgramGen/resolve/main/tasks/data/reverse/0fl01__oxide-agent.e2f15d4/environment/docs/env.example
17.8 kB
| # Timezone | |
| TZ=Europe/Moscow | |
| # Telegram | |
| TELEGRAM_TOKEN=YOUR_TELEGRAM_BOT_TOKEN | |
| TELEGRAM_ALLOWED_USERS=123456789,987654321 # Telegram users allowed to use Agent Mode | |
| TELEGRAM_MANAGER_ALLOWED_USERS=123456789 # Users allowed to use manager control-plane tools | |
| ATTACH_DETACH_ENABLED=true # Show Attach / Detach flow controls in Agent Mode | |
| REMINDER_AGENT_PROGRESS_ENABLED=true # Set false for watch/ward reminders to hide progress/status messages | |
| REMINDER_SILENT_NO_CHANGE_ENABLED=false # Set true to suppress exact no-change reminder sentinel responses | |
| # PostgreSQL durable storage | |
| # Use OXIDE_DATABASE_URL for Oxide-specific config; DATABASE_URL is accepted as a fallback. | |
| OXIDE_DATABASE_URL=postgres://oxide_agent:oxide_agent@localhost:5432/oxide_agent | |
| # Keep pools conservative for personal/Supabase deployments. | |
| OXIDE_DATABASE_MAX_CONNECTIONS=5 | |
| # OXIDE_DATABASE_CONNECT_TIMEOUT_SECS=10 | |
| # Run migrations as a deploy step in production/Supabase; local Compose enables | |
| # startup migrations by default to avoid a first-boot race on fresh databases. | |
| # OXIDE_DATABASE_MIGRATE_ON_STARTUP=false | |
| # OXIDE_DATABASE_MIGRATIONS_DIR=migrations | |
| # docker-compose.web.local-services.yml includes a local Postgres on 127.0.0.1:55432. | |
| # Plain docker-compose.web.yml is remote-Postgres friendly: set OXIDE_DATABASE_URL | |
| # and keep startup migrations enabled unless another migration job is guaranteed | |
| # to finish before web startup. | |
| # Web console store backend (optional override) | |
| # OXIDE_WEB_STORE=sqlx and OXIDE_WEB_STORE=postgres select the SQLx/Postgres store. | |
| # Set OXIDE_WEB_REQUIRE_DURABLE_STORAGE=true | |
| # to fail startup if durable storage is not configured. | |
| # OXIDE_WEB_CHAT_UPLOAD_MAX_MB=200 # Optional: total attachment upload limit per web chat request in MB | |
| # OXIDE_WEB_TASK_FILE_MAX_BYTES=33554432 # Postgres bytea task-file limit, default 32 MiB | |
| # Web console runtime flags | |
| OXIDE_WEB_ALLOW_IN_MEMORY_STORE=true | |
| OXIDE_WEB_REGISTRATION_ENABLED=true | |
| # Permanent Life Mode solo bridge (bridge-first chat sync) | |
| # Web owner login used to bind the Web /life console to the solo Life principal. | |
| # Telegram values are for a dedicated Life bot, separate from the ordinary Agent Mode bot. | |
| # Every non-command private DM from LIFE_TELEGRAM_CHAT_ID is a Life chat input. | |
| # Leave unset until the Life bridge checkpoints are deployed. | |
| # LIFE_OWNER_WEB_LOGIN=alice | |
| # LIFE_TELEGRAM_BOT_TOKEN=YOUR_DEDICATED_LIFE_BOT_TOKEN | |
| # LIFE_TELEGRAM_CHAT_ID=123456789 | |
| # API Keys | |
| # ChatGPT / Codex (OAuth) | |
| # 1) Run `cargo run -p oxide-agent-telegram-bot --bin chatgpt-login -- login` | |
| # 2) Optional status check: `cargo run -p oxide-agent-telegram-bot --bin chatgpt-login -- status` | |
| # 3) Enter code at https://auth.openai.com/codex/device | |
| # 4) Auth is saved to `config/chatgpt/auth.json` | |
| CHATGPT_AUTH_PATH=/app/config/chatgpt/auth.json | |
| MINIMAX_API_KEY=YOUR_MINIMAX_API_KEY | |
| OPENROUTER_API_KEY=YOUR_OPENROUTER_API_KEY | |
| # OpenAI-compatible providers (llama.cpp, vLLM, Ollama, Groq, OpenAI, etc.) | |
| # Routes must reference provider instances as `openai-base:<name>`. | |
| OPENAI_BASE_PROVIDERS__0__NAME=openai | |
| OPENAI_BASE_PROVIDERS__0__API_BASE=https://api.openai.com/v1 | |
| OPENAI_BASE_PROVIDERS__0__API_KEY=YOUR_OPENAI_BASE_API_KEY | |
| OPENAI_BASE_PROVIDERS__0__MODEL_CACHE_TTL_SECS=1800 | |
| # Example: ZAI / GLM through OpenAI Base profile | |
| OPENAI_BASE_PROVIDERS__1__NAME=zai | |
| OPENAI_BASE_PROVIDERS__1__API_BASE=https://api.z.ai/api/coding/paas/v4 | |
| OPENAI_BASE_PROVIDERS__1__API_KEY=YOUR_ZAI_OPENAI_BASE_API_KEY | |
| OPENAI_BASE_PROVIDERS__1__PROFILE=zai | |
| # Example local llama.cpp / vLLM / Ollama-compatible server | |
| #OPENAI_BASE_PROVIDERS__2__NAME=local | |
| #OPENAI_BASE_PROVIDERS__2__API_BASE=http://localhost:8080/v1 | |
| #OPENAI_BASE_PROVIDERS__2__API_KEY= | |
| #OPENAI_BASE_PROVIDERS__2__MODELS_URL=http://localhost:8080/v1/models | |
| #OPENAI_BASE_PROVIDERS__2__PROFILE=generic | |
| # OpenCode Go accepts OPENCODE_GO_API_KEY. OPENCODE_API_KEY is also accepted as | |
| # a shared fallback by the Oxide provider. | |
| OPENCODE_GO_API_KEY=<your-opencode-go-api-key> | |
| OPENCODE_GO_API_BASE=https://opencode.ai/zen/go/v1/chat/completions | |
| OPENCODE_GO_MAX_CONCURRENT=5 | |
| # Logging | |
| RUST_LOG=oxide_agent=info,hyper=warn,h2=error,reqwest=warn,tokio=warn,tower=warn | |
| DEBUG_MODE=false | |
| # Включить verbose режим (раскомментировать для отладки): | |
| # DEBUG_MODE=true | |
| # Optional indexed web search providers (tool appears only when a backend is configured) | |
| # TAVILY_API_KEY=YOUR_TAVILY_API_KEY | |
| # BRAVE_SEARCH_API_KEY= | |
| # BRAVE_SEARCH_TIMEOUT_SECS=10 | |
| # BRAVE_SEARCH_COUNTRY=US | |
| # BRAVE_SEARCH_LANG=en | |
| # BRAVE_SEARCH_UI_LANG=en-US | |
| # BRAVE_SEARCH_SAFESEARCH=moderate | |
| # BRAVE_SEARCH_MAX_CONCURRENT=1 | |
| # BRAVE_SEARCH_MIN_DELAY_MS=1000 | |
| # CRW — web crawler/scrape service (external project, AGPL-3.0) | |
| # Upstream: https://github.com/us/crw • Docs: https://docs.fastcrw.com | |
| # Feature: tool-crw (enabled in all Docker Compose profiles) | |
| # | |
| # Two deployment modes: | |
| # 1. Single-container (base compose files): scrape/markdown only. | |
| # No search, no JS rendering. Healthcheck uses bash /dev/tcp (image has | |
| # no wget/curl). Works standalone — no sidecars needed. | |
| # 2. Full-stack (local-services overlays): CRW + SearXNG + LightPanda. | |
| # Provides /v1/search (via SearXNG) and /v1/scrape with renderJs:true | |
| # (via LightPanda headless browser). Uses docker/searxng/settings.yml. | |
| # Enable with: docker compose -f <base> -f <base>.local-services.yml up -d | |
| # | |
| # CRW search/scrape is available only when both endpoint and token are set. | |
| # OXIDE_CRW_BASE_URL=http://127.0.0.1:3000 | |
| # OXIDE_CRW_API_TOKEN=YOUR_CRW_TOKEN | |
| # OXIDE_CRW_TIMEOUT_SECS=30 | |
| # OXIDE_CRW_IMAGE=ghcr.io/us/crw | |
| # OXIDE_CRW_PORT=3000 | |
| # Full-stack sidecar images (local-services overlays only): | |
| # OXIDE_SEARXNG_IMAGE=searxng/searxng:latest | |
| # OXIDE_LIGHTPANDA_IMAGE=lightpanda/browser:latest | |
| # SearXNG secret key — generate with: openssl rand -hex 32 | |
| # SEARXNG_SECRET_KEY=change-me-with-openssl-rand-hex-32-please | |
| # Merge web_markdown and CRW scrape fallback into a single web_crawler tool. | |
| # Code default is false; docker-compose.web.yml defaults it to true unless overridden. | |
| # OXIDE_WEB_CRAWLER_MERGE=false | |
| # Agent loop and loop detection settings | |
| LOOP_DETECTION_ENABLED=false | |
| AGENT_MAX_ITERATIONS=20000 | |
| SUB_AGENT_MAX_ITERATIONS=6000 | |
| AGENT_SEARCH_LIMIT=1000 | |
| LOOP_TOOL_CALL_THRESHOLD=5 | |
| LOOP_CONTENT_CHUNK_SIZE=50 | |
| LOOP_CONTENT_THRESHOLD=10 | |
| LOOP_MAX_HISTORY_LENGTH=5000 | |
| LOOP_LLM_CHECK_AFTER_TURNS=30 | |
| LOOP_LLM_CHECK_INTERVAL=3 | |
| LOOP_LLM_CONFIDENCE_THRESHOLD=0.9 | |
| LOOP_LLM_HISTORY_COUNT=20 | |
| LOOP_SCOUT_MODEL=labs-devstral-small-2512 | |
| # LLM HTTP client timeout (seconds) | |
| # Default is 90. Increase for large prompts / slow models; decrease to fail fast. | |
| # LLM_HTTP_TIMEOUT_SECS=90 | |
| # Optional settings | |
| # GOFILE_TOKEN=your_gofile_token # Optional: GoFile account token for upload_file | |
| # OXIDE_CHAT_DELIVERY_MAX_FILE_SIZE_BYTES=52428800 # Optional: max size for send_file/chat delivery; default 50 MB | |
| # Jira MCP Configuration (requires 'jira' feature enabled) | |
| # Uncomment to enable Jira integration via MCP protocol | |
| # Binary path is auto-detected: checks JIRA_MCP_BINARY_PATH, then /usr/local/bin/jira-mcp, | |
| # then /usr/bin/jira-mcp, finally falls back to 'jira-mcp' (searches in PATH) | |
| # JIRA_MCP_BINARY_PATH=/usr/local/bin/jira-mcp # Optional: explicit binary path | |
| # JIRA_URL=https://jira.company.com # Required: Jira Server 7.5.0 base URL | |
| # JIRA_EMAIL=agent@company.com # Required: Jira user email/username | |
| # JIRA_API_TOKEN=your_api_token # Required: Jira API token or password | |
| # | |
| # Note: Jira tools are disabled by default even when configured. | |
| # Enable via manager agent: topic_agent_tools_enable with tools=["jira"] | |
| # Mattermost MCP Configuration (requires 'mattermost' feature enabled) | |
| # Binary path is auto-detected: checks MATTERMOST_MCP_BINARY_PATH, then /usr/local/bin/mattermost-mcp, | |
| # /usr/bin/mattermost-mcp, /usr/local/bin/mcp-server-mattermost, /usr/bin/mcp-server-mattermost, | |
| # and finally falls back to 'mattermost-mcp' in PATH. | |
| # MATTERMOST_MCP_BINARY_PATH=/usr/local/bin/mattermost-mcp # Optional: explicit binary path | |
| # MATTERMOST_URL=https://mattermost.company.com # Required: Mattermost base URL | |
| # MATTERMOST_TOKEN=your_bot_or_user_token # Required: Mattermost bot or user token | |
| # MATTERMOST_TIMEOUT=30 # Optional: upstream request timeout in seconds | |
| # MATTERMOST_MAX_RETRIES=3 # Optional: upstream retry count | |
| # MATTERMOST_VERIFY_SSL=true # Optional: verify TLS certificates | |
| # | |
| # Note: Mattermost tools are disabled by default even when configured. | |
| # Enable via manager agent: topic_agent_tools_enable with tools=["mattermost"] | |
| # DM (Direct Message) Tool Restrictions | |
| # These tools are blocked by default in private/DM chats but available in forum topics: | |
| # - SSH tools: ssh_exec, ssh_sudo_exec, ssh_read_file, ssh_apply_file_edit, ssh_check_process | |
| # - Jira tools: jira_read, jira_write, jira_schema | |
| # - Mattermost tools: all mattermost_* tools | |
| # | |
| # Admin override via allowlist mode (only these tools will be allowed in DM): | |
| # DM_ALLOWED_TOOLS=todos_write,todos_list,spawn_sub_agents,wait_sub_agents,cancel_sub_agents | |
| # | |
| # Admin override via additional blocklist (adds to default DM restrictions): | |
| # DM_BLOCKED_TOOLS=sandbox_exec | |
| # --- Dynamic Model Configuration --- | |
| # Agent Mode requires explicit agent routes. Voice uses AUDIO_STT_*; | |
| # image/video understanding uses VISION_MODEL_*. | |
| # 1. Agent model | |
| # Primary route stays sticky; fallback activates only after persistent 429s. | |
| # Priority example: MiniMax > ZAI > OpenCode Go | |
| AGENT_MODEL_ID="MiniMax-M2.7" | |
| AGENT_MODEL_PROVIDER="minimax" | |
| AGENT_MODEL_MAX_OUTPUT_TOKENS=32000 | |
| AGENT_MODEL_CONTEXT_WINDOW_TOKENS=320000 | |
| #AGENT_MODEL_TEMPERATURE=0.7 | |
| # ChatGPT / Codex example for agent mode (alternative) | |
| #AGENT_MODEL_ID="gpt-5.4" | |
| #AGENT_MODEL_PROVIDER="chatgpt" | |
| #AGENT_MODEL_MAX_OUTPUT_TOKENS=32000 | |
| #AGENT_MODEL_CONTEXT_WINDOW_TOKENS=128000 | |
| # OpenCode Go MiMo V2.5 (recommended primary agent route) | |
| AGENT_MODEL_ID="mimo-v2.5" | |
| AGENT_MODEL_PROVIDER="opencode-go" | |
| AGENT_MODEL_MAX_OUTPUT_TOKENS=32000 | |
| AGENT_MODEL_CONTEXT_WINDOW_TOKENS=320000 | |
| # Optional sub-agent override (inherits agent context window by default) | |
| #SUB_AGENT_MODEL_ID="mimo-v2.5" | |
| #SUB_AGENT_MODEL_PROVIDER="opencode-go" | |
| #SUB_AGENT_MAX_OUTPUT_TOKENS=32000 | |
| # ZAI alternative for sub-agent | |
| #SUB_AGENT_MODEL_ID="glm-4.5-air" | |
| #SUB_AGENT_MODEL_PROVIDER="openai-base:zai" | |
| SUB_AGENT_MAX_OUTPUT_TOKENS=32000 | |
| # Ordered model catalog for main agent (.env only, no YAML required). | |
| # The first route is the default; models are switched manually per session/topic. | |
| AGENT_MODEL_ROUTES__0__ID="mimo-v2.5" | |
| AGENT_MODEL_ROUTES__0__PROVIDER="opencode-go" | |
| AGENT_MODEL_ROUTES__0__MAX_OUTPUT_TOKENS=32000 | |
| AGENT_MODEL_ROUTES__0__CONTEXT_WINDOW_TOKENS=320000 | |
| AGENT_MODEL_ROUTES__1__ID="glm-4.7" | |
| AGENT_MODEL_ROUTES__1__PROVIDER="openai-base:zai" | |
| AGENT_MODEL_ROUTES__1__MAX_OUTPUT_TOKENS=32000 | |
| AGENT_MODEL_ROUTES__1__CONTEXT_WINDOW_TOKENS=320000 | |
| # Example: local llama.cpp / vLLM route | |
| #AGENT_MODEL_ROUTES__3__ID="local-model" | |
| #AGENT_MODEL_ROUTES__3__PROVIDER="openai-base:local" | |
| #AGENT_MODEL_ROUTES__3__MAX_OUTPUT_TOKENS=4096 | |
| #AGENT_MODEL_ROUTES__3__CONTEXT_WINDOW_TOKENS=32768 | |
| # Ordered model catalog for sub-agent | |
| SUB_AGENT_MODEL_ROUTES__0__ID="MiniMax-M2.7" | |
| SUB_AGENT_MODEL_ROUTES__0__PROVIDER="minimax" | |
| SUB_AGENT_MODEL_ROUTES__0__MAX_OUTPUT_TOKENS=32000 | |
| SUB_AGENT_MODEL_ROUTES__1__ID="glm-4.7" | |
| SUB_AGENT_MODEL_ROUTES__1__PROVIDER="openai-base:zai" | |
| SUB_AGENT_MODEL_ROUTES__1__MAX_OUTPUT_TOKENS=32000 | |
| # Single-model alternatives | |
| #AGENT_MODEL_ID="glm-4.7" | |
| #AGENT_MODEL_PROVIDER="openai-base:zai" | |
| #AGENT_MODEL_MAX_OUTPUT_TOKENS=32000 | |
| #AGENT_MODEL_CONTEXT_WINDOW_TOKENS=320000 | |
| #AGENT_MODEL_ID="mimo-v2.5" | |
| #AGENT_MODEL_PROVIDER="opencode-go" | |
| #AGENT_MODEL_MAX_OUTPUT_TOKENS=32000 | |
| #AGENT_MODEL_CONTEXT_WINDOW_TOKENS=320000 | |
| #SUB_AGENT_MODEL_ID="glm-4.7" | |
| #SUB_AGENT_MODEL_PROVIDER="openai-base:zai" | |
| #SUB_AGENT_MAX_OUTPUT_TOKENS=32000 | |
| #SUB_AGENT_CONTEXT_WINDOW_TOKENS=320000 # explicit override | |
| #AGENT_MODEL_ID="local-model" | |
| #AGENT_MODEL_PROVIDER="openai-base:local" | |
| #AGENT_MODEL_MAX_OUTPUT_TOKENS=4096 | |
| #AGENT_MODEL_CONTEXT_WINDOW_TOKENS=32768 | |
| # 2. Audio STT backend (used for Telegram voice and transcribe_audio_file) | |
| # GigaAM-compatible local backend, for example 127.0.0.1:8002 -> container:8000. | |
| #AUDIO_STT_BASE_URL="http://127.0.0.1:8002" | |
| #AUDIO_STT_API_KEY="" | |
| #AUDIO_STT_VAD=true | |
| # 3. Vision model (used for image/video understanding) | |
| # Use OpenRouter-hosted Gemini-family models for image/video routes. | |
| VISION_MODEL_ID="google/gemini-3.1-flash-lite-preview" | |
| VISION_MODEL_PROVIDER="openrouter" | |
| # 4. Browser Live Agent (disabled by default) | |
| # The main agent directly controls the browser through a native Rust sidecar | |
| # (oxide-browser-sidecar) that talks the Chrome DevTools Protocol (CDP) directly | |
| # to a headless Chromium over a single WebSocket. | |
| # No vision/decision model is required; screenshots are attached as native | |
| # images for the main agent's own vision capability. | |
| # | |
| # To enable the browser sidecar in Docker Compose, set a non-empty token first, | |
| # then uncomment BROWSER_AGENT_ENABLED=true. The token must be shared between | |
| # the web/telegram app and the browser-sidecar service. | |
| # BROWSER_AGENT_SIDECAR_TOKEN=<set-a-long-random-token> | |
| # BROWSER_AGENT_ENABLED=true | |
| # | |
| # For Docker Compose, the app runs in host-network mode and the sidecar REST | |
| # port is bound to 127.0.0.1, so use the loopback address: | |
| # BROWSER_AGENT_SIDECAR_BASE_URL=http://127.0.0.1:8787 | |
| # | |
| # Maximum concurrent browser sessions at the sidecar (default 8). | |
| # Rejected sessions return a sidecar_at_capacity error advising the agent | |
| # to close an existing session before retrying. | |
| # BROWSER_AGENT_SIDECAR_MAX_SESSIONS=8 | |
| # | |
| # Page interventions (diagnostic_debug sessions only; stealth_clean sessions | |
| # are unaffected — zero stealth impact): | |
| # | |
| # Ad blocking (enabled by default when filter lists are available). | |
| # The sidecar uses CDP Fetch.enable + adblock-rust engine to block ad/tracking | |
| # requests at the network layer. Filter lists are baked into the Docker image | |
| # at /opt/adblock/. To disable ad blocking, uncomment: | |
| # ADBLOCK_ENABLED=false | |
| # ADBLOCK_FILTERS=/opt/adblock/easylist.txt,/opt/adblock/easyprivacy.txt | |
| # | |
| # Cookie consent banner auto-dismiss (enabled by default when rules are | |
| # available). The sidecar injects a stripped Consent-O-Matic engine in an | |
| # isolated world that rejects all consent categories. Rules are baked into the | |
| # Docker image at /opt/consent/. To disable, uncomment: | |
| # CONSENT_AUTO_DISMISS=false | |
| # CONSENT_FILTERS=/opt/consent/rules.json | |
| # Internal hot-context budgets are derived from execution route windows: | |
| # - main agent follows its configured primary route context window | |
| # - sub-agent remains capped separately from the main route | |
| # | |
| # Codex-style compaction warns and compacts by percentage of the active model's | |
| # effective window, with emergency automatic compaction around 85%. | |
| # --- Kokoro TTS (text-to-speech, voice messages) --- | |
| # | |
| # Kokoro TTS server URL. Defaults to http://127.0.0.1:8000 if not set. | |
| # Set to empty string to disable the text_to_speech_en tool entirely. | |
| # KOKORO_TTS_URL=http://127.0.0.1:8000 | |
| # KOKORO_TTS_VOICE=af_heart # af_bella | af_aoede | af_alloy | af_heart (default) | |
| # KOKORO_TTS_FORMAT=ogg # ogg (recommended for Telegram) | mp3 | wav | |
| # KOKORO_TTS_TIMEOUT_SECS=60 | |
| # --- Silero TTS (Russian text-to-speech, voice messages) --- | |
| # | |
| # Silero TTS server URL. Defaults to http://127.0.0.1:8001 if not set. | |
| # Set to empty string to disable the text_to_speech_ru tool entirely. | |
| # SILERO_TTS_URL=http://127.0.0.1:8001 | |
| # SILERO_TTS_SPEAKER=baya # aidar | baya (default) | kseniya | xenia | |
| # SILERO_TTS_FORMAT=ogg # ogg (recommended for Telegram) | wav | |
| # SILERO_TTS_SAMPLE_RATE=48000 # 8000 | 24000 | 48000 (default, best quality) | |
| # SILERO_TTS_TIMEOUT_SECS=60 | |
| # --- Topic Routing & Dynamic Bindings --- | |
| # | |
| # Manager home: the designated forum topic that serves as the control plane for this bot. | |
| # When MANAGER_HOME_CHAT_ID is set: | |
| # - Manager control-plane tools (forum_topic_create, topic_binding_set, etc.) are | |
| # available only in this chat + thread combination. | |
| # - The topic implicitly receives a static route to MANAGER_HOME_AGENT_ID, so the | |
| # bot selects that agent profile without needing a YAML topic_configs entry. | |
| # - MANAGER_HOME_THREAD_ID defaults to 1 (Telegram General topic). | |
| # - MANAGER_HOME_AGENT_ID defaults to "control-plane". | |
| # | |
| # Example: General topic in a Telegram supergroup forum. | |
| # MANAGER_HOME_CHAT_ID=-1001234567890 | |
| # MANAGER_HOME_THREAD_ID=1 | |
| # MANAGER_HOME_AGENT_ID=control-plane | |
| # | |
| # NOTE: Per-topic routing for non-home topics (e.g. support topics) still uses YAML | |
| # topic_configs. The manager home env vars cover only the designated control-plane topic. | |
| # | |
| # telegram: | |
| # topic_configs: | |
| # - chatId: -1001234567890 | |
| # threadId: 42 | |
| # enabled: true | |
| # requireMention: false | |
| # agentId: "support-agent" | |
| # systemPrompt: "You are a helpful support assistant" | |
| # | |
| # Features: | |
| # - Manager Control-Plane: Users listed in TELEGRAM_MANAGER_ALLOWED_USERS can create/edit forum topics, | |
| # manage topic bindings, and access audit logs via manager_* tools. If | |
| # MANAGER_HOME_CHAT_ID is configured, these tools are available only in that home topic. | |
| # - Topic Routing: Bot can be configured to respond only in specific Telegram forum topics, | |
| # with optional mention requirements and custom system prompts per topic. | |
| # - Dynamic Bindings: Runtime bindings allow temporary association of agents with topics | |
| # (e.g., for ad-hoc support threads) that override static configuration and expire after | |
| # a set period or inactivity. | |