Quick Comparison
When to Use Bot
Team Communication
Deploy to Slack/Discord for team assistants
Customer Support
Telegram bots for customer interactions
Personal Assistant
Single-user conversational AI
Quick Deployment
One command to production
When to Use Gateway
Web Applications
Custom chat interfaces and dashboards
Multi-Agent Systems
Coordinate multiple specialized agents
Real-time Dashboards
Live updates and streaming responses
Custom Protocols
Full control over communication
Architecture Deep Dive
- Bot Architecture
- Gateway Architecture
Key Points:
- Platform handles user authentication
- Bot receives messages via webhook or polling
- Multi-agent routing per bot (dm → agent A, group → agent B)
- Platform-specific features (reactions, threads, etc.)
Feature Comparison
Capabilities Support
Deployment
Code Examples
- Bot (Telegram)
- Gateway (WebSocket)
Migration Guide
Bot to Gateway
Moving from bot to gateway for more control:1
Extract Agent Configuration
2
Start Gateway
3
Connect Your Client
Decision Tree
Related
Bot CLI
Full bot CLI reference
Gateway Feature
Gateway configuration guide
Multi-Agent
Multi-agent coordination
Serve CLI
All serve commands

