{"version":"v1.0","client_state":{"DocsNavigation.default":{"fields":{"query":""},"persist":"memory","send_to_server":true},"ColorScheme.default":{"fields":{"mode":"system"},"persist":"local","send_to_server":true}},"endpoints":{"action":"/_bretzel/action","sse":"/_bretzel/sse","refetch":"/_bretzel/refetch"},"csrf":"cca15b2a13c5251e8b3c14272e4c1f88","page_id":"854372d1d5c546abb5aa200e144cf9d7","address":""}
Documentationv0.1.0a9 · Early alpha

The mockup is the app.

Ask your AI agent for a screen: it mocks it fast, a throwaway page on invented data made of the components the finished screen ships. You approve it on screenshots, then say “Build it”: the same code is wired to typed state — in Python only, with no JavaScript project or npm toolchain to maintain.
A live mockup, not a screenshotHow it was made

Today's repairs

6 bikes in the workshop

Booked today

6

Ready to collect

2

Expected today

€374.50
Camille MartinCity bike · Gazelle Esprit
Rear derailleur bent, the chain skips under load
Waiting for parts€35.00
Thomas LeroyRoad bike · Trek Domane AL 2
Brake bleed front and rear, new pads, and a hydraulic hose that weeps at the lever after every long descent
In progress€82.50
Ana SilvaCargo bike · Urban Arrow Family
Front puncture
Ready€18.00
Paul DuboisKids' bike
Yearly check before the holidays
Booked€30.00
Sofia GarnierE-bike · Moustache Samedi 28
Motor error E-07 at start-up
In progress€64.00
Marc FournierGravel · Specialized Diverge
Full service
Ready€145.00
Try the early alphaPython 3.12–3.14
python -m pip install bretzel
bretzel new hello-bretzel
cd hello-bretzel
python -m pip install -e .
bretzel dev

The mental model

Typed state

The server owns the source of truth in explicit, testable Python objects.

Python actions

Interactions call handlers without writing a second application on the client.

Reactive UI

When state changes, Bretzel updates only the fragments that depend on it.

Underneath: UI = f(state)

Describe the interface, change the state, and let Bretzel keep the browser current.See how Bretzel works