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

AgentCaptureSetup
Claude CodeBefore/after hooks and native transcriptsoak init
CodexNative hooks, rollout parsing and reconciled snapshotsoak 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.