Working with agents
Supported agents
OAK captures native Claude Code and Codex sessions.
OAK captures native Claude Code and Codex sessions through hooks and transcript parsing. herdr manages their terminals, state and remote machines.
Capture support
| Agent | Capture | Setup |
|---|---|---|
| Claude Code | Before/after hooks and native transcripts | oak init |
| Codex | Native hooks, rollout parsing and reconciled snapshots | oak init with codex on the PATH, or oak init --codex alone |
Run oak doctor --fix to install the pinned herdr backend and its integrations. Start an agent in herdr or use oak agent start --kind claude or codex. Other terminals that herdr can run do not automatically gain OAK edit capture.
Models
Capture follows the agent’s hooks and transcript format. A model choice does not add a new capture integration. See Models for native model configuration.