> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tiny-brain.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Quickstart

> From zero to a live, guarded coding loop in three commands

Three commands stand between a fresh install and a tracked, test-driven
coding loop:

```bash theme={null}
curl -fsSL https://get.tiny-brain.com | sh   # or brew / the MCPB bundle
tiny-brain init
```

Then, inside your AI tool:

```
/plan "add user authentication"
```

That's the whole setup. Here's what each step actually did:

<Steps>
  <Step title="Install">
    Puts the `tiny-brain` CLI on your path. See [Install](/getting-started/install)
    for Homebrew, the installer script, and the Claude Desktop bundle.
  </Step>

  <Step title="tiny-brain init">
    Analyses your repo, installs the TDD git hooks, and writes the agent
    context. From here on, commits follow the RED → GREEN → REFACTOR pipeline
    and are validated by the hooks.
  </Step>

  <Step title="/plan">
    Your agent works with you to shape the request into a PRD — features and
    tasks as markdown in `docs/prd/` — then works through the tasks
    test-first, with an adversarial review after every implementation
    commit.
  </Step>
</Steps>

While the loop runs, the dashboard streams every step at
[http://localhost:8765](http://localhost:8765) — plans in flight, per-task
Red/Green/Review pipelines, diffs, and review verdicts. Take the
[dashboard tour](/getting-started/dashboard) to see what's there.

To understand what the agent is doing on your behalf — and what the hooks
will and won't let it commit — walk through
[your first PRD](/getting-started/first-prd).
