# Codex

Add ZeroWidth to Codex with two commands.

## Connect

Run both commands in a terminal, with your team's address in place of `<address>`.

```Terminal
codex mcp add zerowidth --url <address>
codex mcp login zerowidth
```

Sign in to your team when the browser opens.

## Teach Codex when to record decisions

Download [AGENTS.md](https://zerowidth.ai/docs/files/codex/AGENTS.md), and put the text in `AGENTS.md` at the top of the project. If the project has the file already, add the text to the end.
