Create and update both leave the agent in draft. A draft is invocable by its author only, with no review required — build it, call it, iterate, and publish to the marketplace when you’re satisfied.
Create or update a draft
string
required
Agent name. Must be unique among your agents.
string
Agent identifier. Derived from the name when omitted. Passing an existing identifier updates that agent (it must be yours).
string
default:"0.1.0"
Version string.
string
Persona definition (Markdown).
string
Soul content.
string
Agent instruction content.
string
Skill content.
string
Opening message.
object
Sandbox template; same fields as an Environment
template.object[]
Tool configuration.
description, category, tags, changelog, overview.
curl
curl
Update a draft
name and version are carried forward from the current row.
Publish to the marketplace
string
Release version. Defaults to the current version.
string
Release notes.
Other operations
Errors
Next steps
Sessions
Create long-lived sessions and append events
Environments
Define sandbox runtime and dependencies

