Replies: 1 comment 6 replies
-
Dify publishes agents (apps) directly upon creation because that's how the platform is designed—there is no draft or unpublished state for agents. When you create an agent, it's immediately committed to the database and becomes active; the codebase and API do not support saving agents as drafts or in an unpublished state. This is different from workflows, which do support drafts and publishing as separate steps. The reasoning appears to be that workflows are more complex and often need iteration before going live, while agents are treated as simpler and are published immediately by design. Supporting a draft state for agents would require significant architectural changes, and there is no evidence of such a feature in the current codebase or recent updates (source, service logic). If you want to store agent creation information externally before publishing, you could prepare and manage your agent data in your external system, then use the Dify API to create/publish the agent only when you're ready. There is currently no built-in way to save agents as drafts within Dify. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Self Checks
Content
I hope to store the creation information of the agent in an external application, but when creating the agent, updates can only be published directly.
Beta Was this translation helpful? Give feedback.
All reactions