What It Demonstrates
This example shows:- ✅ Multiple toolkits working together
- ✅ Calendar management tools
- ✅ Weather information tools
- ✅ Reminder management tools
- ✅ Note-taking tools
- ✅ Calculator tools
- ✅ Complete AI Voice Agent with multiple capabilities
Prerequisites
- Python 3.8 or higher
- Kuralit SDK installed:
pip install kuralit - API keys:
DEEPGRAM_API_KEY- Deepgram STT API keyGEMINI_API_KEY- Google Gemini LLM API keyKURALIT_API_KEY- Server API key (defaults to “demo-api-key”)
Features
Your AI Voice Agent can:- 📅 Calendar - Add, list, and delete events
- 🌤️ Weather - Get current weather and forecasts
- ⏰ Reminders - Create, list, and complete reminders
- 📝 Notes - Create, list, and search notes
- 🔢 Calculator - Perform mathematical calculations
Step-by-Step Explanation
Step 1: Define Tool Functions
Create functions for each capability:Step 2: Create Multiple Toolkits
Group related tools into toolkits:Step 3: Combine All Toolkits
Full Code Structure
The example includes:- In-memory storage - For demo data (calendar events, reminders, notes)
- Calendar tools - Add, list, delete events
- Weather tools - Current weather and forecasts
- Reminder tools - Create, list, complete reminders
- Note tools - Create, list, search notes
- Calculator tools - Mathematical calculations
- AgentSession - Combines all toolkits
- Server setup - WebSocket server with all capabilities
How to Run
Expected Output
Example Interactions
- “Add a meeting tomorrow at 2pm” → Uses
add_eventtool - “What’s the weather in San Francisco?” → Uses
get_weathertool - “Remind me to call John at 5pm” → Uses
create_remindertool - “Create a note about the project ideas” → Uses
create_notetool - “What reminders do I have?” → Uses
list_reminderstool - “What’s 15 times 23?” → Uses
calculatetool
Key Concepts
Multiple Toolkits
This example demonstrates combining multiple toolkits:Toolkit Instructions
Each toolkit has instructions to help the agent understand when to use it:In-Memory Storage
This demo uses in-memory storage. In production, you would:- Connect to a database
- Use external APIs
- Integrate with existing services
Next Steps
- Customer Support → - Real-world use case example
- Tools → - Learn about tools and toolkits
- Agents → - Building AI Voice Agents
Related
- Tools → - Complete tools documentation
- Simple Tools → - Basic tools example
- Toolkit API → - Toolkit reference

