Build
Build agents and workflows as documents
Read an agent or workflow as one JSON document, change it, and put it back over MCP or REST.
The Build surface lets an MCP client, a script or the CLI read an agent or a workflow as one JSON document, change it, and put it back. This section is the whole contract.
- Endpoints: the two MCP endpoints and the REST twin.
- Authorization: why Build is OAuth-only.
- Agent document and workflow document: the contracts.
- Concurrency:
updated_atandIf-Match. - Publishing: who publishes, and what
appliedmeans. - Test runs: credits and polling.
- Untrusted output: treat run output as data.
A document is at most 64 KiB of UTF-8; anything larger is refused with 413 before it is parsed.