The builder is where an app starts. It is a four-step wizard, and each step has a narrow job. Knowing what each one writes, and which ones depend on a model being configured, makes the difference between a five-minute app and a frustrating afternoon.
Step 1: describe the app
The first screen asks for one thing: what the app should do. The hint is specific for a reason: be specific about the inputs you will provide and the outputs you want. The generator turns nouns in your description into form fields and output panels, so "upload a first notice of loss PDF, pick the line of business" produces better fields than "help with claims". Name and category are optional; if you leave the name empty, Studio takes the title the generator proposes and derives the slug from it.

Pressing Draft my app does more than call a model. Studio reserves a unique slug, creates the app as a
draft owned by you, and stores the generated bundle as version 0.1.0. From that moment the draft exists:
it appears under My apps and you can come back to it later at /builder/<slug>.
Step 2: review and edit
The second step has five tabs: App metadata (slug, name, descriptions, category, icon, tags), Widget (the form and output panels as JSON, with a live preview), Workflow (the steps and their prompts as YAML), Plan (the agent's playbook in Markdown) and Refine with prompt. Editors validate as you type, and the badge at the top tells you which generator produced the draft.

Saving here updates the draft version in place; it does not create a new version. That changes only once a version has been
published: editing a published app starts a fresh draft (0.2.1-draft, say) so the published version stays exactly as it
was. The slug is fixed once created, because it names the app's folder in the shared bucket.
Step 3: test run
The test step renders the real form from your widget and runs it exactly the way a teammate would: a run is queued against the current draft, a worker claims it, and each output panel moves from pending to running to done as the step events arrive. The run log on the right shows the same events as text. File inputs upload first (to the configured bucket, or to local storage on the API host) and the form passes a reference, not the file, to the run.

Publishing stays disabled until you have run the app at least once. That is a small rule with a useful effect: nobody publishes a form they have never seen working.
Step 4: publish
The publish step re-runs the bundle validator and shows the result first: errors block publishing, warnings do not. It then asks for a version number (with + patch, + minor and + major helpers based on the current head) and optional release notes, up to 1,000 characters.

What publishing does depends on configuration:
| Configuration | What Publish does |
|---|---|
| No bucket configured | Sets the version number and release notes on the draft, marks the app published and records who published it and when. The app appears in the marketplace for anyone it is granted to. |
STUDIO_ARTIFACTS_BUCKET set | First uploads every bundle file plus a generated manifest.yaml to apps/<slug>/v<version>/ and moves LATEST; refuses if that version already exists. Only if the upload succeeds does the database flip to published, so a failed publish is safe to retry. |
Only the app's owner or a Studio administrator can publish. Once published, the version is immutable; the next change is a new version.
A checklist before you press Publish
- Every input a teammate needs is in the form, with a clear label, and required fields are marked.
- Every output panel's
keymatches a step id, so each step's result lands in a panel. - The plan's What to escalate to a human section names the cases where the agent should stop.
- You have run it with realistic inputs and read every panel.
- The release notes say what changed in words the people running it will understand.
- You know who should get access, and you add the grant straight after publishing.