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

Guide
15 minutes

Build with a coding agent.

Open a coding agent, tell it what you want, and watch it build a health-record app on four made-up people. The starter teaches the agent the rules, so what it makes reads the record the right way.

Needs: Node 22.18+A coding agent that runs in a terminalNo account
you › Make me a Cascade health-record app called my-app, then add an allergy card for each person that a school nurse could print.
· Reading cascadeprotocol.org/llms.txt
$ npx --yes --package=https://github.com/the-cascade-protocol/cascade-starter-kit/releases/download/build-e2545372aaea86ab2e662b1e65f11c508d5146d9/create-cascade-app-0.0.0-commit-e2545372aaea86ab2e662b1e65f11c508d5146d9.tgz create-cascade-app my-app
· Reading my-app/AGENTS.md and the runtime guide
$ npm run ask -- --pod alex-rivera "pod/My active allergies"
· 4 rows. Penicillin: 3 records, from 2 hospitals
· Adding AllergyCard to src/pod.tsx, with a print style
$ npm start
✓ Open the address it printed, then Alex Rivera’s pod. Penicillin shows once, high criticality, citing Larkspur Valley Health and Meridian Health System.

What a session looks like. Your agent’s wording will differ.

Step 1

Five minutes, once

Open a coding agent in a terminal

Install Node 22.18 or later. Make an empty folder, open a terminal in it, and start the agent you use, for example:

mkdir cascade-play && cd cascade-play
claude      # Claude Code
codex       # OpenAI Codex CLI
gemini      # Gemini CLI

An agent in your editor works too, as long as it can run commands in a terminal.

Step 2

Under a minute

Ask it to make the app

You don’t run the command yourself. Paste this, which tells the agent where to learn about the protocol first, and let it do the rest:

Read https://cascadeprotocol.org/llms.txt to learn what the
Cascade Protocol is and where its documentation lives.
Then make me a Cascade health-record app called my-app:
npx --yes --package=https://github.com/the-cascade-protocol/cascade-starter-kit/releases/download/build-e2545372aaea86ab2e662b1e65f11c508d5146d9/create-cascade-app-0.0.0-commit-e2545372aaea86ab2e662b1e65f11c508d5146d9.tgz create-cascade-app my-app
Read my-app/AGENTS.md and the runtime guide it points to,
and tell me what the app can do before changing anything.

Where your agent finds what it needs

llms.txt
A short map of this site for agents: what the Cascade Protocol is, and a link to each page. Most agents read it and follow the links they need.
llms-full.txt
The whole site in one file, for an agent that can’t browse. Download it into the folder and say “read llms-full.txt”.
AGENTS.md
Inside the app, once it is made: what each file does and the rules the app keeps. It points on to the runtime’s own guide, which covers every call.
Reference
Every term, named question and adapter, on the hub, when the agent needs one in detail.

Step 3

Five to ten minutes

Pick something to build

Start small. Any of these works on the example pods, once you add Ines Calloway’s for the LDL chart: in the app, choose + New pod, then Sign in at Cascade North as Ines Calloway, then Bring it into Ines Calloway’s pod.

An allergy card for school

“Add an allergy card for each person that a school nurse could print: each allergy, how serious, and which hospital said so.”

A medicines page

“Add a page listing every active medicine and when it started, with the records behind each one.”

One lab, over time

“Chart one lab result over time for a pod, with the dates a medicine started or stopped marked on it. Try Ines Calloway’s LDL.”

Questions for the next visit

“From what changed in a pod, draft a short list of questions to bring to the next appointment. Say what changed, never why.”

Follow up one change at a time: “make the card fit on half a page”, “add a print button”.

Step 4

Read this once

The rules it keeps

The starter’s guide holds the agent to four rules. If its code breaks one, ask it to fix that first.

  • It reads only by asking. No reading or writing a pod’s files directly.
  • It never parses Turtle. It asks a named question instead.
  • It never makes up names. It uses the names the runtime returns.
  • It never claims a record for the person that they have not said is theirs.

Step 5

A few minutes

Check its work

Open each example pod in the app. npm run reset puts the pods back as they were made, so a bad change costs nothing.

Step 6

Before real records

Decide what a model may see

Everything in the starter is made up. Before you point the app, or the agent, at a real person’s records, decide whether a hosted model may see them: a hosted model receives whatever its tools read. A local model keeps them on the machine.