An advanced tour management system using multiple specialized agents to handle availability queries, cancellations, and reviews through a conversational interface.
- 🤖 Specialized multi-agent system
- 📅 Availability and booking management
- ❌ Cancellation processing
- ⭐ Reviews and feedback system
- 🔄 Automatic request triage
swarm/
├── configs/
│ ├── agents/
│ │ └── types.py # Specialized agent definitions
│ ├── data/
│ │ └── context_variables.py # Context variables
│ ├── tools/
│ │ ├── tools.py # Core tools and functions
│ │ └── switchers.py # Agent switching functions
│ └── prompts.py # Agent instructions
└── main.py # Application entry point
Agent | Function |
---|---|
Triage | Evaluates and routes requests to appropriate agent |
Availability | Handles calendar queries and bookings |
Cancellation | Processes cancellation requests |
Reviews | Manages feedback and ratings |
- Date availability verification
- Available time slots querying
- Calendar information
- Operating hours
- Booking process
- Request processing
- Cancellation policies
- Refund handling
- Reason documentation
- Review submissions
- Feedback management
- Rating system
- Opinion collection
- Clone repository
- Install Swarm package:
pip install git+https://github.com/openai/swarm.git
- Install other dependencies
- Configure environment variables (.env)
- Run
python main.py
The system uses two types of context:
- Customer Context: User-specific information
- General Context: System-wide information
- Availability checking
- Schedule querying
- Calendar management
- Tour booking
- Agent switching system
- Fork the repository
- Create feature branch (
git checkout -b feature/NewFeature
) - Commit changes (
git commit -m 'Add new feature'
) - Push to branch (
git push origin feature/NewFeature
) - Create Pull Request
MIT
For more information or inquiries, please open an issue in the repository.