Coding agents like Claude Code have made the first draft of an app cheap. You describe the screens, the agent writes them, and an hour later you have something that looks finished in a simulator. The expensive part comes next: Xcode, signing, provisioning profiles and TestFlight, all before you find out whether the idea actually feels right in your hand.
Ynch is built for that gap. Your agent describes the app as a small folder of JSON files, Ynch checks it, and the app opens on your own iPhone inside the Ynch app, drawn with native iPhone controls. A new version reaches your phone in minutes, so you can try an idea, change it and try again the same afternoon.
What the agent writes
A Ynch app is not Swift. It is a set of screens assembled from 33 native components: text, images, buttons, cards, lists, forms, tabs, charts, maps, photo galleries and more. Each screen is a JSON file, navigation lives in one file, and your colors, spacing and type come from a theme.
That narrow format is the point. There is no custom code, so there is nothing for the agent to get subtly wrong at runtime. Everything it writes can be checked before it ever reaches a phone.
The whole loop
You need Node.js 20 or later, a Ynch Studio account and the Ynch app on your iPhone, signed in to the same account.
npm init -y
npm install --save-dev @ynch/cli
npx ynch connect
connect prints a Studio link. Approve the connection, pick or create a project, and the CLI writes a starter app into a .ynch folder.
Then hand the folder to Claude Code. This is the prompt from the docs, and it works well as written:
Build a Ynch app in the .ynch folder of this project.
Read https://docs.ynch.ai/llms.txt first, then the pages you need.
Rules:
- Only edit files inside .ynch. Do not change projectId or ynch.lock.
- Use only the components, props, style options and icons in the reference.
- After every change run `npx ynch check` and fix everything it reports.
- Do not run `ynch upload`. I will do that myself.
The app: <describe your screens, what each shows, and how you move between them>
When the agent is done:
npx ynch check
npx ynch upload
In Studio, open the project’s Releases page, approve and sign the draft, and make it active. Open the Ynch app on your iPhone, tap the project and choose Open Preview. That is the app your agent wrote, running on your phone.
Why it works well with agents
The docs are written for agents too. Every page on docs.ynch.ai is available as plain markdown, and /llms.txt indexes all of them. There is also a ready-made CLAUDE.md you can drop into the project from For AI agents.
ynch check is the judge. It reads the files, changes nothing and uses no network, and it reports each problem with a code, the file and the exact place. An agent that runs it after every change fixes its own mistakes before you see them. The usual ones are inventing a prop that does not exist or using a raw color instead of a theme token.
Nothing goes live without you. An upload is only a draft. You approve it in Studio, and Studio signs that exact version before your phone will open it.
Real data, when you want it
A preview does not have to be static. A Ynch app can read and write your own Supabase or MySQL database, call your own API, let your app’s users sign in, and take photos and PDFs. The app holds no keys, and it can only run the reads and writes you approve in Studio. We wrote that part up separately in Show your Supabase data in an iPhone app without writing Swift.
What it is not
Ynch apps run inside the Ynch app. They are not separate apps on the home screen or in the App Store, and you cannot add your own code. Ynch is iPhone only today.
Think of it as the step before the full build. You find out which screens matter, what the data needs to look like and whether people want to use it. When the idea has earned it, you build the App Store version knowing what it should be.
Northline Builders shows how far the format goes: a project tracker for a small construction company, with budgets, daily logs, photos and a live database.