Build
15 minutes
No account
Working in fifteen minutes.
One command makes a working health-record app. Open it on four example people, bring in a record from a demo hospital, and ask the pod a question. Everything runs on your machine: no account, no API key.
Step 1
Under a minute
Make an app
One command copies the app template, installs it and loads four example pods. Open source under Apache 2.0.
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 cd my-app
This is the starter kit build tested above; each newer build gives its own line in its release notes. It also prints a prompt to hand to a coding agent.
Building with a coding agent? Run the command, paste the prompt it prints into your agent, and describe the app you want. The app’s AGENTS.md tells the agent how to open a pod, ask it questions and propose writes, and llms.txt gives it this site as plain text.
An example prompt:
I made a health-record app with create-cascade-app, in this folder. Read AGENTS.md first. Add a "Medicines" page for each pod: every active medication, when it started, and the records it came from. Get the rows by asking the pod a named question (npm run ask lists them); never read the pod's files or parse Turtle. Then check it on Alex Rivera's pod.
Guide: Build with a coding agent → More prompts, and the rules the agent must keep.
Step 2
About a minute
Open it
The app shows each pod as that person’s health record: how many records, from which places, and what’s worth a look, such as two hospitals disagreeing on how severe an allergy is.
npm start
http://127.0.0.1:3000/?launch=… # open this addressFour made-up people come loaded: Alex Rivera (Apple Health exports), Priya Natarajan (exports and C-CDA files), Martin Okafor (a genetic report beside what ClinVar says today) and Tamsin Vale (two pulls from one hospital a year apart). Nothing to install? Try the same app in your browser.
Step 3
About two minutes
Bring in a record from a hospital
The demo hospitals speak SMART on FHIR, the way real patient portals do, with no account and no network. Choose + New pod, then Calloway, Ines, then Sign in at Cascade North. On the hospital’s sign-in page, press Allow. Back in the app, press Bring it into Ines Calloway’s pod.
Her pod now shows What changed: her LDL went from 162 to 98.3 mg/dL after atorvastatin was prescribed, the mean of three results before and three after. It says what changed after what, never why.
Step 4
About a minute
Ask it a question
Apps and AI models read a pod through named questions. Each row of the answer cites the record it came from.
npm run ask -- --pod alex-rivera "pod/My active allergies"
{"allergenName":"Penicillin","criticality":"high","records":"3",
"sources":["… written by Larkspur Valley Health", "… written by Meridian Health System", …]}One row per allergy. Penicillin is three records from two hospitals, shown as one allergy with all three sources. npm run ask with a name it doesn’t know lists every question; npm run help lists every command.
Step 5
About five minutes
Work with it in code
Open Node’s prompt with a pod loaded, and call the runtime the way the app does.
npm run console -- --pod alex-rivera
Add a chat with a model, or an MCP server so an AI assistant can read the pods. A write a model proposes waits for the person’s yes.
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 --with chat,mcp
§ Next
Where to go from here
- Guides →One task each: bring in a portal download, validate, ask, add an adapter.
- Architecture →How the parts fit, from source file to app.
- Reference ↗Every term, query and adapter, and the pod explorer.
- AGENTS.md ↗What a coding agent needs to build on a pod.
- llms.txt ↗This site as plain text, for a coding agent to read.
- The v1 tools →Apple Health import, record checks, encryption and FHIR export, today.
- Conformance and test results →The runtime’s result for every example, and each repository’s tests.
§ Help
Stuck, or building something real?
Talk to the people who wrote it.
Jay Ostis leads developer work. Open an issue or a discussion on GitHub, or tell us what you’re building. Cascade Protocol v2 is in alpha: no compatibility is promised before its first stable release, and none of it is claimed fit for clinical use.