This page follows one app from a sentence to ScriptoHub: Stocks, a short list of share prices with a tile for Home. An agent wrote it on a BOOX Picco. Every screen here is from that reader or from CalmPilot Studio, and the code is the app's own.
You need a reader with CalmPilot, CalmPilot Studio, and an agent such as Claude Code. Or no agent at all: an app is a folder of Python, and the app guide is written for people too.

The reader speaks MCP, the protocol agents use for tools. Once an agent is connected it can put files on the card, run Python, open an app, read Home's tiles and see what the screen shows.
In CalmPilot Studio open About and choose Show all of Studio, then the gear and Agent. Copy the line it gives you into a terminal, once. Claude Code is shown; any agent that speaks MCP over HTTP can use the address under it.
Studio stays connected beside the agent, so you watch what it does as it does it.

Make an app for CalmPilot: a list of stocks, with tiles for Home. The stocks are mainly entered in the web app, but can be added on the reader with the on-screen keyboard.
Before writing anything the agent read how CalmPilot apps and tiles are written, and the code of Weather, the nearest app to this one. Give yours the CalmPilot app guide: the app API, tiles, and a small app to start from. Then it settled four things and said so:
CalmPilot calls three functions: on_load when the app opens, on_draw for a frame, on_input for a tap or a key. The top row with the time and the battery is CalmPilot's; the app's part of the screen is 480 by 748 below it.
Buttons, the line under the top row and the rules between rows come from CalmPilot's own parts, imported as ui, so the app looks like the rest of the reader without trying.
The agent wrote a test beside the app: a stand-in for the network, then 29 checks. The list from Studio is taken as it opens. A stock typed on the reader joins the list only once it has a price. With no Wi-Fi it says so and keeps what it had.
Then it copied the folder to /sd/apps/stocks/ on the reader's card, opened it and read the screen back. An app on the card is in Apps at once; nothing is installed or restarted.



Two things make a tile. The manifest names it, the sizes it comes in and when it can change: "every": "data" means whenever the app's own files do, so the tile is drawn again after each fetch and each change to the list.
And tile.py beside main.py has one function. It returns a few words for CalmPilot to lay out as it lays out every app's tile, or draws the tile itself and returns nothing. Stocks does both: the first at 1×1, the second at the two larger sizes.
The tile shows the top of the list, so the order is worth changing on the reader: Edit has an arrow up, an arrow down and an x for each stock. Put another in the top three and Home shows it; put it first and the 2×2 tile shows its month.
Last, a picture of each tile at each size, such as studio/tile-list-2x1.png: what it looks like with something in it. Studio shows that on its Home, from ScriptoHub, so the reader has nothing to draw for it.





Typing eight ticker symbols on e-paper is nobody's idea of calm. So the manifest says what its owner may set, and Studio draws the form: Get apps, Stocks, Settings.
Studio sends the list to the reader, which checks it against the manifest and keeps it as settings.json among the app's own files. The app reads that file when it opens, and Add on the reader, with CalmPilot's keyboard, writes the same one. Home's tile follows, since the app's files changed.
A field is a list, a text or a choice.

Chess, Weather, Word Hive and the rest are folders like this one. Each is on ScriptoHub with its source.