Agent portal
Agents should consume JSON endpoints. The HTML pages under /agent are for discoverability and link to stable, machine-first contracts.
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.jsonStart here
- 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.1.79)
| Toolchain | Human docs | Agent index | Agent manifest | Downloads |
|---|---|---|---|---|
0.1.79 | /docs/0.1.79/ | /agent/v0.1.79/index.json | /agent/v0.1.79/manifest.json | GitHub release |
0.1.78 | /docs/0.1.78/ | /agent/v0.1.78/index.json | /agent/v0.1.78/manifest.json | GitHub release |