Publish high-volume public rules as versioned, testable, machine-readable infrastructure so people, small businesses, agencies, auditors, and authorized agents can check eligibility, deadlines, permits, taxes, and compliance without guessing.
Verification Status
AI-researched, unverifiedLast Reviewed
Jul 6, 2026
Cited Sources
8
Implementation, sequencing, safeguards, tradeoffs, and the practical path from principle to policy.
Public law is not only what appears in the U.S. Code, the Code of Federal Regulations, or the Federal Register. It also appears in eligibility engines, benefit notices, tax forms, grant portals, procurement clauses, permit checklists, call-center scripts, compliance manuals, health payer systems, spreadsheet formulas, and vendor-built case-management tools. Those systems decide what evidence is requested, what deadline is shown, what denial reason is generated, and what path remains open to appeal.
When that operational layer is hidden, rights become hard to exercise. A person can read a program page and still not know why the portal rejected them. A small business can read a rule and still not know which facts trigger which obligation. A local government can receive a grant notice and still not know whether a project qualifies without calling a consultant. A civic tool can help only by copying text from pages and hoping the rule did not change.
Law as an API makes the operational layer public enough to test. The point is not to pretend law is simple. The point is to separate what can be expressed as a rule from what still needs judgment, evidence, discretion, or appeal. That distinction is already being made inside government software. It should be inspectable.
The United States does not have to start from zero. eCFR has an API for retrieving structured current regulatory text. FederalRegister.gov has developer resources and an API for Federal Register documents. Regulations.gov exposes API access for rulemaking dockets, comments, and documents. Performance.gov and OMB customer-experience policy push agencies toward measuring service delivery. GSA's 10x portfolio has explored benefits eligibility infrastructure.
Those are useful pieces, but they are not the same as an operational rule layer. A developer can retrieve regulatory text and still not know which facts decide eligibility. A person can read a notice of proposed rulemaking and still not know what changed in the benefit calculator. A benefits navigator can understand a program and still lack an official test suite that proves how the rule applies to common cases.
The Innovation Party should connect the pieces. Law text, rulemaking dockets, program pages, forms, service metrics, eligibility engines, and appeal systems should be linked through public identifiers, version history, data dictionaries, and testable logic.
The platform should be careful with the phrase "rules as code." Code can execute a rule, but it should not quietly become the rule. The enacted statute and regulation remain legally authoritative unless Congress or the agency lawfully changes that hierarchy. A machine-readable rule package is an official implementation, not a private replacement for law.
That hierarchy should be visible in the package itself:
That structure protects the public from two bad outcomes. It prevents agencies from hiding behind "the system" when a person deserves reasons and review. It also prevents private tools from pretending their interpretation is the law when it is only an approximation.
The first phase should focus on rules that impose repeated burden and have enough structure to be tested:
The standard should not begin with the hardest discretionary cases. It should begin where agencies already use structured rules internally and where the public pays the highest cost for uncertainty.
A rule package without tests is just another artifact. Each covered rule should include synthetic cases that show expected outcomes. A benefits rule might include a household with seasonal income, a household with a disability determination, a student, a caregiver, a mixed income month, and an edge case requiring manual review. A permitting rule might include project types, parcel constraints, environmental triggers, missing documents, and deadline paths. A tax-credit rule might include common and borderline taxpayer profiles.
Tests make drift visible. If an agency portal rejects a case the official test suite says should pass, the discrepancy can be challenged. If a private compliance tool gives a different answer, users can see the mismatch. If the rule changes, the public diff shows what changed and when.
This also improves AI adoption. An agent asked to help a person with benefits, taxes, or permits should not invent the rule from prose. It should call the official rule package, show the assumptions, and warn when the case falls outside the testable zone.
If government publishes a calculator and tells people to rely on it, that reliance should matter. A small business that gives accurate facts to an official compliance simulator and follows the result should not be treated like someone who ignored the law. A person who uses an official benefits eligibility tool should have the answer attached to the case record.
The safe harbor should be bounded. It should not protect fraud, omitted facts, bad-faith use, or claims that the tool clearly warned it could not decide. It should not override statutory limits where the agency lacks authority. But where law permits, reliance should mitigate penalties, support waiver, preserve appeal rights, or require the agency to explain why the official tool's output was wrong.
Without a reliance rule, Law as an API risks becoming advice with no accountability. With a bounded reliance rule, it becomes public infrastructure people can use.
Machine-readable law should not become a surveillance system. Agencies should publish rules, schemas, examples, and test harnesses without requiring people to centralize raw personal data. When a person uses a calculator, tool, or agent, data minimization, purpose limits, consent, logging, and deletion rules should apply.
Due process is just as important. If a machine-readable rule contributes to a denial, hold, flag, or penalty, the affected person should receive the rule path and factual inputs. The notice should identify what can be corrected, what evidence is missing, what deadline applies, and how to reach a human decision-maker. Automated rule systems should reduce confusion, not make denial faster and more opaque.
Law as an API is not a niche software idea. It is a governing doctrine for an innovation economy. The country cannot build housing, connect energy, deliver benefits, run grants, modernize health care, or help small firms comply if every rule is a bespoke maze.
A public rule layer would let more people build useful tools: citizen agents, benefit navigators, tax software, legal-aid screeners, compliance assistants, permit trackers, auditors, journalists, researchers, and agency teams themselves. It would also make the law less arbitrary. When a rule can be tested, errors surface. When errors surface, agencies can fix them. When people can see the path, they can challenge the decision.
The public should not need a lobbyist, a lawyer, a consultant, and three free weekdays to learn what the government requires. The rulebook belongs to the people. It should be readable by people and usable by the tools people authorize.
Turn frustration into useful pressure.
If this position misses evidence or a lived consequence, challenge it. If it holds up, help test it locally and connect it to the issues around it.