When a farmer asks a complex question like "Should I switch from maize to sorghum given the changing rainfall patterns in Makueni?", a single AI response may not be sufficient. The question has agronomic, economic, climatic, and risk dimensions that no single perspective can fully address. This is why KilimoPRO implements a Multi-LLM Council.

The Five Personas

  • Dr. Wanjiku (Agronomist): 20 years of experience in Kenyan agriculture. Specializes in soil health, crop science, and yield optimization. Recommendations based on KALRO research and FAO guidelines.
  • James Mwangi (Agricultural Economist): Specializes in East African markets. Analyzes input costs, market prices, ROI calculations, and risk management. Thinks in terms of cost-benefit analysis.
  • Dr. Achieng (Climate Scientist): Specializes in East African climate patterns and their impact on agriculture. Understands El Niño/La Niña cycles, CHIRPS rainfall data, and climate change projections for Kenya.
  • Peter Kamau (Extension Officer): 15 years of field experience in rural Kenya. Knows what farmers can actually implement with limited resources. Focuses on practical, step-by-step recommendations.
  • Sarah Otieno (Risk Manager): Specializes in agricultural risk management. Thinks about worst-case scenarios, crop insurance, diversification strategies, and climate resilience.

How It Works

Each persona receives the farmer's question along with their farm context (location, crops, soil type, weather, market data). Each persona analyzes the question from their professional perspective and provides: an analysis, a specific recommendation, and a confidence score (0-100%). The system uses GLM-4.6 as the underlying LLM, with different system prompts for each persona.

Synthesis

After all five personas have provided their analysis, a synthesis engine (also powered by GLM-4.6) combines them into: a concise summary of agreement and disagreement, a single unified recommendation, and a consensus assessment (strong/moderate/divided). The synthesis is where the magic happens — it identifies the common threads across all perspectives and resolves conflicts.

Inspiration

This approach was inspired by the council-of-high-intelligence project on GitHub, which uses 18 AI personas (Aristotle, Feynman, Kahneman, Torvalds, etc.) to deliberate on complex decisions. I adapted the concept for agriculture, replacing philosophers with domain experts that a Kenyan farmer would actually trust.

← Back to Blog