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.10)

ToolchainHuman docsAgent indexAgent manifestDownloads
0.2.10/docs/0.2.10//agent/v0.2.10/index.json/agent/v0.2.10/manifest.jsonGitHub release
0.2.9/docs/0.2.9//agent/v0.2.9/index.json/agent/v0.2.9/manifest.jsonGitHub release
0.2.3/docs/0.2.3//agent/v0.2.3/index.json/agent/v0.2.3/manifest.jsonGitHub release
0.2.2/docs/0.2.2//agent/v0.2.2/index.json/agent/v0.2.2/manifest.jsonGitHub release
0.2.1/docs/0.2.1//agent/v0.2.1/index.json/agent/v0.2.1/manifest.jsonGitHub release
0.2.0/docs/0.2.0//agent/v0.2.0/index.json/agent/v0.2.0/manifest.jsonGitHub release
0.1.111/docs/0.1.111//agent/v0.1.111/index.json/agent/v0.1.111/manifest.jsonGitHub release
0.1.110/docs/0.1.110//agent/v0.1.110/index.json/agent/v0.1.110/manifest.jsonGitHub release
0.1.109/docs/0.1.109//agent/v0.1.109/index.json/agent/v0.1.109/manifest.jsonGitHub release
0.1.108/docs/0.1.108//agent/v0.1.108/index.json/agent/v0.1.108/manifest.jsonGitHub release
0.1.107/docs/0.1.107//agent/v0.1.107/index.json/agent/v0.1.107/manifest.jsonGitHub release
0.1.106/docs/0.1.106//agent/v0.1.106/index.json/agent/v0.1.106/manifest.jsonGitHub release
0.1.105/docs/0.1.105//agent/v0.1.105/index.json/agent/v0.1.105/manifest.jsonGitHub release
0.1.102/docs/0.1.102//agent/v0.1.102/index.json/agent/v0.1.102/manifest.jsonGitHub release
0.1.101/docs/0.1.101//agent/v0.1.101/index.json/agent/v0.1.101/manifest.jsonGitHub release