Agents vs Gateways
| Aspect | Agent | Gateway |
|---|---|---|
| Purpose | Autonomous task execution | Tool exposure |
| Reasoning | ✓ Complex logic, planning | ✗ Pass-through only |
| Memory | ✓ Conversation history | ✗ Stateless |
| Autonomy | ✓ Makes decisions | ✗ User-driven |
| Channels | ✓ Telegram, Slack, SMS | ✗ MCP protocol only |
| Model | ✓ Own model selection | ✓ Configurable |
Key Features
- System Prompts - Define agent personality and behavior
- Tool Access - Use capabilities, connectors, plugins
- Memory - Remember conversation context
- Model Routing - Smart or specific model selection
- Channels - Telegram, Slack, SMS integration
- Automation - Scheduled and event-triggered runs
Creating an Agent
- Agents > Create Agent
- Enter name and description
- Set system prompt (optional starter provided)
- Choose model routing
- Attach capabilities
- Click Create
Using Agents
Direct Chat
In Console, chat directly with agent. Test and iterate.Channels
Deploy to messaging platforms:- Telegram
- Slack
- SMS
API
Programmatic execution:Automation
Scheduled or event-triggered execution via Automations.Agent Capabilities
Creating an Agent
Step-by-step guide to create agents.
System Prompts
Write effective prompts to guide agent behavior.
Model Routing
Choose models (Smart vs Specific).
Attaching Capabilities
Add tools to agents.
Sub-Agents
Multi-agent delegation and handoffs.
Memory & Context
Conversation memory configuration.
Omni Tool
LLM-based tool discovery.
Common Agent Patterns
Research Agent
- Web Search
- Browser (visual scraping)
- Knowledge Retrieval
- Code Runner (analyze data)
Customer Support
- Knowledge Retrieval (FAQ, docs)
- HTTP Client (lookup customer data)
- Slack channel
- Warm handoff to human
Data Analysis
- Files (read/write)
- Code Runner (Python)
- Knowledge Retrieval (context)
- HTTP Client (fetch data)
Content Creator
- Web Search (research)
- Browser (gather examples)
- Code Runner (process data)
- Slack integration
Agent State
Agents have lifecycle states:- Active - Enabled and running
- Inactive - Disabled, not running
- Archived - Removed from view
Monitoring
Track agent performance:- Agents > Select agent
-
Analytics tab shows:
- Response count
- Average latency
- Token usage
- Error rate
- Activity tab shows recent interactions
Best Practices
System Prompts
- Be specific and clear
- Set expected tone and behavior
- Include guardrails
- Explain constraints
Tool Selection
- Attach only needed tools
- More tools = higher latency
- Organize by use case
- Document each tool
Memory
- Configure appropriate working memory
- Set summary thresholds
- Monitor context window
- Archive old conversations
Channels
- Set appropriate platform
- Configure authorization
- Test before deployment
- Monitor for errors