Skip to content
Vol. 0  ·  2026

CORA

The system of record for the experiment.

CORA

Why did this run use that center of rotation, who or what approved it, under which recipe, and can you replay it six months from now? Today that answer is smeared across HDF5 process groups, PV snapshots, the e-logbook, and someone's memory, while TomoScan, TomoPy, EPICS, and Globus each do their part and remember none of it.

CORA is where that answer lives. It owns no servo loop, runs no reconstruction, and stores no dataset bytes. It records the work, end to end, in one append-only event log that survives every change of staff, vendor, and tool below it.

What CORA records

Two intertwined streams, one event log

  • The recipe chain. How a class of measurement works, how this facility does it, what was scheduled, what actually happened.
  • The decisions around it. Every choice that shaped a recipe, plan, or run, by a human or an agent, with the reason and the evidence captured at the moment of choice.

The recipe chain is the mechanism that keeps the same model portable across facilities:

flowchart LR
    M[Method<br/>portable] --> P[Practice<br/>per facility] --> PL[Plan<br/>scheduled] --> R[Run<br/>executed]

A method names how a class of measurement works. A practice binds it to one facility's instruments. A plan schedules it. A run executes it, captured as events. For 2-BM micro-CT this reads: Method tomography, Practice 2-BM tomography, Plan scan #2351, Run today's measurement events.

A decision can attach at any stage: to propose a method, choose a practice, schedule a plan, or steer a run mid-flight. Each one carries who decided, what they chose, why, and the evidence they saw. Humans and agents register decisions the same way.

Three commitments

How CORA earns the claim

  • No silent decisions. Every choice, human or agent, carries its reason and evidence at the moment it is made.
  • Agents are principals, not features. Same identity, authorization, and operations as humans, exposed through REST and MCP alike.
  • Everything is replayable. Any decision, human or agent, reconstructable from a Postgres event log alone.

Where CORA sits

The spine, the edge, and the floor

  • The spine, always CORA. The event log, decisions, the recipe ladder, trust, and audit. Decision-grade latency; it never sits inside a deterministic real-time loop.
  • The execution edge, optional. Driving operations step by step, and in time the scan loop, over a substrate-neutral ControlPort and Conductor with EPICS adapters. A facility may adopt it or keep its own execution and scan tools. At 2-BM, driving the scan loop this way is exploratory.
  • The floor, never CORA. Servo control, position-synchronised output, FPGA trigger fan-out, sub-millisecond timing. These stay in the IOCs and motion controllers, wherever the line above is drawn.

Only the spine and the floor are fixed. How far the edge reaches between them is the facility's choice. Read the full model.

What CORA governs

The recipe chain is the spine. Around it, CORA models the rest of what a single facility decision actually depends on: the instruments, the resources they draw on, the people and agents who act, the rules that gate them, and what gets produced. Seventeen bounded contexts, one event log.

  • Plan and run the work


    Define a measurement once, bind it to a facility, schedule it, and execute it as events; group runs into studies and bracket them with operational procedures.

    Recipe · Run · Campaign · Operation

  • Equipment and resources


    The instruments themselves, the continuously-available resources they draw on, the permit-gated spaces that contain them, and the empirical values that keep them honest.

    Equipment · Supply · Enclosure · Calibration

  • People and agents


    One identity model for human operators and AI agents alike, with authorization that gates every write in the system.

    Access · Agent · Trust

  • Safety and cautions


    Formal regulatory clearances that gate work, and lightweight operator tribal-knowledge that warns without blocking.

    Safety · Caution

  • Subjects, data, and decisions


    What gets measured, the datasets it produces and the distributions, attestations, and citable editions built on them, and every reasoned choice recorded with its evidence.

    Subject · Data · Decision

  • Across facilities


    Cross-facility identity and the authorized seams that let data and trust flow between deployments.

    Federation

Pilot

Built for micro-CT at APS beamline 2-BM (Argonne). CORA schedules, governs, and records 2-BM operations; the facility's own acquisition and reconstruction tools stay where they are. CORA also offers an optional execution edge (its Conductor and ControlPort layer) for driving operations directly over EPICS where a facility chooses to; at 2-BM that edge is exploratory. The scenario corpus that grounds CORA's domain model runs against real 2-BM operations.

See the 2-BM pilot →

Start here

  • Beamline scientist

    Could CORA run your experiments? Start with the 2-BM pilot.

    See 2-BM →

  • Software architect

    Functional DDD, event sourcing, REST and MCP behind one model. Read how it's built.

    Read the architecture →

  • Future pilot host

    Your beamline could be the next deployment after 2-BM.

    Read the contribution call →

  • AI researcher

    Agents as principals, ReBAC, decision strategies, append-only ledger. Got a pattern to try on a real facility? CORA can be a substrate.

    Read the contribution call →

About

  • Solo project. A research bet, not a startup, not a product.
  • Code is agent-written; design is human.
  • Pre-1.0. Foundation in place; bounded contexts grow from real APS use cases.