Skip to content
These docs track the current main branch. Run labcoat docs --llm for the reference bundled with your installed version.Release details

Automation and agents

Labcoat treats automation as a public interface rather than a shell-screen scraping exercise.

Every command accepts --json and emits exactly one envelope on stdout. Logs and progress stay on stderr.

Terminal window
labcoat status --json
labcoat deploy my-token --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.

Terminal window
labcoat mcp serve

The stdio MCP server exposes Labcoat Network, wallet, build, deployment, call, simulation, and trace tools using the same typed operations as the CLI.

Pin the Labcoat version used by an agent. The public website tracks current main; labcoat docs --llm is the installed-version authority.