What an agent sees¶
Agents usually read a card, not the raw files. A tool turns the files into a short card per dataset and shows the card where the agent works: in the result of a tool call, or in a brief at the start of a session. This page shows what a card looks like, so a person reviewing the files knows what the agent will read. The card is how one agent's work reaches the next agent (how agents and people work together).
How the card reaches the agent. With the oryxkb Claude Code plugin it arrives by itself: a brief at session start, then
the card when code or a command names another project's dataset. Without it, the agent runs
oryxkb card <project>/<Dataset> before it uses a dataset. The session routine and the commands:
How an agent uses it.
Illustrative
This card follows the line formats of the first implementation. The card's exact shape is
not in the spec yet; other tools may render it differently. Every sample on this page is the output of
oryxkb, run on the files in A pipeline-built project with a tiny
synthetic pipeline behind them (six markets, three sectors), so the generated lines are real. The data and every
count are synthetic.
The card¶
There is one card per dataset. A project overview (EXPORTS.md) lists the datasets and the project-wide facts. The
card for Rents, as oryxkb writes it:
## Rents
Quarterly asking rent per market and sector. (D)
```python
src = oryxflow.FlowImport('marketdata-example') # or FlowImport(path='<path to marketdata-example>')
@oryxflow.requires(src.Rents)
```
Build (G): prod, built 2026-11-19T08:23:20Z, git ea58889, params `{"asof": "2026-09-30"}`.
Change (G): marketdata-example/Rents unchanged vs build 2026-11-19T08:23:07Z.
Location (G): data/Rents/Rents_2026_09_30_57ad73613e-data.parquet.
**Sources** (D; as-of values G)
- vendor_a: Quarterly rent file from vendor A; as-of: 2026-09-30 (quarterly, ~20 days after period end)
- vendor_b: Annual vacancy survey from vendor B; as-of: 2026-06-30 (annual)
**Schema**
Grain (D): one row per market_id x sector x period_yq.
(type, nulls, distinct: G; unit, description, facts: D)
| column | type | nulls | distinct | unit | description | facts |
|---|---|---|---|---|---|---|
| `market_id` | string | 0 | 6 | | market code | critical quirk: market_id codes have leading zeros, such as 04567; read it as text or they are... (+1 more) |
| `sector` | string | 0 | 3 | | property sector | important quirk: office includes flex space in the 2026Q2 release and later: compare office... (+1 more) |
| `period_yq` | string | 0 | 67 | | calendar quarter | |
| `rent` | number | 0 | | USD, per year, per [sft_i], sources: vendor_a | asking rent (vendor: AskRent) | important rule: do not fill missing rent with zero (+1 more) |
| `rent_growth` | number | 18 | | decimal, per quarter, sources: vendor_a | quarter-on-quarter rent growth | important recipe: use rent_growth within one sector; never across sectors, whose lease lengths... (+1 more) |
| `vacancy` | number | 0 | | % (percent), sources: vendor_b | vacancy rate | |
**Joins** (D)
- Rents.market_id -> Markets.market_id (many to one): Markets has one row per market_id, so the join does not repeat Rents rows
**Definitions**
- rent_growth is the change in asking rent against the previous quarter, as a decimal (Rents#rent_growth; as of 2026-10-31; id rent-growth-definition) [unreviewed]
**Coverage**
Rows (G): 1,057.
Entities (G): 6 market_id.
Coverage (G): period_yq 2010Q1..2026Q3; 18 series by market_id x sector; 18 reach the latest period; 2 have gaps.
By sector (G): Seniors Housing 2014Q1..2026Q3, 306 rows, 6 market_id; industrial 2012Q1..2026Q3, 353 rows, 6 market_id; office 2010Q1..2026Q3, 398 rows, 6 market_id.
**Rules**
- **important** do not fill missing rent with zero (Rents#rent; as of 2026-10-31) [unreviewed] (checked)
- **important** state the quarter and the as-of date next to every rent figure (Rents#rent; as of 2026-10-31) [unreviewed] (advice)
- **important** use the 2026-11-02 re-sent 2026Q3 file, not the original (Rents; added 2026-11-19; id use-resent-q3) (advice) see: h-3f9a2c
**Quirks**
- **critical** market_id codes have leading zeros, such as 04567; read it as text or they are lost (Rents#market_id, Markets#market_id; as of 2026-10-31; id market-id-text) [unreviewed]
- **critical** market names are spelled two ways in some releases; join on market_id, never on market names (Rents#market_id, Markets#market_id; as of 2026-10-31) [unreviewed] (+detail) see: docs/data-notes.md#joining-markets
- **important** office includes flex space in the 2026Q2 release and later: compare office within one side of 2026Q2 only (Rents#sector; 2026Q2 onward; as of 2026-10-31; id office-incl-flex) (+detail) see: docs/data-notes.md#flex-space
- [sector=Seniors Housing] **important** Seniors Housing rows start in 2014; its growth rates are not comparable with earlier sectors (Rents?sector=Seniors Housing; added 2026-11-19) [unreviewed]
- +2 more (2 useful): oryxkb facts Rents
**How to**
- when comparing markets: **important** use rent_growth within one sector; never across sectors, whose lease lengths differ (Rents#rent_growth, Rents#sector; as of 2026-10-31) [unreviewed]
**Findings**
- +1 more (1 useful): oryxkb facts Rents
**Open questions**
- **important** [open] how to treat 2020-2021 is undecided (Rents; added 2026-11-19; id covid-window) [unreviewed]. Options: exclude 2020-2021 | keep all quarters
**Removed columns** (D)
- removed column `rent_old` (2026-10-29): use `rent`
Licence (D): CC-BY-4.0.
Other builds: `oryxkb card marketdata-example/Rents --builds`.
(+detail): oryxkb facts <id> --full shows the full text.
The card has 15 facts, more than 10, so useful facts (one finding, two source quirks; definitions never collapse) show as a count
(+1 more (1 useful)) that points at oryxkb facts Rents. A card of 10 facts or fewer shows every fact, as the
vendor's card does.
A dataset with several outputs shows each one under Schema, with the facts about it. The card for RentsReport:
## RentsReport
Quarterly rent report, saved as a summary and a by-market table. (D)
```python
src = oryxflow.FlowImport('marketdata-example') # or FlowImport(path='<path to marketdata-example>')
@oryxflow.requires(src.RentsReport)
src.RentsReport().output()['by_market'].load() # several outputs: load one by name (by_market, summary)
```
Build (G): prod, built 2026-11-19T08:23:21Z, git ea58889, params `{"asof": "2026-09-30"}`.
Change (G): marketdata-example/RentsReport unchanged vs build 2026-11-19T08:23:07Z; upstream marketdata-example/Rents rebuilt 2026-11-19T08:23:20.970261Z (1 hop).
Inputs (G): marketdata-example/Rents built 2026-11-19T08:23:20Z.
Location (G): data/RentsReport/RentsReport_2026_09_30_57ad73613e-summary.parquet.
**Sources** (D; as-of values G)
- vendor_a: Quarterly rent file from vendor A; as-of: 2026-09-30 (G)
**Schema**
(type, nulls, distinct: G; unit, description, facts: D)
Output `summary` (one row per sector x period_yq): One row per sector and quarter.
| column | type | nulls | distinct | unit | description | facts |
|---|---|---|---|---|---|---|
| `sector` | string | 0 | 3 | | property sector | |
| `period_yq` | string | 0 | 67 | | calendar quarter | |
| `rent_growth_annual` | number | 12 | | decimal, per year | rent growth against the same quarter a year earlier | important quirk: rent_growth_annual is the change against the same quarter a year earlier, not... |
Output `by_market` (main; one row per market_id x period_yq): One row per market and quarter.
| column | type | nulls | distinct | unit | description | facts |
|---|---|---|---|---|---|---|
| `market_id` | string | 0 | 6 | | market code | |
| `period_yq` | string | 0 | 67 | | calendar quarter | |
| `rent_growth` | number | 24 | | decimal, per quarter | quarter-on-quarter rent growth | |
**Coverage**
Rows (G): by_market 402; summary 177.
**Quirks**
- **important** rent_growth_annual is the change against the same quarter a year earlier, not four times the quarterly rate (RentsReport.summary#rent_growth_annual; as of 2026-10-31) [unreviewed]
Other builds: `oryxkb card marketdata-example/RentsReport --builds`.
(+detail): oryxkb facts <id> --full shows the full text.
How to read it¶
Each line says where it came from:
- (D) declared: copied from the file.
- (G) generated: computed from the data by the tool, so nobody types counts that go stale.
- A fact line has no marker: facts come from
facts.yamland carry their own status.
| Card line | Comes from |
|---|---|
| Purpose line, Build, Inputs, Location | purpose (D); the build and the data location (G) |
| Sources | One line per source: its project.sources description (D), then its dates_asof value: the as-of date read from the data or the build (G), with cadence and lag_days (D) |
| Schema | grain and the columns (or each of the outputs): type, nulls and distinct counts (G); unit, per, per_unit and description (D; a column's source_name follows the description as (vendor: <name>)). A column's row also shows the facts whose about names it |
| Joins | relationships that name this dataset, inside Schema. A relationship ai_context identical to a rule's statement is not repeated |
| Definitions, Rules, Quirks, How to, Decided, Findings, Open questions | Facts of that kind, in that order. Within a section: facts about a column (in schema order), then about row slices (prefixed [sector=Seniors Housing]), then about the whole dataset, then project-wide facts (prefixed [project]), then consumer-visible facts about a source (prefixed [source:vendor_a]); within each, by impact, then newest as_of. Empty sections are left out |
| Rows, Entities, Coverage, By sector | Generated from the data; shaped by profile |
| Removed columns | removed_columns |
| Withheld, Licence, Pricing | withheld, license on the dataset (else on the project), pricing |
On each fact line, in this order:
- The marker is the
impact(**critical**,**important**;usefulhas none; a definition, finding or question with noimpactisuseful). A recipe starts withwhen <when>:, a slice fact with[sector=Seniors Housing]. - The statement.
- A bracket with what the fact is about, its
period, itsas_ofdate (as of 2026-10-31; with noas_of, the date the line entered git:added 2026-11-19, and nothing outside git) and itsid, when it has one. [unreviewed]for the defaultproposedstatus; areviewedfact has no label.[open]marks a question, whatever its status. A decision ends withRevisit: <condition>andRejected: a | b, a question withOptions: a | b. A proposed decision is a rule or quirk, shown[unreviewed]withsee: h-<id>; it is in use. Retired and expired facts are not shown.(+detail)means the fact has a longer text;oryxkb facts <id> --fullshows it.(checked)for any fact whoseprobepassed on the latest run,(probe failed)or(probe not run)otherwise;(advice)for a rule with no probe.see:and the links, last.
Column rows. A column's facts cell shows one fact, the first that names the column (by impact, then kind): the
impact, the kind and the statement cut to about 80 characters, then (+n more). A fact about two columns shows on
both rows (rent_growth and sector above). The full line stays in its kind section.
Size. critical and important facts show in full. When a dataset's card has more than 10 facts, useful facts
collapse to a count, except definitions, which say what columns mean and are never collapsed. A kind section shows at
most 10 lines by impact, then one line, - +N more (U useful): oryxkb facts <dataset>. The maintainer card follows
the same caps. A tool's size budget counts the fact lines only; the column table is not budgeted.
Rules and quirks. A rule says what to do; a quirk says what is odd in the data, with the consequence. The card shows them under separate headings, so a fact filed under the wrong one still reaches the agent (Which kind?).
Decisions and notices from a hub. The samples on this page were rendered with no hub. With one, the card of a
dataset also lists up to five decisions whose scope covers it, with their
state; a decision not yet settled is labelled "provisional (in use; not yet signed off by a person)". It shows from
the moment an agent proposes it, before the producer writes the matching fact. Firm-wide team: decisions are not
on cards; oryxkb decisions lists them. Change notices are not on the card: the agent reads them in its brief
(oryxkb news), as NOTICE n-... lines under needs ack:, and acks each one it checked
(commands). A sample, synthetic and shortened:
needs ack:
NOTICE n-4868d0 marketdata-example/Rents: values changed in build 2026-11-15T10:02:11Z. If you quoted figures from it:
replace each old figure with the new one and report what changed. Then oryxkb ack n-4868d0 --note "...".
What the agent does with it¶
The card does not give orders; it states facts. An agent that reads it can:
- quote
rent_growthas a percent at the right scale (unitdecimal, per quarter); - say which release each number came from (Sources);
- see that 2 series have gaps before it computes a rolling average (Coverage);
- join to
Marketson the code, not the name (Joins and Quirks); - avoid comparing office across 2026Q2 (Quirks), and cite
marketdata-example/fact:office-incl-flexif it explains why; - ask for everything it must know about one column with
oryxkb facts Rents#market_id: the facts naming the column, then its dataset, then project-wide facts, with--fullfor the detail and--allto include retired and expired facts (Lookup).
$ oryxkb facts Rents#market_id
**critical** market_id codes have leading zeros, such as 04567; read it as text or they are lost (Rents#market_id, Markets#market_id; as of 2026-10-31; id market-id-text) [unreviewed]
**critical** market names are spelled two ways in some releases; join on market_id, never on market names (Rents#market_id, Markets#market_id; as of 2026-10-31) [unreviewed] (+detail) see: docs/data-notes.md#joining-markets
**important** use the 2026-11-02 re-sent 2026Q3 file, not the original (Rents; added 2026-11-19; id use-resent-q3) (advice) see: h-3f9a2c
vendor A revises the latest quarter in its next release; quote it as preliminary (source:vendor_a, Rents; added 2026-11-19) [unreviewed]
asking rent runs above the vendor's published average in most markets (Rents; 2026Q3; as of 2026-11-05) [unreviewed] (+detail) see: analysis/rent-vs-published.ipynb
**important** [open] how to treat 2020-2021 is undecided (Rents; added 2026-11-19; id covid-window) [unreviewed]. Options: exclude 2020-2021 | keep all quarters
The YAML behind this card is the pair of files on Examples.
A consumer's card¶
A project that imports Rents sees the producer's facts first, then its own facts about the import under
Our facts about it. The card of the imported dataset, run from the consumer project research-notes:
## marketdata-example/Rents (imported)
**Definitions**
- rent_growth is the change in asking rent against the previous quarter, as a decimal (Rents#rent_growth; as of 2026-10-31; id rent-growth-definition) [unreviewed]
**Rules**
- **important** do not fill missing rent with zero (Rents#rent; as of 2026-10-31) [unreviewed] (checked)
- **important** state the quarter and the as-of date next to every rent figure (Rents#rent; as of 2026-10-31) [unreviewed] (advice)
- **important** use the 2026-11-02 re-sent 2026Q3 file, not the original (Rents; id use-resent-q3) (advice) see: h-3f9a2c
**Quirks**
- **critical** market_id codes have leading zeros, such as 04567; read it as text or they are lost (Rents#market_id, Markets#market_id; as of 2026-10-31; id market-id-text) [unreviewed]
- **critical** market names are spelled two ways in some releases; join on market_id, never on market names (Rents#market_id, Markets#market_id; as of 2026-10-31) [unreviewed] (+detail) see: docs/data-notes.md#joining-markets
- **important** office includes flex space in the 2026Q2 release and later: compare office within one side of 2026Q2 only (Rents#sector; 2026Q2 onward; as of 2026-10-31; id office-incl-flex) (+detail) see: docs/data-notes.md#flex-space
- [sector=Seniors Housing] **important** Seniors Housing rows start in 2014; its growth rates are not comparable with earlier sectors (Rents?sector=Seniors Housing) [unreviewed]
- +2 more (2 useful): oryxkb facts Rents
**How to**
- when comparing markets: **important** use rent_growth within one sector; never across sectors, whose lease lengths differ (Rents#rent_growth, Rents#sector; as of 2026-10-31) [unreviewed]
**Findings**
- +1 more (1 useful): oryxkb facts Rents
**Open questions**
- **important** [open] how to treat 2020-2021 is undecided (Rents; id covid-window) [unreviewed]. Options: exclude 2020-2021 | keep all quarters
### Our facts about it
- office asking rent runs above the vendor's published average in most markets (marketdata-example/Rents#rent; 2026Q3; as of 2026-11-05) [unreviewed]
The same order answers oryxkb facts marketdata-example/Rents#rent in the consumer project, each producer line
prefixed with the producer's project name, then the consumer's own finding
(Producers and consumers):
$ oryxkb facts marketdata-example/Rents#rent
marketdata-example: **important** do not fill missing rent with zero (Rents#rent; as of 2026-10-31) [unreviewed] (probe not run)
marketdata-example: **important** state the quarter and the as-of date next to every rent figure (Rents#rent; as of 2026-10-31) [unreviewed] (advice)
marketdata-example: **important** use the 2026-11-02 re-sent 2026Q3 file, not the original (Rents; id use-resent-q3) (advice) see: h-3f9a2c
marketdata-example: vendor A revises the latest quarter in its next release; quote it as preliminary (source:vendor_a, Rents) [unreviewed]
marketdata-example: asking rent runs above the vendor's published average in most markets (Rents; 2026Q3; as of 2026-11-05) [unreviewed] (+detail) see: analysis/rent-vs-published.ipynb
marketdata-example: **important** [open] how to treat 2020-2021 is undecided (Rents; id covid-window) [unreviewed]. Options: exclude 2020-2021 | keep all quarters
office asking rent runs above the vendor's published average in most markets (marketdata-example/Rents#rent; 2026Q3; as of 2026-11-05) [unreviewed]
The maintainer's card¶
oryxkb card <project>/<Dataset> --audience maintainers renders the project's own card: every fact including the maintainer ones, and all
datasets, exported or not. A project that is mostly internal pipelines gets most of its value from this card; the
consumer card stays the default. oryxkb render <folder> --declared --audience maintainers does the same for a folder
with no pipeline. The consumer project's internal dataset RentRanking (exported: false), as the maintainer card
shows it:
## RentRanking
Markets ranked by office rent growth, for the quarterly note. (D)
Build (G): prod, built 2026-11-19T08:24:07Z, git 823c671, params `{}`.
Inputs (G): marketdata-example/Rents built 2026-11-19T08:23:20Z.
Location (G): data/RentRanking/RentRanking__99914b932b-data.parquet.
**Schema**
Grain (D): one row per market_id x period_yq.
(type, nulls, distinct: G; unit, description, facts: D)
| column | type | nulls | distinct | unit | description | facts |
|---|---|---|---|---|---|---|
| `market_id` | string | 0 | 6 | | market code | |
| `period_yq` | string | 0 | 66 | | calendar quarter | |
| `rank` | integer | 0 | | | rank by rent growth within the quarter, 1 is highest | |
**Coverage**
Rows (G): 392.
**Rules**
- **important** leave out markets with fewer than eight quarters of history from the ranking (RentRanking; as of 2026-11-05) [unreviewed] (advice)
Other builds: `oryxkb card research-notes/RentRanking --builds`.
(+detail): oryxkb facts <id> --full shows the full text.