Install

npm install -g @jeger-ai/opengantry

Or use it per-project:

npx @jeger-ai/opengantry init --tutorial

Verify the CLI is available:

gantry --version
gantry doctor

Bootstrap your repo

From your project root:

gantry init --tutorial

This scaffolds:

ArtifactRole
.gitagent/missions/Mission YAML scope and gate commands
.gitagent/foreman/MANIFEST.jsonSkill routing, TMVC roots, risk tiers
.gitagent/planner/RULES.mdGovernance law
.githooks/Pre-commit and pre-push enforcement
EXECUTOR_LOG.mdVerbatim PASS quotes for verify

Set your Planner identity:

export GANTRY_PLANNER_EMAILS="$(git config user.email)"

Your first mission

1. Legislate scope

gantry legislate "hello world mission" --msn MSN-0001 --skill-key gantry

The Planner commits [MSN-0001] with the mission YAML. Review the generated file under .gitagent/missions/.

2. Pin and bootstrap runtime

scripts/gxt-pin-mission.sh .gitagent/missions/MSN-0001.*.yaml
source scripts/gxt-runtime-env.sh

Wire MCP (gantry mcp serve) and hooks in your agent harness for the full closed loop. See the integration guide for Cursor, Claude Code, and other tools.

3. Execute within scope

Do your work within the mission’s TMVC roots. Append trace evidence to EXECUTOR_LOG.md with verbatim PASS quotes.

4. Verify

gantry verify --mission .gitagent/missions/MSN-0001.*.yaml

On failure, use --json for structured findings[] that external agents can retry against:

gantry verify --mission .gitagent/missions/MSN-0001.*.yaml --json

Discover existing conventions

Already have a codebase? Scan before legislating:

gantry init --discover --domain code
gantry blueprint --domain code --yes

For markdown or HTML corpora:

gantry init --discover --domain content
gantry blueprint --domain content --yes

Next steps

GoalResource
5-minute adoption guidedocs/ADOPTION.md
Domain adaptersdocs/DOMAINS.md
External agent integrationdocs/AGENT-LOOP.md
Content governance exampleexamples/content-governance
Contributingdocs/DEVELOPMENT.md