Stuarty is built to be operated by an agent as much as by a person: everything a person does in the interface is also a command. There is one command core. The MCP server, the CLI, the HTTP API and the browser editor are thin adapters over it, so they all produce the same project document, and a person and an agent share one history.
An agent works in the same domains a person does: project, video, image, writing, assets, publishing, providers, memory and workspace. Each page is generated from the registry and lists the tools, the commands and the operations of the domain.
The three ways in#
| Way in | Use it when | Start with |
|---|---|---|
| MCP server | the agent runs in a client such as Claude Code or Cursor | Connect an agent |
| CLI | the agent has a shell | CLI reference |
| HTTP API | you write your own client | the local server, on 127.0.0.1:7878 |
With nothing connected, the product sends nothing outside your computer, and an agent cannot make it. An agent works only with the destinations a person connected; it can prepare a publication or a costly generation, and a person approves it in the approval queue. Nothing an agent can call deletes data for good, and every edit can be undone.
The loop#
project_create(orproject_list), read what the person wrote about the project (project_getwithdetailoverviewstarts with its description and goal, as data), add a video withproject_item(actionadd,kindtimeline), thenmedia_importfor the source files.editwith a batch of operations. A batch applies all or nothing, as one undo step, and needs thebase_revisionyou read fromproject_getor from the previous edit.lint, thenjob_startwithkind=export, thenjob_getuntil the job is final.
Every time is a string with a unit: 12.5s, 375f or 00:00:12.500. A bare number is rejected. Call command_help to list the operations, or with a name for its schema and an example; the same text is in the operations of the edit tool.
When a call fails#
A failed call returns code, message, hint and retryable. Retry only when retryable is true. An E_REVISION_CONFLICT carries the changes since your revision: read them and plan again. The codes are in the error codes page.