This example is a customer service bot which includes a user interface agent and a help center agent with several tools.
This example uses the helper function run_demo_loop
, which allows us to create an interactive Swarm session.
In this example, we enhance Swarm with DBOS to be durable, using durable_swarm.py
as a drop-in replacement for Swarm
.
The support bot consists of two main agents:
- User Interface Agent: Handles initial user interactions and directs them to the help center agent based on their needs.
- Help Center Agent: Provides detailed help and support using various tools and integrated with a Qdrant VectorDB for documentation retrieval.
To start the support bot:
- Ensure Docker is installed and running on your system.
- Install the necessary additional libraries:
make install
- Initialize docker
docker-compose up -d
- Prepare the vector DB:
make prep
- Run the main scripy:
make run