# AGENTS.md

Lightweight coding agent that runs in your terminal

## Setup

```
pnpm install
```

## Commands

```
pnpm format               # format
pnpm format:fix
pnpm write-hooks-schema
```

## Layout

- `codex-rs/`  4101 source files
- `sdk/`       100 source files
- `scripts/`   45 source files
- `tools/`     18 source files
- `codex-cli/` 4 source files
- `bazel/`     3 source files

## Conventions

- Tests live alongside the code they cover, following `.codex/skills/babysit-pr/scripts/test_gh_pr_watch.py`.
- CI defines what passing means. See `.github/workflows/bazel.yml`, and keep it green.
- TODO: add the two or three conventions a newcomer always gets wrong here.

## Gotchas

- `codex-rs/tui/src/bottom_pane/chat_composer.rs` is 499KB. It will not fit comfortably in context, so read it in parts.

---

Drafted by agentreadme.com from what is in this repository. Everything marked TODO
needs a human. Check it in as AGENTS.md at the root.
