# How Alta works

> From a file on your disk to a quest in a player's world: write, check, preview, publish, and the player agrees.

You write content as JSON files: quests, a universe, a store item. `alta lint` validates them, `alta dev` shows them in the game, and once published they reach players' worlds, where every action still waits for the player's yes.

*Diagram: From the file to the game: a file is checked by alta lint, previewed with alta dev, or packed and published to the store, and reaches the player's world.*

## The game reads, the player decides

Alta's game is a world drawn from the player's real machine: their agents, modules and automations become places and characters. Quests are real steps on that machine, and a quest is only done when the machine proves it. Nothing in the game acts before the player agrees on a plan card.

## What you write

Everything an author makes is a data file with a standard: a **quest pack** adds quests, an **onboarding** variant changes the welcome, **cinematics** are scenes, a **universe** is a whole new look, a **store item** installs something, a **mission** sends an agent. None of them holds code. They name actions and checks from closed lists the game knows, which is why a stranger's pack can be safe to open.

## The loop

1. `alta new` writes a skeleton that already passes.
2. You edit it, in any editor; the JSON Schemas that `alta schemas` writes can give your editor completion.
3. `alta lint` applies the same rules the game applies, and links each problem to its fix.
4. `alta dev` opens the game with your content, in a temporary copy, without touching any real world.
5. `alta package` and `alta publish` prepare it for the store, pinned to an exact commit.

Your coding agent can do the same loop through the author MCP: it scaffolds, writes and checks inside one folder, and nothing else.

## What it means for you

- Start with the [Quickstart](https://docs.altasystem.ai/quickstart): one quest in your game in five minutes.
- Read [A quest is done when the machine proves it](https://docs.altasystem.ai/concepts/quests-and-proof) before your first real quest.
- Keep `alta lint` green: what it accepts, the game plays.

**Next:**

- [Quickstart](https://docs.altasystem.ai/quickstart)
- [Your first chart in 5 minutes](https://docs.altasystem.ai/charts/quickstart)
- [Use with your agent](https://docs.altasystem.ai/start/agents)
