Logo Lanfrica

gabrielmahia/civic-agent-kit

Domain:

digital infrastructure

Record type:

software
Creator:
gab
Host:
Unified SDK for Kenya civic AI agents — NHIF, KRA, NTSA integrations, Swahili locale, MCP-native. 8 tools. # 🛠️ CivicAgentKit — East African Civic AI SDK --- **Compatible with `claude-sonnet-5`** (released 2026-06-30) — Anthropic's most agentic Sonnet yet. Runs multi-step tool chains end-to-end without stopping short. Install: `pip install civic-agent-kit` · Use with any MCP client. --- > The unified Python toolkit for building civic AI tools in East Africa. One install gives you access to Kenya's parliament records, county budgets, NDMA drought data, M-Pesa payments, and both MCP and A2A protocol integrations. ## Install ```bash pip install civic-agent-kit ``` ## What's included ```python from civic_agent_kit import ( # Data loaders — Kenya's public civic datasets KenyaBudgetData, # Controller of Budget — 47 counties KenyaParliamentData, # MPs, bills, CDF — 13th Parliament KenyaSACCOData, # SASRA SACCO registry KenyaDroughtData, # NDMA drought phases # Agents BudgetAgent, # County budget analysis (CrewAI) RightsAgent, # Constitutional rights Q&A (EN/SW) DroughtAgent, # Drought + SMS alert agent # Protocols KenyaMCPServer, # MCP server — wraps all Kenya data as MCP tools KenyaA2AServer, # A2A server — Kenya civic skills for agent-to-agent # Utils KenyaCounties, # All 47 county codes + names KiswahiliTranslator, # Simple civic term translations EN↔SW ) ``` ## Quick examples **Load county budget data:** ```python from civic_agent_kit import KenyaBudgetData budgets = KenyaBudgetData.load() low_absorption = budgets[budgets['absorption_rate'] ## Part of the East Africa coordination stack - **Install & run:** `pip install reli-cli && reli list` — 33 MCP servers on the official MCP Registry under `io.github.gabrielmahia` - **Evaluate any model on Swahili agent tasks:** kipimo · dataset · leaderboard - **Coordinate across servers:** africa-coord-bus — offline-first event bus with a built-in Kenya routing table - **Datasets:** huggingface.co · **Docs hub:** nairobi-stack Model …