Code
multi_bot.py
Usage
Configure Slack Apps
Create two Slack apps in your workspace. Set their Event Subscription URLs to different prefixes on the same server:
- Ace:
https://<your-tunnel>/ace/events - Dash:
https://<your-tunnel>/slack/events
Key Features
- Multiple Bots, One Server: Two Slack apps served from a single AgentOS instance using different URL prefixes
- Per-Bot Credentials: Each Slack interface uses its own token and signing secret via environment variables
- Session Isolation: Both bots share a SQLite database but maintain separate sessions per agent ID
- Streaming Responses: Both bots stream their responses in real time