Skip to content
Alpha · We're looking for development partners. Build with us →
Menu

Reads run. Writes wait for a yes.

Reference runtime · Checked 14 Nov 2026

The runtime is how a person's intent reaches their pod. Every read and write goes through it, and a write a model proposes waits for the person's yes.

See it

Five lines to read a pod.

Open Alex’s pod, ask it a question, close it. replayKit loads the example pod and belongs in tests only.

import { replayKit } from "cascade-runtime/fixtures"; // in a test only
await replayKit("alex-rivera", "pods/alex-rivera", { through: "J1" });
const her = await openPod("pods/alex-rivera");
await showPerson(await her.ask("pod/My active allergies", { lens: "export" }));
await her.close();

How it works

A read runs. A write a model proposes waits for the person's yes.

How a person, an app and an AI model reach a pod through the runtimeOn the left, the person, an app and an AI model. In the middle, the runtime, with the three consent tiers for a model's tools: free, a read, which runs when called; ask, a write a model proposes, which waits for the person's yes; and never, what no tool does. On the right, the pod: records from sources, the person's entries, judgments, and writes a model proposed, each naming who made it. Reads come out of the pod, and a write goes in only after a yes. The person enters what they know, judges what the records say, and answers yes or no to each write a model proposes An app calls the runtime in Node or in a browser: brings in a file, asks a named question, files an entry or a judgment An AI model calls the runtime's tools, through the MCP server or an app's chat: asks by a question's name, or proposes a write The runtime cascade-runtime-js every read and write of a pod goes through its calls, from an app, or through its tools, from a model API MCP server Consent tiers CONSENT TIERS · IN THE PROTOCOL TODAY FREE · RUNS WHEN CALLED A read a named question's rows, each citing its entry and its source ASK · WAITS FOR THE PERSON'S YES A write a model proposes an entry, a judgment or a retraction; a no, or no answer, writes nothing NEVER · NO TOOL TAKES IT What only the person does unlock an encrypted pod, sign in at a source, import from it, delete a pod The pod a folder of Turtle files holding one person's health records HOLDS, EACH NAMING WHO MADE IT Records from sources each with its document and its import The person's entries what they entered themselves Judgments the person's and the matcher's Writes a model proposed name the model and who said yes Nothing in it is edited or deleted: a write only adds. An example pod How a person, an app and an AI model reach a pod through the runtimeOn the left, the person, an app and an AI model. In the middle, the runtime, with the three consent tiers for a model's tools: free, a read, which runs when called; ask, a write a model proposes, which waits for the person's yes; and never, what no tool does. On the right, the pod: records from sources, the person's entries, judgments, and writes a model proposed, each naming who made it. Reads come out of the pod, and a write goes in only after a yes. The person enters what they know, judges what the records say, and answers yes or no to each write a model proposes An app calls the runtime in Node or in a browser: brings in a file, asks a named question, files an entry or a judgment An AI model calls the runtime's tools, through the MCP server or an app's chat: asks by a question's name, or proposes a write The runtime cascade-runtime-js every read and write of a pod goes through its calls, from an app, or through its tools, from a model API MCP server Consent tiers CONSENT TIERS · IN THE PROTOCOL TODAY FREE · RUNS WHEN CALLED A read a named question's rows, each citing its entry and its source ASK · WAITS FOR THE PERSON'S YES A write a model proposes an entry, a judgment or a retraction; a no, or no answer, writes nothing NEVER · NO TOOL TAKES IT What only the person does unlock an encrypted pod, sign in at a source, import from it, delete a pod The pod a folder of Turtle files holding one person's health records HOLDS, EACH NAMING WHO MADE IT Records from sources each with its document and its import The person's entries what they entered themselves Judgments the person's and the matcher's Writes a model proposed name the model and who said yes Nothing in it is edited or deleted: a write only adds. An example pod
A read comes out of the pod when it is called for, and a write a model proposes goes in only after the person's yes. The consent tiers are a rule of the protocol with examples any runtime must reproduce, and the reference runtime and its MCP server follow it.

The MCP server ↗: how to install and start it, the tools it offers, and what a hosted client sends to its provider. Its source ↗

The protocol gives each kind of act a model's tool may take a consent tier: free, ask or never. The tier belongs to the kind of act and not to the tool, so what a person is asked first can be the same from one app to the next.

What the person says is kept as theirs.

A model asks by name, and proposes.

A model reads by calling the runtime's ask tool with the name of a question, and a query of its own is refused. To write, it proposes an entry, a judgment or a retraction. The runtime asks the person about that one call and writes only on a yes: a no, a dismissed question or no answer writes nothing. The write names the model as its proposer and the person who said yes, and a judgment made this way is still the person's.

The MCP server is one way in.

The MCP server runs over a folder of pods, for any MCP client to start. It offers the tools that read to every client, and the tools that propose a write only to a client that declares it can show the person a question. A way in that cannot ask the person offers no tool that needs a yes.

LimitA yes covers one call, and there is no yes for a whole chat. No tier decides which model reads a pod: a hosted client sends what the tools return to its provider. The MCP server never opens an encrypted pod. The starter kit's chat does not offer the tools that propose a write yet.