Managing Observal Agents
Execution contract
- Execute commands with a 60 second timeout.
- Use machine output by default: add
--output jsonwhenever supported. Parse list results fromitemsand pagination fields. - Use
--helpbefore acting when a path or flag is uncertain. - Keep workflows noninteractive. Supply required fields,
--no-prompt, and confirmation flags. - Use UUIDs or
qualified_namevalues returned by JSON. Never automate with row numbers. - Prefer native
agent init,agent add, andagent buildover hand-written scaffolding or custom validation. - Verify every publish, release, pull, ownership, and lifecycle mutation.
- Never print MCP environment values, headers, tokens, or other secrets.
- Mutations are sent once. After an uncertain transport failure, read Agent state before retrying.
Choose the workflow
| User intent | Workflow |
|---|---|
| Find or inspect an Agent | Discover and inspect |
| Install an existing Agent into a harness | Pull and verify |
| Create a simple Agent in one call | Direct create |
| Author an Agent with components or files | Init, add, build, publish |
| Change the current listing without a new reviewed version | Update in place |
| Publish a reviewed patch, minor, or major version | Release |
| Create many Agents from a prepared file | Bulk create |
| Archive, restore, transfer, or manage co-authors | Lifecycle and collaboration |
Read Agent workflows completely before executing the selected workflow.
State rules
createwithout complete flags starts a wizard. Agents must provide all required inputs or use a file.publish --updatechanges the current Agent in place.release --bumpcreates a reviewed version. Do not use update when the user asked for a release.- Public teamspace publication may remain private with a pending visibility or listing review. Report the actual returned status.
- Pull success requires checking
files,warnings, andsetup_commands. Partial setup is not success. - A 409 is a decision point, not a generic retry signal. Read current state before choosing update or release.
Completion
Report the canonical Agent identity, resulting status and version, files changed for local operations, warnings, and the smallest next action. Verify with agent show, agent versions, or scan when the mutation response is not sufficient.

