Skip to main content
A multi-agent team that routes support questions to the right specialist. Technical Support handles code and API questions; Documentation Specialist searches Slack history and the web for existing answers.
support_team.py

Run the Example

1

Set up your virtual environment

2

Install dependencies

3

Export environment variables

4

Configure Slack

Complete Slack setup: create the app, expose the local server through public HTTPS, and set the event request URL to <public-url>/slack/events. Add search:read under User Token Scopes, reinstall the app, and export its xoxp- User OAuth Token as SLACK_USER_TOKEN.
5

Run the example

Save the code above as support_team.py, then run:
Full source: cookbook/05_agent_os/interfaces/slack/support_team.py