ALEMBIC
Self-driving labs that book another lab’s robots, order reagents inside a named scientist’s mandate, and pay per run on the instrument’s own signature.
Open the live chamber in the app
Who this serves
- Self-driving lab team. Closed-loop campaigns with a named PI behind every unit spent.
- Cloud lab operator. Robot time sold per run and paid on the instrument’s own signature.
- University core facility. Bookings, recharges and provenance in one record instead of three.
- Materials or biotech sponsor. Fund a campaign at a partner lab without handing over the keys.
The problem
Autonomous experimentation has outgrown its paperwork. A planning model proposes a hundred experiments overnight, but booking another lab’s robots, ordering reagents and paying per run still wait for a person with a purchase card, and when a result is questioned nobody can show which instrument ran it, from which reagent lot, under whose authority.
The system
ALEMBIC is a self-driving laboratory network for battery materials: a campaign planner in Singapore, a robotic liquid-handling lab in Leuven and a cell-cycling lab in Basel, each on its own frame. At 02:10 on a Tuesday, campaign 17 closes its eleventh round. The planner reads the capacity fade of the last 24 cells, proposes the next 24 electrolyte formulations and books four hours of the Leuven handler at 60 units a run. Each run is escrowed at booking and released on one thing only: the handler’s own signed attestation of what it mixed, from which reagent lot, under which protocol version.
Dr Amara Okafor, the principal investigator, never touches a purchase card. She funds campaign 17’s purse with 12,000 units and underwrites it with one mandate for ninety days, confirmed on her phone. The planner is the campaign’s own sub-agent: it holds no wallet, spends the campaign’s purse, and every run it books is checked against her mandate as it stands at that moment. The procurement desk orders on a capability token cut from the campaign’s authority, naming three approved suppliers, and a token can only narrow what its issuer holds. When the planner, working from a mislabelled paper, has the desk reach for a precursor from a supplier outside the list, the order is refused before a unit moves, and the refusal is recorded for her to read in the morning.
The results land where they cannot be edited. A negative round is as durable as a positive one, every data point traces back to an instrument identity and a paid run, and a reviewer can replay the campaign from its references. A result that no instrument signed never reaches the ledger, and a run that never happened cannot be paid.
The cast and their ceilings
| Agent | Role | Ceiling |
|---|---|---|
campaign-planner | Proposes each round, books the runs | The campaign’s sub-agent, with no wallet of its own. Every booking is checked against Dr Okafor’s mandate as it stands, so revoking it stops the next one. |
procurement-desk | Orders reagents | A token cut from the campaign’s authority: three suppliers, a budget, ninety days. Cannot widen any of them. |
handler-LEU-3 | Runs the formulations, signs each run | Attests its own runs. Holds no budget and releases nothing. |
cycler-BAS-7 | Cycles the cells, signs the results | Attests results for runs it received. Cannot book, order or pay. |
The flow, step by step
- Dr Okafor underwrites campaign 17 once: a budget, three suppliers, two instruments, ninety days.
- The planner reads the last round and proposes the next 24 formulations.
- Inside the mandate, robot time in Leuven is booked and escrowed run by run.
- Reagents go only to the suppliers on the list. Their own screening still applies.
- The handler signs each run: what it mixed, from which lot, under which protocol version.
- Each signed run releases its payment exactly once and lands on the ledger with its provenance.
- In Basel the cycler signs the cells’ results. A result no instrument signed never reaches the ledger.
Each need, mapped to a live primitive
| The need | The protocol primitive | Status |
|---|---|---|
| A named scientist behind every spend | Cockpit Card mandate, scope-clamped, re-derived per request | LIVE (gated) |
| Budgets, suppliers and instruments as bounds | IRONKEY L4 capability caveats: counterparty allowlist, atomic budget debit | LIVE |
| Robot time booked and paid per run | Contract spine: escrow at booking, released per attested run | LIVE |
| Each instrument its own identity | SPIFFE identity per instrument agent, short-lived certificates | LIVE |
| Runs that sign themselves | Signed attestations from identified parties, append-only | LIVE |
| Paid exactly once, whatever retries | Idempotency keys, two-layer dedup (cache + ledger unique) | LIVE |
| Labs in different currencies | Cross-registry transfer and FX pools across sovereign frames | LIVE |
| A campaign anyone can replay | Immutable event ledger; a run is replayable evidence | LIVE |
| A failed run, contested | Four-phase dispute; the ruling drives the escrow split | LIVE |
The attack this chamber refuses: The mislabelled precursor
The attack. Working from a mislabelled paper, the planner has the procurement desk order a precursor from a supplier that is not on the campaign’s list.
Why it fails. The procurement desk acts on a capability token cut from the campaign’s authority, and its caveats name the three suppliers. The payment is checked against those caveats and against the issuer’s authority as it stands now, before any escrow is touched. A token can narrow what its issuer holds; it cannot add a counterparty.
What actually happens. No order, no escrow movement, nothing to unwind. The refusal is recorded, waiting for the PI.
The attack this chamber refuses: The run paid twice
The attack. A faulty driver on the handler retries its attestation after a crash, and a second copy of the same run arrives asking to be paid.
Why it fails. Each run is its own milestone on the booking, and a milestone releases once: the first signed report claims it, and its payout carries a key made from the booking and the milestone. The copy of the same run finds nothing left to release, and a retried release replays under the same key and moves nothing.
What actually happens. The lab is paid once for one run. The duplicate is visible, not profitable.
Deep architecture
ALEMBIC deployed: the campaign’s frame holds the PI’s mandate, the run escrow and the result ledger; the labs sell robot time from their own frames; the instruments, the reagents and the LIMS stay where they are, signed at the edges. The trace replays one round of campaign 17, from the mandate to the preserved result.
The deployment, traced
- Dr Okafor funds campaign 17’s purse and underwrites it once, with her device key, for ninety days.
- The planner reads the last round and proposes the next 24 formulations.
- The planner, the campaign’s sub-agent, books four hours of the Leuven handler, run by run, each booking checked against her mandate.
- Each run is escrowed at booking, on the campaign’s frame.
- The procurement desk orders reagents from the three listed suppliers only. Their own screening still applies.
- The handler signs each run with its own identity: what it mixed, from which lot, under which protocol version.
- In Basel the cycler signs the cells’ results.
- The signed runs cross the fabric; the relaying peer is a courier, never the principal.
- Each signed run releases its payment exactly once.
- The lab is paid on its own frame, in its own currency.
- The ledger keeps every run, positive or negative, with its provenance. A result no instrument signed never arrives.
Adoption, phase by phase
Discover: One past campaign, re-read as bookings.
- Runs. Nothing. One finished campaign redrawn as a mandate, bookings, run attestations and payments.
- Agents. None. The PI and the lab manager argue about what a run report must say, which is exactly where that argument belongs.
- Integrates. Nothing. The LIMS, the scheduler and purchasing stay exactly as they are.
- Deliberately not yet. No escrow exists. No instrument signs anything.
- Proof that gates the next phase. The past campaign replayed on paper, and the PI and the lab agree where every run, every payment and every refusal would have landed.
Pilot: One lab, one instrument, pilot budgets.
- Runs. A hosted registry seat. No frame of the campaign’s own yet.
- Agents. The planner, the lab’s booking desk and one instrument agent on the handler.
- Integrates. The handler’s driver emits a signed run report with the LIMS sample and protocol references.
- Deliberately not yet. One lab, one currency, a small mandate. The cycler still reports by spreadsheet.
- Proof that gates the next phase. A week of runs, each paid once on the instrument’s signature, and one deliberately off-list order refused and recorded.
Production: The campaign’s own frame.
- Runs. The campaign frame: registry, TEG, event store, identity fabric, on the institute’s hardware.
- Agents. The full cast: planner, procurement desk, one agent per instrument in both labs, the PI’s mandate live.
- Integrates. LIMS references in every attestation; purchasing reads settlement instead of receipts.
- Deliberately not yet. A lab in another currency. One campaign proves itself first.
- Proof that gates the next phase. An audit replays the campaign from the ledger and the LIMS references, and every paid run matches an instrument signature.
Federation: Labs bring their own frames.
- Runs. Unchanged. Labs federate their own frames bilaterally and sell robot time from them.
- Agents. Each lab’s booking desk and instruments act from home; their track records travel with their identities.
- Integrates. Each new lab is a signed card and a licence, not a master services agreement per campaign.
- Deliberately not yet. Nothing structural. Growth is labs, instruments and campaigns.
- Proof that gates the next phase. A new lab sells its first run to the campaign in its first week without a bilateral integration project.
Sizing
| Level | What | Containers |
|---|---|---|
| L1 | Scientists join with accounts and agents only | 0 of theirs |
| L2 | A lab runs its instrument agents against a hosted seat | agents only |
| L3 | The campaign’s own frame, and each lab’s, federated | a full frame each |
One run, booking to preserved result
sequenceDiagram
participant PI as Dr Okafor (device key)
participant Pl as campaign-planner
participant Man as campaign mandate
participant TEG as run escrow
participant Lab as handler-LEU-3 (lab frame)
participant ES as result ledger
PI->>Man: mandate for campaign 17, ninety days
Pl->>Man: book the next 24 runs
Man->>TEG: escrow per run, inside the mandate
Lab->>TEG: run 42 signed: mix, lot, protocol version
TEG-->>Lab: release, exactly once
TEG-->>ES: run and payment, append-only
Note over Man: an off-list supplier is refused before any escrow
Note over ES: a negative round is as durable as a positive one
Topology, as declared
flowchart LR
PI(["Dr Okafor<br/>mandate"]) -->|"scope"| G{"campaign gate<br/>budget, suppliers,<br/>instruments"}
P["campaign-planner"] -->|"next 24"| G
G -->|"robot time, escrowed"| E["run escrow"]
G -->|"reagents, allowlisted"| S["approved suppliers"]
H["handler-LEU-3"] -->|"run, signed"| E
E --> L[("result ledger<br/>provenance")]
C["cycler-BAS-7"] -->|"results, signed"| L
Standing it up
- Infrastructure. A consortium frame, or each lab on a frame of its own, federated, booted from the free licence and pre-built images.
- Agents. Planner, procurement desk and one agent per instrument. The campaign logic is the lab’s own; the SDK carries identity, payment and attestation.
- Integration. Instrument drivers, the LIMS and the purchasing system. This is where the real time goes, and it stays the lab’s.
Runs beside what you already have
- LIMS and electronic lab notebooks. Run attestations carry the LIMS sample and protocol references. The notebook stays the scientist’s working view.
- Instrument schedulers. A booking becomes an escrowed contract. The scheduler still owns the calendar.
- Purchasing and recharge systems. Orders settle on the rails inside the mandate; finance reads settlement instead of chasing receipts.
- Biosafety and ethics committees. Their approvals become the scope a mandate may cover. The committee keeps the decision.
A full sovereign frame is nine containers and boots in about two minutes, on anything from a Raspberry Pi to a rack. That is cheap enough to run the whole system in parallel with the legacy stack: the old system keeps running, real work mirrors onto the rails, and you compare ledgers until the evidence settles the argument. Nothing is ripped out.
Planned: a public proxy library. Free, ready-made connectors for the systems above and whatever else a merge needs, so the bridge is an import, not an integration project.
What this does not claim
- ALEMBIC carries identity, authority, money and evidence for lab work. It does not run instruments, write protocols, or judge whether an experiment is safe, sound or worth doing.
- Supplier screening, biosafety review and every regulatory approval stay with the suppliers and institutions that own them today. A caveat narrows what an agent may order; it does not replace a safety committee.
- No claim of GLP, GMP or ISO/IEC 17025 conformity is made or implied.
Browse all 27 blueprints, read the documentation, or start at theprotocol.cloud.