Automation and agents
Labcoat treats automation as a public interface rather than a shell-screen scraping exercise.
JSON mode
Section titled “JSON mode”Every command accepts --json and emits exactly one envelope on stdout. Logs
and progress stay on stderr.
labcoat status --jsonlabcoat deploy build/MyToken.wasm --dry-run --json{ "ok": false, "command": "deploy", "schema": "labcoat/v1/error", "error": { "code": "WALLET_MISSING", "message": "project wallet does not exist", "hint": "run `labcoat wallet init` first" }}An envelope being printed produces exit code 0, even when ok is false. Read
the envelope rather than inferring application success from the process code.
MCP mode
Section titled “MCP mode”labcoat mcp serveThe stdio MCP server exposes devnet, wallet, compilation, deployment, call, simulation, and trace tools using the same typed operations as the CLI.
Context endpoints
Section titled “Context endpoints”/llms.txtis the concise index./llms-full.txtcontains the full public documentation.- Every docs page has a sibling
.md.txtURL. /reference/cli.jsonis the structured reference./skill.mdis the canonical workflow for coding agents.