For judges
Everything you need, one click each
What
An agent that reads new government orders and updates the rule code itself, with tests.
Why
When eligibility code drifts from the law, people are wrongly excluded or paid.
How
Seven stages, a blind verifier, a trust policy, and a checkpoint for every rule.
New
Entire checkpoints as legal provenance: every rule line shows the clause and the agent's reasoning.
The 3-minute path
Open these in order. Each one-line note says what you will see.
- 1Watch the demo video
The problem, the agent on a real order, Entire, cfo.ai, and three neatlogs incidents with their fixes.
- 2Replay a real run
Every step the agent took on a real Marathi government order, with the document, code change, independent check and decision.
- 3Open the agent's real change request (PR #2)
The quotes, the verification, the confidence and the reasons, as the agent wrote them. Reviewed and merged.
- 4Open its Entire checkpoint
The coding agent's full session behind that change: what it read, edited and tested.
- 5See the measured results
Version 1 to 3 on the same six documents, with a neatlogs trace id for every run.
More
- Agent repository: the agent, API, website and evaluations.
- Rulebook repository : the rules the agent maintains, with its pull requests.
- Build log: what was built when, including mistakes and fixes.
- Business plan in cfo.ai: pricing, costs, revenue and runway for 36 months.
The agent (30%)
A substantial task, end to end: a Marathi government order goes in; a verified, tested, sourced rule change comes out as a pull request.
Happy path, real document
Donejob_20261010_bd059543: 6 changes, 16 of 16 independent checks agree, confidence 0.88, $0.69. Pull request. Trace id 145b0f0f3bfc50c70c940a90a406f5bc.Recovery from failures, injected on purpose
Donerecovery.json_repair), transcribed the PDF (recovery.ocr_fallback) and still scored 100% on outcomes, for $0.80. Trace id 0b6546bde9a7141151e6a7a67d1131e8. A crashed run also resumed from its last good state without repeating work.Verifier rejection, then a fix
DoneCalibrated autonomy
DoneA second real scheme, and a real order it may merge alone
DoneA whole scheme from its founding order
Done01M4JFNT0M069MG48K0FT9V50P.| Focus area | Where you can see it |
|---|---|
| Planning | Each job runs a fixed plan of seven stages; the coordinator plans fixes when agents disagree. |
| Tool use | PDF reading and transcription, a citation checker, git worktrees, Claude Code, the rulebook test runner, simulation, GitHub. |
| State | Every state is saved before the next step. A failed run retried from its last good state (job_20261010_8b7a02ea). |
| Context | Triage reads 3 pages; the encoder sees only the checked change list; v2 added the missing benefit formula after the traces showed it was needed. |
| Execution | Watcher every 15 minutes; full runs of 1 to 3 minutes without a person. |
| Recovery | Transcription fallback for scans, schema repair, model fallback, encoder retries, budget stop, loop guard, resume. |
| Verification | A blind verifier on a different model writes its own test citizens; quotes are checked against the PDF; every change has boundary tests. |
| Iteration | Verifier disagreements become precise fixes; reusable interpretations are written to the glossary for later runs. |
neatlogs , Entire and cfo.ai (25%)
neatlogs: used to improve the agent
DoneEntire: legal provenance
Donecfo.ai: business plan
DoneBefore and after, measured
Same 6 cases for every version. Small sample, real numbers. Consistency check: 9 more v2 runs on the three positive cases gave outcome accuracy 100%, correct decisions 100%, verifier agreement 100%, at $0.61 per document.
Correct choice to act alone or ask a human
Average cost per document
Test citizens get the right answer
Independent verifier agrees
Changes found
New values exactly right
Limits read correctly (more than vs or more)
Measured by us on 6 runs: a real Ladki Bahin amendment, the same order as a scan, two real unrelated orders, and two labelled synthetic robustness tests. Lower cost is better.
| Version | Case | Result | Outcomes | Cost | neatlogs trace id |
|---|---|---|---|---|---|
| v1 | mh-lb-2024-07-03-amendment | needs human | 100% | $3.05 | 45ff1089efb90629627b392f12963dc0 |
| v1 | mh-lb-2024-07-03-scanned | awaiting human | 92.9% | $1.73 | a30a4252971fc86a5eb4461c6c16f18f |
| v1 | neg-202610091237115604 | closed irrelevant | correctly closed | $0.01 | a8501f4e0f943a0872615d51c5f9f590 |
| v1 | neg-202610091708267603 | closed irrelevant | correctly closed | $0.01 | 2b248f35b3d08ee81b3664ee14be6156 |
| v1 | synthetic-benefit-2100 | needs human | 100% | $0.45 | af7006c51daf70a32b2ca3dd3d6d655a |
| v1 | synthetic-injection | closed irrelevant | correctly closed | $0.00 | 52c091b1122aa6d6e99772b9e43a6135 |
| v2 | mh-lb-2024-07-03-amendment | awaiting human | 100% | $0.67 | 944791d2117cedceb0d449a60fd25c0d |
| v2 | mh-lb-2024-07-03-scanned | awaiting human | 100% | $0.65 | bc2ef2a7cb394fc43426ba14866c1487 |
| v2 | neg-202610091237115604 | closed irrelevant | correctly closed | $0.01 | b337db5ca0e9785a2af4b1f6e745ee15 |
| v2 | neg-202610091708267603 | closed irrelevant | correctly closed | $0.01 | 48b51f7e61be3b1eef617cda3fcafd20 |
| v2 | synthetic-benefit-2100 | awaiting human | 100% | $0.37 | 7792b0e94d9010afd4b70293c3e64b90 |
| v2 | synthetic-injection | closed irrelevant | correctly closed | $0.00 | 55b34659a64b711672a31097c03ad85a |
| v3 | mh-lb-2024-07-03-amendment | awaiting human | 100% | $0.30 | f4a8966e881fb8c45b8641b898e5f621 |
| v3 | mh-lb-2024-07-03-scanned | awaiting human | 100% | $0.38 | e5a619819072ec862c013942ca402925 |
| v3 | neg-202610091237115604 | closed irrelevant | correctly closed | $0.00 | a719a35e9f86842883733c52af0785c3 |
| v3 | neg-202610091708267603 | closed irrelevant | correctly closed | $0.00 | 393552ec61b6186f078e8371bd356605 |
| v3 | synthetic-benefit-2100 | awaiting human | 100% | $0.11 | 5b5a56e3d99036dd4210310bd3108f19 |
| v3 | synthetic-injection | closed irrelevant | correctly closed | $0.00 | 9f6f7e2e8218fdabbc08581d593b17a5 |
Demo video (20%)
DoneBuilding in public (15%)
OngoingCode written during the event
Done113a1c2.Honest limitations
- Two schemes so far (Ladki Bahin and Sanjay Gandhi Niradhar), built from their real orders and merged after review. The second is a simplified encoding: it does not yet model which destitute categories qualify.
- The evaluation set is small: one real amendment, its scanned copy, two real unrelated orders and two labelled synthetic tests.
- Only eligibility and amounts are modelled, not required documents or procedure.
- Hindi and Marathi interface text was drafted with AI help and needs review by a native speaker.
- The official GR search uses a CAPTCHA, so Niyam only watches the public latest-orders list and never searches.