Agent Gateway Documentation
This documentation covers installation, usage, reference, and design for Agent Gateway. Chinese is the authoritative source; the English structure mirrors it.
Coverage
- Tutorial: step-by-step first run for new users.
- How-to: task-oriented guides such as local validation, channel configuration, and multiple instances.
- Reference: CLI options, environment variables, configuration keys, and protocol fields.
- Explanation: the gateway's role, data flow, modules, and design decisions.
Tutorial
| Document |
Description |
| 01-quick-start |
Run the gateway locally with a mock AgentServer and complete a chat.send round trip |
How-to
| Document |
Description |
| AG-UI integration guide (Chinese) |
Gateway setup, sessions, and application tools |
| local-validation |
Full local validation steps, expected output, and troubleshooting |
| configure-channels |
Configure Feishu, DingTalk, WeCom, Telegram, Discord, Slack, and other IM channels |
| run-multiple-instances |
Run multiple isolated Gateway + AgentServer instances on one host |
Reference
| Document |
Description |
| cli-and-environment |
CLI options, environment variables, config file, runtime directories, and exit behavior |
| logging |
Log files, level configuration, and the hot-path logging contract |
| e2a-protocol |
E2A request/response protocol between the gateway and AgentServer |
Explanation
| Document |
Description |
| architecture |
Gateway role, data flow, modules, startup sequence, and key design decisions |
| authentication |
Authentication and authorization: login sessions, the model-credential chain, channel access auth, and security boundaries |
Chinese documentation
Other resources
Navigation