# Introduction

Oak is version control, and the hosting around it, for people who work alongside coding agents. Your agent (Claude Code, Codex, Cursor, or anything else that can run a shell command) reads, writes, branches and publishes through the `oak` CLI, and you review and merge what comes back.

Oak doesn't run agents. You bring your own. Oak makes no AI calls on your behalf and doesn't train on your code.

## The five ideas

Most of what's in these docs follows from five decisions.

1. **A branch is a task.** It's one unit of work, usually one agent session, rather than a long-lived line of development. `oak init` and `oak clone` put you on a fresh personal branch, and you make a new one for each task.
2. **Commits are checkpoints; the branch description is the message.** `oak commit` takes no `-m`. What the change *is* gets written once, on the branch, with `oak desc`.
3. **`main` lives on the server, and only merges reach it.** You never commit to `main` locally and direct pushes to it are refused. Publishing a branch and merging it are separate steps, and merging is a human's call.
4. **Merging squashes.** A merged branch becomes exactly one commit on `main`, whose message is the branch description. `main` reads as one line per task.
5. **You don't need the whole repo.** A [shallow clone](/docs/sparse-clones#other-ways-to-clone-less) leaves out the history, a [sparse clone](/docs/sparse-clones) checks out only the directories you name, and [`oak ls --remote` and `oak cat --remote`](/docs/remote-inspection) read a repo on the server without cloning it.

Around that, oak.space has what a group needs to land changes: [marks](/docs/marks) for what passed and what's deployed, [access rules](/docs/path-permissions) per directory, organizations, webhooks, and a JSON API.

## Where to start

| If you want to… | Read |
|---|---|
| Install the CLI and sign in | [Install and sign in](/docs/install) |
| Get a repo onto Oak and merge your first change | [Quickstart](/docs/quickstart) |
| Translate what you know from Git | [Coming from Git](/docs/coming-from-git) |
| Point a coding agent at Oak | [Working with agents](/docs/agents) |
| Run several agents on one big repo | [Example: a fleet of agents](/docs/example-session) |
| Record what passed, or deploy from a commit | [Marks](/docs/marks) |
| Look up a command or flag | [CLI reference](/docs/cli) |
| Script against oak.space | [HTTP API reference](/docs/api) |

## Platforms

The `oak` CLI ships for **macOS** (Apple Silicon and Intel), **Linux x86_64**, and **Windows x86_64**. A Linux ARM64 binary is published too, but the installer doesn't select it yet; see [Install](/docs/install#install-the-cli).

## For agents

Every page has a **Copy page** button and a **.md** link that return its Markdown source, and [`/docs/llms-full.txt`](/docs/llms-full.txt) is every page in one file. `oak skill install` puts an `oak-vcs` skill into your repo so agents pick up the workflow without being told. See [Working with agents](/docs/agents#install-the-agent-skill).

## Getting your data out

`oak export` replays an Oak repo's full history into an ordinary Git repository, keeping each commit's author, email, and timestamp. See [Git import and export](/docs/git).
