Skip to content
Niyam

Trust and limits

An agent you can trust to run without watching, and when it will not act alone

Wrongly removing someone from a welfare scheme causes real harm. Niyam is built to be fast for simple changes and careful for everything else.

When Niyam acts alone

Two AI agents work on every change: one reads the government order and proposes the rule change; the other, which never sees that proposal, checks it against the law by testing imaginary people. Every rule change is first written as a proposal. Applying it to the official rulebook is called merging . Confidence is Niyam's own score from 0 to 1 for how sure it is that the change matches the law.

  • Apply the change by itself

    Only a number or a date changes, nobody loses eligibility, every quote is found in the order, every independent test agrees, and confidence is 0.90 or more.

  • Ask a person to review first

    A condition is added, removed or reworded, a sentence could be read two ways, or confidence is from 0.70 up to (not including) 0.90.

  • Stop and ask a question

    The two agents still disagree, confidence is below 0.70, or the run reaches its cost limit.

Hard rules on top: a change that removes people from a scheme always goes to a human. Uploaded documents run on a test copy and are never merged.

So far, on real government orders: all 4 change requests went to a person first. 3 were merged after review (#2, #3, #4) and 1 was replaced by a better version. The real 2023 order that only raised payments was cleared to apply by itself in 2 of 4 runs; the other 2 asked a person first, which is the safe direction. A labelled test order that only added people was cleared in 4 of 4 runs.

What Niyam never does

  • Decide anyone's application. The government department decides.
  • Ask for or store names, Aadhaar numbers, phone numbers or addresses.
  • Get around a CAPTCHA or a login on a government website.
  • Obey instructions hidden inside a document . The coding agent only ever sees a checked list of changes, never the raw document. We tested this with a hidden instruction to raise the income limit: Niyam ignored it and changed nothing (the test document, the result).
  • Edit or delete history. Old values stay, so the rules on any past date can be checked.

Your data

  • The eligibility checker on this site runs in your browser. Nothing is sent.
  • The API rejects values that look like ID or phone numbers, and stores only request counts.
  • Uploaded documents are processed on a test copy and should not contain personal information.
  • API keys are stored only in a scrambled form (a hash) that cannot be turned back into the key.
  • No cookies, no tracking.

Found a wrong rule?

Every rule shows its source, so you can check it against the law yourself. To report a mistake, fill in this short form on GitHub (a free GitHub account is needed): write the scheme, the rule, and what the government order says.

Disclaimer

Niyam is an independent project built at neatHack 2026. It is not an official government service. Information only; the government department makes the final decision.