Skip to content

Overview

What it is

AIRS (the AI-Ready Data Specification) is an open draft format for writing down what an AI agent must know to use a dataset correctly. An agent writes it in a few YAML files next to the data, and a person reviews it. A tool checks the files against the data and shows them to agents, with ids they can cite. Why agents need it: Why, and fourteen kinds of failure from real projects: Common failures.

How it works

Write. oryxkb/project.yaml declares, for each dataset: what one row is (the grain), the type and unit of each column, and which release of each vendor source it reflects (the as-of date). oryxkb/facts.yaml holds the facts: definitions, rules (what to do or never do), quirks (what is odd), recipes for common uses, decisions, findings and open questions, each scoped by about.

Check. A checker compares the file with the data: a declared column that is missing, a unit that is not a unit, a typo in a key. It reports errors and warnings with line numbers. Warnings never block anyone; a strict mode can fail a CI run on errors.

Deliver. A tool renders a short card per dataset (purpose, sources and as-of dates, schema and joins, definitions, coverage, rules, quirks, recipes, findings, open questions, removed columns) and shows it where the agent works. A fact with an id can be cited by an answer. How an agent gets the card and writes the files: Implementations. Then the loop below keeps it current.

How agents and people work together

An agent's accuracy drops when it does not know the team's conventions, a decision settled last month, what another agent already worked out, or a change upstream. These files are the memory that carries that knowledge from one session to the next and from one project to another. Agents keep it; a person is accountable for it.

An agent records. When an agent learns something about the data (a unit, a quirk, a recipe) it writes a fact. When it needs a house rule (a definition, a basis, a join) it proposes a decision.

It applies at once. A new fact is proposed and shown [unreviewed] on the card; a proposed decision is in use, labelled provisional, for every project in its scope (the datasets it names). Both labels mean in use, not yet signed off. The next agent reads both before it answers, says what is not yet signed off, and re-checks it against the data when that is cheap.

A session, start to end. At the start the agent reads the brief (oryxkb news) and the card of each dataset before it uses it. While it works, it writes a fact when it learns something the next agent needs. At the end it runs oryxkb check and commits. With the oryxkb Claude Code plugin the brief and the cards arrive by themselves; without it, the agent runs the commands. The full routine: How an agent uses it.

Other projects' agents hear about it. A project's agent sees only its own files, so agents tell each other. When a published build changes, the producer's tool sends a change notice to every project whose tool has reported the import; each consumer's agent checks the figures it quoted and acks. A consumer's agent that doubts a number or a meaning sends a request to the source instead of guessing. A decision one project's agent proposes is reused by every project in its scope instead of being worked out again. These messages travel through a hub, within one organisation; no hub is public yet (Status). Without one, an agent still writes a house rule as a rule with status: proposed, and a vendor's clients learn of a new release from the release itself.

A person is informed and decides when they choose. Agents discuss a proposed decision and vote; an agent's summary puts it in the review queue of the person accountable for the data, which can be ranked by the impact if wrong. The person settles it, corrects it (accepts it with amendments) or overrides (rejects) it; only a person sets settled or rejected. Facts get the same light touch: a person sets reviewed on what they confirmed.

Settled means cited, not re-derived. A settled decision is cited by id in every answer that uses it. Reopening it takes votes or new evidence, and it stays in force while it is reviewed again.

In every state a fact or decision is usable, with its state shown: warn, never block.

agent writes a fact     -> in use now, [unreviewed]      -> a person reviews (any time)  -> reviewed
agent proposes decision -> in use now, provisional       -> agents discuss, summarize    -> person's queue
person's queue          -> settle / correct / reject     -> settled: cited, not re-derived
settled + votes or new evidence -> revisit (still in force) -> person decides again

The spec fixes the messages' fields; the files carry what they point at (renames, types, decisions as facts, ids). See Communication and Producers and consumers.

A minimal file

version: 1
project:
  name: marketdata-example
datasets:
  Rents:
    purpose: Quarterly asking rent per market and sector.
    grain: [market_id, sector, period_yq]
    columns:
      market_id:
        type: string
        description: market code
      period_yq:
        type: string
        description: calendar quarter, written 2026Q3
      rent:
        type: number
        description: asking rent
        currency: USD
        per: year
      rent_growth:
        type: number
        description: quarter-on-quarter rent growth
        unit: decimal

and oryxkb/facts.yaml, which has no version line:

facts:
- kind: quirk
  statement: market_id codes have leading zeros, such as 04567; read it as text or they are lost
  about: [Rents#market_id]
  as_of: 2026-10-31

The column names with their type and unit are the dataset's schema. A tool fills type from the data when it publishes, for undeclared columns such as sector too (Columns).

Which fields matter most: What to write first. Step by step, with the check: Write your first file. Complete files: Examples.

Who it is for

  • Data vendors and data product teams: your agents ship the files with each release, for the agents of your clients; you are accountable for them. See For data vendors.
  • Teams whose projects import and export datasets: each side's agent stays accurate when the producer changes things. See Producers and consumers.
  • People building or using AI agents for analysis: your agent knows the rules of the data rather than guessing them, and the next session starts from what this one learned. See What an agent sees.
  • People who work with other standards (ODCS, ODPS, Ossie) who want to know what this adds: Related standards and Mappings.

Status

Draft v0.1, one implementation, Apache-2.0. Details: Status.

What the spec covers today, what tooling covers and what is still open: The full picture.