Skip to content

microagent contract

Last updated: 2026-06-27

microagent [--json] contract

contract prints the fields a host integration can rely on: lifecycle commands, states, readiness signals, result fields, artifact channels, mediation fields, and verification. Use it when you are building an agent runtime or host integration and need a JSON description of what microagent reports.

Terminal window
microagent --json contract

contract takes no flags of its own.

See global flags for --json/--text/--output/--mode.

contract exits 0 on success. In AX mode a failure is written as a structured error envelope.