Skip to main content

Agent portal

/agent is the machine entry surface for coding agents. Agents should consume the JSON endpoints directly; the HTML pages under /agent exist so humans can discover the contract without scraping repo internals.

If you are evaluating X07 as a human, start with Docs home and Getting started. If you are wiring an agent integration, start with the stable machine entrypoints below.

Browse

Minimal agent loop

x07 init
x07 fmt --input src/main.x07.json --write
x07 lint --input src/main.x07.json
x07 fix --input src/main.x07.json --write
x07 run
x07 test --manifest tests/tests.json

Agent bootstrap

This is the shortest supported path from a fresh toolchain download to a working machine-driven edit, repair, run, and test loop.

  1. Choose a toolchain version from /versions/toolchain_versions.json and download the matching release assets (toolchain builds + skills pack + docs bundle) from https://github.com/x07lang/x07/releases (see Install).
  2. Create a project with x07 init (see Your first X07 program).
  3. Run lint: x07 lint (read x07diag JSON output).
  4. Apply JSON Patch fixes: x07 fix or x07 ast apply-patch.
  5. Run tests: x07 test (read x07test JSON output).

Toolchains

Source of truth: /versions/toolchain_versions.json (latest toolchain: 0.2.17)