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

# Codex

> Set up Autter for Codex and keep AI-authored code attributed automatically.

Autter works with Codex by checkpointing the changes Codex makes and carrying that attribution into Git history.

## What you get

* Automatic attribution for Codex-authored edits
* Commit-level summaries in `autter stats`
* Line-level review in `autter blame`
* Prompt and session context when the storage backend provides it

## Set up Codex

<Steps>
  <Step title="Install Autter">
    Install the CLI on the machine where Codex runs.
  </Step>

  <Step title="Install or refresh hooks">
    Run:

    ```bash theme={null}
    autter install-hooks
    ```
  </Step>

  <Step title="Restart Codex">
    Restart the agent so it loads the latest integration files.
  </Step>

  <Step title="Verify attribution">
    Ask Codex to edit a file, then run `autter status` and `autter stats HEAD`.
  </Step>
</Steps>

## Good follow-up checks

```bash theme={null}
autter blame src/service.ts
autter show HEAD
```

<Card title="How Autter works" icon="diagram-project" href="/cli/how-autter-works">
  See how checkpoints become authorship notes.
</Card>
