How it works
Describe it, or code it.
Say what you need and the Studio writes the app with a model, checking every step. If you code, an app is one TypeScript file.
Describe it
In the Studio you write a sentence. A model writes the app. Before you see it, Potyro compiles the code, checks that nothing you had was lost, and runs it on sample records; a candidate that fails is sent back to the model with the error, in words, and only one that passes is shown. Then you change the app by asking: "add a photo to each plant". A fix counts only when the case you showed it passes. Every version is kept, and you can go back to any of them.
Which model
Free first: Potyro pays for a monthly allowance of app making, through a relay of its own that holds Potyro's key and caps the spending. After that, or instead of it, your own key: OpenRouter, Anthropic, or any server that speaks the OpenAI chat API, including one running on your own computer. Two models run on the device itself, with nothing sent anywhere: a small coder model in the browser, and Chrome's built-in model where it exists. Keys stay on your device and never reach an app.
Code it
An app is one TypeScript module that exports defineApp({...}): what it keeps and shows written as
plain data, what it does written as ordinary functions. Every function receives ctx, the one door
to the phone's abilities: data, time, files, the camera, the person, the screen. There is no visual
builder and no mini-language to learn.
npm create potyro@latest my-app # a project with an app in it
npm run build # → dist/my-app.potyro-app.zip, for Add an app → From this device
Go deeper
- Your first app: a reading list, in fifteen minutes
- The Studio: how a described app becomes a written one
- The
ctxreference: everything an app's functions can do