Skip to content

Use the docs with your agent ​

Your coding agent (Claude Code, Codex or any other) can write Alta content as well as you can, if it reads the same docs and uses the same checks. This page gives it both.

Before you begin 5 minutes

  • The alta command on your path: see Install the CLI.
  • An agent that can run commands or connect to an MCP server.
  1. Point it at the docs

    The docs are published for agents too. https://docs.os.altasystem.ai/llms.txt lists every public page with one line each, and llms-full.txt holds the whole site in one file. Every page is also served as plain Markdown: add .md to its address.

    Give your agent the address of llms.txt and let it pick the pages it needs.

    Prompt
    text
    Read https://docs.os.altasystem.ai/llms.txt,
    then the pages you need. Write Alta content
    in ./my-pack. Run `alta lint my-pack` after
    every change, and fix every problem it
    reports before you stop.
  2. Connect the author MCP

    alta mcp --author --root <dir> starts an MCP server on standard input and output. It gives your agent tools to create, read, write and check content inside one folder, and nothing else: no command, no network, no file outside the root.

    Its tools: genres (what can be made), docs (the guides, standards and examples), schema, executors and checks (the closed lists of actions and proofs), step (check steps on their own while writing them), scaffold, list, read, write, check and pack (a dry run that writes nothing).

    Terminal
    sh
    claude mcp add alta-author -- alta mcp --author --root .
  3. Or let it use the CLI

    Without MCP, the agent runs alta like you do. Two outputs are made for it: alta help --json describes every command, its options, examples and exit codes, and the versions of every standard; alta lint --json gives each problem with its rule, field, fix and the link to its section of the errors page.

    Terminal
    sh
    alta help --json
    alta lint my-pack --json
  4. Check its work

    Whatever the agent wrote, alta lint is the judge: what it accepts, the game plays. Then look at it yourself in the game.

    Terminal
    sh
    alta lint my-pack
    alta dev my-pack

Pitfalls ​

DoAvoid
Give the agent one folder as its rootA root that holds other projects or secrets
Ask it to run alta lint until it passesTrusting a pack that was never checked
Let it read the examples through docsFields invented from memory

The author tools never touch a player's world. An agent working in a world can only propose actions; the player agrees in the game. See The plan card and the player's consent.

What's next

Alta OS is open source (MIT).