Logo Lanfrica

Stanley03-arch/kiswahili-voice-agent-toolkit

Domain:

natural language processing

Record type:

softwaretools
Creator:
Sta
Host:
Open-source toolkit for building voice agents that speak and understand Kiswahili and other African languages. Powered by LLMs + LangChain. # Kiswahili Voice Agent Toolkit 🌍🎀 **Build powerful voice & text agents that speak and understand Kiswahili.** Open-source toolkit for creating real agentic applications for East Africa and beyond. Now with **LangGraph**, **tool calling**, **multi-provider support**, and a beautiful **web demo**. --- ## ✨ What's New (Powerful Mode) - **LangGraph orchestration** β€” proper agent loops with tool calling - **Real tools** out of the box: - Hali ya hewa (weather) β€” any city - Muda wa sasa (current time) - Hesabu (calculator) - **Multi-provider**: Groq (fast & cheap) or OpenAI - **5 specialized agents**: General, Farm Advisor, Customer Support, Education Tutor, Health Info - **Beautiful Gradio web interface** - Clean, production-ready structure ## Quick Start ```bash git clone github.com cd kiswahili-voice-agent-toolkit python -m venv venv source venv/bin/activate # Windows: venv\Scripts\activate pip install -r requirements.txt cp .env.example .env # Add GROQ_API_KEY or OPENAI_API_KEY ``` ### Run the CLI agent ```bash python examples/basic_kiswahili_agent.py ``` ### Run the powerful demo ```bash python examples/powerful_demo.py ``` ### Launch the Web UI ```bash python web/app.py ``` Then open localhost ## Project Structure ``` kiswahili-voice-agent-toolkit/ β”œβ”€β”€ agents/ β”‚ └── base_agent.py # LangGraph-powered agent β”œβ”€β”€ prompts/ β”‚ └── kiswahili_system.py # High-quality role prompts β”œβ”€β”€ tools/ β”‚ └── common_tools.py # Weather, time, calculator... β”œβ”€β”€ examples/ β”‚ β”œβ”€β”€ basic_kiswahili_agent.py β”‚ β”œβ”€β”€ farm_advisor.py β”‚ └── powerful_demo.py β”œβ”€β”€ web/ β”‚ └── app.py # Gradio interface β”œβ”€β”€ requirements.txt └── README.md ``` ## Example Capabilities | Feature | Example Prompt | Result | |---------------------------|-----------------------------------------|--------------------------- …