Publish, Draft and Live
How the Draft and Live versions of an agent work, what publishing does, and who can run each one.
Every agent has a Draft version you work on and a Live version people use. This article explains how the two relate, what publishing does, and what to check before you click Generate or ask for a change.
The two versions
| Version | Who sees it | What it is for |
|---|---|---|
| Draft | You, in AI Builder | Editing and testing. A test run uses the Draft. |
| Live | Everyone with access to the app | The version that runs from the page named on the agent's card (Runs from), from page code, from integrations and from the API. |
App users and integrations run Live. You edit and test Draft. Applying your changes publishes Draft to Live. For new agents, review the Blueprint and click Generate to create and publish them with the app. Test before applying changes.
How a change reaches Live
- In AI Builder, ask for a change in chat, for example "Make the summary shorter" or "Add the customer's country as an input". The change goes to Draft. Review the updated agent on the Blueprint.
- On the Blueprint, in the Custom Agents tab, expand the agent's Instructions & example run and click Run the example to test the Draft. To test your own inputs, use the API test route. See Test an agent.
- Apply your changes to publish Draft to Live. For new agents, click Generate to create and publish them with the app. To change the agent later, see Change an app after it's generated.
- Once the change is applied to Live, the next run uses the new version.

You build and publish agents in the app's development environment. Changes aren't possible in other environments. A change attempted outside development fails with error KISSFLOW_ERROR_20601 ("Custom Agents can only be authored in the Development account.").
Publishing copies Draft to Live. If publishing fails, Live stays unchanged.
Before you generate or change an agent
- Test with real, messy examples. For a repeatable method, see Evaluate agent quality.
- Check what depends on the agent. Pages and integrations rely on its inputs and outputs. Adding a required input, or removing or renaming an output, can break them.
- Remember test runs act for real. Tools run for real in a test run, not just in Live.
Good to know
- Two versions. An agent has Draft and Live, and publishing replaces Live. Keep a copy of working instructions outside Kissflow, for example with your test set.
- App-wide access. Everyone with App Admin, Edit or View permission on the app can run every published agent in it. Put agents with sensitive tools in an app only the right people can open.
Who can do what
| You want to | You need |
|---|---|
| Build, edit, test and publish agents | App Admin or Edit permission, in the app's development environment |
| Run a published agent | App Admin, Edit or View permission on the app |
Note
Publishing puts the agent Live in the development environment. To make it available in production, deploy the app. See Deploy to production.

