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.
Stable machine entrypoints
GET /agent/latest/entrypoints.jsonGET /agent/latest/index.jsonGET /agent/latest/manifest.jsonGET /agent/latest/schemas/index.jsonGET /agent/latest/skills/index.jsonGET /agent/latest/examples/index.jsonGET /agent/latest/examples/catalog.jsonGET /agent/latest/packages/index.jsonGET /agent/latest/stdlib/index.json
Browse
Minimal agent loop
- Docs: Agent workflow
- Docs: Diagnostics & repair
- Docs: Sandbox policy walkthrough
- Docs: Publishing by example
- Docs: Porting by example
- Docs: Testing by example
- URL contract: Agent portal contract
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.jsonAgent bootstrap
This is the shortest supported path from a fresh toolchain download to a working machine-driven edit, repair, run, and test loop.
- Choose a toolchain version from
/versions/toolchain_versions.jsonand download the matching release assets (toolchain builds + skills pack + docs bundle) fromhttps://github.com/x07lang/x07/releases(see Install). - Create a project with
x07 init(see Your first X07 program). - Run lint:
x07 lint(readx07diagJSON output). - Apply JSON Patch fixes:
x07 fixorx07 ast apply-patch. - Run tests:
x07 test(readx07testJSON output).
Toolchains
Source of truth: /versions/toolchain_versions.json (latest toolchain: 0.2.10)