Publish your app
1
Check the preview
Try the main flows in the Preview tab first.
2
Click Publish
The Publish button sits at the top right of the editor’s workspace, next to Share. On a phone, open the preview to find it.
3
Wait for the build
The button shows Publishing… while Duet Agents builds the app. This can take a while.
4
Open the live app
When it’s done, a notice says “App name published”. Click View app to open it in a new tab.
Publish button states
Hover over the button to see the same status as a tooltip, for example “This app has changes not published yet”. Any change to the app’s code since the last successful publish counts as an unpublished change, whether the AI made it or you saved it yourself.
Publish new changes
After the first publish, the button opens a menu with:- when the app was last published, for example “Published today at 3:04 PM”
- the live URL, with a Copy link button
- Publish latest changes, which publishes your current code. When nothing has changed, it reads Up to date and is disabled.
Publish from chat
You can ask the AI in the app editor to publish instead of clicking the button:Publish the app.
Is the live app up to date?The AI publishes once it has saved its code changes, and the chat shows Started deployment. The Publish button shows the progress. If a publish is already running and started before your latest changes, the AI tells you those changes won’t be included.
Publish from a coworker
AI coworkers can publish the apps they have access to, including apps they created. See Give coworkers access to apps. A coworker waits for the build to finish. The chat shows Deploying app…, then Deployed app or Deployment failed. When a build fails, the coworker gets the build log, so it can fix the error and publish again. If an agent’s first publish of an app fails, the app isn’t left published. When a coworker publishes an app from a Slack conversation, it posts a card with an Open app button after its reply. If it took screenshots of the preview while checking its work, they’re posted first. See Slack.When a publish fails
If the build fails:- A notice says “App name publish failed” with “Please check the errors in the logs.”
- The Publish button gets a red dot, and its menu shows “Publishing failed” with a See errors button. See errors opens Publishing logs with the build output.
- Duet Agents sends the build logs to the app’s AI chat automatically, so the AI starts fixing the problem. The chat shows this as “Publish failed — asking the builder to fix it”. When it’s done, click Publish latest changes again.
The Logs tab shows the preview’s logs, not the live app’s. Duet Agents doesn’t show logs from the published app.
Undo a publish
There’s no deployment history or one-click rollback. The Publish menu only shows the latest publish. To go back to an earlier version:- In the app chat, find the checkpoint (“Your progress has been saved.”) from before the change you want to undo, and click Restore.
- Confirm. This reverts the code and deletes the chat messages that came after that checkpoint in the conversation.
- Click Publish latest changes.
Open a published app
On the Apps page, click a published app to open it inside Duet Agents Inc.luding in the Duet Agents for Mac app. The bar above it has:- Back to Apps (the back arrow).
- Reload app.
- Edit, if you can edit the app. It opens the app editor.
- Open in browser, which opens the app at its own URL in a new tab.
Install as an app
Published apps can be installed like a desktop app in Chrome, Edge and Brave. When you open the app at its own URL, a banner offers “Install app name as an app” with an Install button. Click it to use your browser’s install dialog. If you dismiss the banner, a smaller Install app button stays available. The banner doesn’t show in the editor’s preview or when the app opens inside DuetAgents. Apps get the banner and their installed icon on their next publish. See Phones and installing as an app.Your app’s URL
Every app lives at:sales-dashboard in an organization with the slug acme is at https://sales-dashboard-acme.useduet.app.
- The app slug is set when you create the app. It comes from the app’s name, or from the App URL field if you start with a blank app. It must be at least 3 characters, and the whole
<app-slug>-<org-slug>part can be at most 51 characters, so a longer organization slug leaves less room for the app slug. See Creating apps. - The URL never changes. Renaming the app doesn’t change its slug, and you can’t edit the slug later.
- No custom domains. Apps are only available on their
useduet.appURL. - Sign-in required. Everyone who opens an internal app’s URL must sign in to Duet Agents and have access to the app. Public apps are sites, with a public link you turn on from the site’s Share dialog.
What visitors see
Take an app offline
There’s no unpublish button. To take an app offline, archive it:- On the Apps page, open the app’s … menu and choose Archive app.
- Confirm with Archive App. If the app is published, the dialog warns “This app is currently published. Archiving will un-publish it.”

