Some Living AI documentation for OpenAgriNet (OAN): what each bot currently does, how it's architected, and what's being planned or discussed next. Two kinds of file live here:
*_understanding.md(repo root) — current-state, code-grounded architecture docs. Treat these as a snapshot, not a guarantee — re-verify against the actual repo before relying on a specific detail for something high-stakes.future_work/<topic>/— planned or in-discussion work. Each has its own README; some are settled specs, some are open discussions with no decisions made yet — check each one's own status note rather than assuming either.
| Bot | Backend repo(s) | Understanding doc |
|---|---|---|
| BharatVistaar ("OAN," the flagship advisory bot) | bharat-oan-api |
Bh_understanding.md |
| mahaVistaar (Maharashtra-specific variant) | mh-oan-api |
Mh_understanding.md |
| Amul (voice + text, dairy-sector variant) | voice-oan-api + amul-oan-api |
Amul_understanding.md |
Evaluation (model selection, language readiness, and current pipelines across all
three bots) is documented once, centrally: Evaluation_understanding.md.
Evaluation_understanding.md covers the full picture:
how a model gets selected (inference fit → benchmarks → LLM-as-judge pipeline), how a
new language is declared ready (the PT-team/State-team workflow), the current combined
metrics rubric, and each system's actual implementation today —
oan-evaluation's text pipeline (4 dimensions / 18 sub-dimensions, code-enforced
pass/fail gates) and amul_evals' looser voice setup (execution scripts + a
judge-report scoring layer, not yet a code-enforced schema).
future_work/common_evals/— the in-progress unification of both into one shared, YAML-configured rubric usable across projects (Amul, mahaVistaar, and beyond).future_work/human_evals_alignment/— the actual human eval results (blind, two-round + QC process) and the planned DSPy-based calibration of the automated judge against them.
Not documented in depth here yet — pointers only:
| Repo | What it is |
|---|---|
docs-pipeline |
Document ingestion: normalizes source files, supports human review/correction, chunks and publishes into the vector index the bots query against. No understanding doc here yet — worth adding. |
bharat-provider-backend (in network_network/) |
BharatVistaar's Beckn Provider Platform (BPP) — schemes/mandi/weather/services data source, NestJS. |
mh-vistaar-provider-backend |
mahaVistaar's BPP — separate org (MH-Vistaar), source not accessible from here. |
langfuse_mcp (remote: LLM_eval) |
LLM-as-judge scoring pipeline over Langfuse traces, plus a natural-language query UI over the same telemetry. |
| Topic | Status |
|---|---|
future_work/memory/ |
Exploratory, no decisions made — a review of memory concepts/industry patterns/mahaVistaar's current state |
future_work/model_routing_fallback/ |
Risk flagged on an in-flight fix — how to cleanly route and fallback to LLM models |
future_work/language_mixing/ |
Implemented and verified, not yet merged — how to make sure output Indic languages dont mix |
future_work/language_expansion/ |
Spec — readiness evaluation for adding a new language + LLM, human-scored, 800-sample fixed dataset design. Includes a diversity sampler sub-spec. |
future_work/scheme_input/ |
Spec — PDF → structured, searchable scheme records pipeline. |
future_work/synth_data_personas/ |
Spec — synthetic farmer persona generation, building on synth-data-bharat-oan-api's existing profile sampling. |
future_work/common_evals/ |
Spec — unifying Amul + OAN evaluation into one YAML-configured, cross-project rubric. |
future_work/human_evals_alignment/ |
Human eval results in hand (blind, two rounds + QC) — planned next step is DSPy-based automated calibration of the LLM-judge pipeline against them. |
future_work/scheme_sync/ |
Proposed — replace "paste the full scheme list into every prompt" with a queryable, network-wide tool-search service, generalizing beyond schemes to every tool category. |