gateway.yaml against the running config and restarts only affected agents or channels. The WebSocket server keeps running.
Quick Start
Restart Scope
| Changed section | Effect |
|---|---|
agents.* | Recreate agents only — channels keep running |
channels.<name>.* | Restart only that channel |
provider.*, guardrails.* | Recreate agents |
scheduler.*, routes.*, routing.* | Full channel restart |
Entire channels section | Full channel restart |
| Invalid YAML on save | Keep last-known-good config |
Tuning
| Setting | Default | Description |
|---|---|---|
| Poll interval | 5.0s | How often the watcher checks the file |
| Debounce | 1.0s | Wait after last write before applying |
Best Practices
Prefer agent-only edits for prompt tweaks
Prefer agent-only edits for prompt tweaks
Changing
agents.* avoids dropping live Telegram/Discord sessions.Scope channel edits narrowly
Scope channel edits narrowly
Edit one channel block to restart only that platform.
Validate YAML before saving
Validate YAML before saving
Invalid saves are ignored — the previous config keeps running.
Related
Bot Gateway
Gateway server overview
Gateway Channel Supervision
Self-healing channels

