KKissan Ki Pehchan
AI and Knowledge

Reasoning Agent Design

The primary analyst: hypotheses, questions, tools, research, synthesis and stopping behavior.

BlueprintVersion 0.25 Aug 2026

Role

The reasoning agent receives validated transcript, media observations, farmer answers, field context and evidence. It uses broad internal agricultural knowledge as a prior and produces a structured differential analysis plus the next action.

It does not need retrieval for every stable explanatory fact. It must distinguish internal knowledge from verified evidence.

Cycle

Observe → frame case → generate hypotheses → identify uncertainty
→ choose next action → execute question/tool/retrieval/research
→ update evidence ledger → challenge leading hypothesis
→ decide sufficiency → respond or continue

Required output

{
  "hypotheses": [
    {
      "condition_code": "…",
      "supporting_evidence_ids": ["E-1"],
      "contradicting_evidence_ids": ["E-7"],
      "confidence": 0.74
    }
  ],
  "missing_variables": ["field_distribution"],
  "next_action": {
    "type": "ASK_FOLLOWUP",
    "reason": "Distinguishes disease from herbicide injury",
    "expected_information_gain": "high"
  },
  "evidence_sufficient": false,
  "risk_class": "medium"
}

Tools

Local hierarchical search, field history, weather, soil/terrain, image quality/frame extraction, controlled web research, exact policy verification, arithmetic/unit conversion and human escalation.

Prohibitions

The agent cannot invent evidence IDs, label external material as locally approved, calculate regulated doses without the policy tool, expose unauthorized records, modify rules or declare an outbreak.

Self-challenge

Before finalizing:

  1. What supports the leading hypothesis?
  2. What plausible alternative remains?
  3. Which claims rely only on memory?
  4. Could freshness/geography change them?
  5. What is the harm if wrong?
  6. Would another cheap observation change the action?

Context discipline

A huge context window is a capability, not a reason to dump the corpus. Supply a compact case file, useful summaries, decisive passages and requested source expansions.