Autonomous agent loop integration
OpenGantry is the CLI contract + verify envelope for external autonomous agents (e.g. Hermes). Contract = mission YAML (scope + gate_command); verdict = gantry verify pass/fail with findings[] on failure. The executor agent implements code, builds skills, and retries — it does not parse raw terminal output.
All docs: index.md · Use cases: USE-CASES.md
Workflow
gantry init --discover [--domain code|content]— fast-path scanner emits.gitagent/discovery-proposal.json(no baseline writes until confirmed). Use--domain contentfor brand/compliance corpora (markdown, HTML).gantry blueprint [--domain code|content]— interview producesARCHITECTURE.md,TARGET_ARCHITECTURE.yaml, and.gitagent/verification_plan.json.- Executor reads
required_skillsin the verification plan and creates missing tooling before coding. - Executor legislates mission using
gate_commandsfrom the verification plan asgate_command. gantry verify --mission … --json— on failure, ingestfindings[]:
{
"status": "failed",
"envelope_schema_version": 2,
"findings": [
{
"failed_gate": "gate",
"offending_file": "",
"line": 0,
"severity": "error",
"resolution_hint": "run gate (npm test); append evidence to EXECUTOR_LOG.md"
}
]
}
- Retry loop — executor maps each finding to a fix task until verify passes.
Surfaces
| Surface | Format |
|---|---|
gantry verify --json | VerifyFailedPayload with findings[] |
gantry verify --format sarif | SARIF 2.1.0 with properties.resolution_hint |
MCP gxt_verify | Same JSON payload as --json |
See ADR-0032.
Content domain example
Brand/compliance ad copy uses the same loop with --domain content and gantry perimeter check (regex rules in schema 0.3.0). Walkthrough fixture: examples/content-governance/. See DOMAINS.md.