About two weeks ago, I tried out Atuin’s AI Agent Hooks to capture commands run by coding agents like Claude Code, Codex, and pi.
I installed the Codex hook (atuin hook install codex), but no commands showed up when running atuin search --author '$all-agent’. It turns out Codex hooks are behind a feature flag. To enable them, add the following to config.toml:
[features]
codex_hooks = true
Restart Codex after adding this.
Without this flag, hooks.json may be written correctly, but Codex won’t read it. Hopefully Atuin’s AI Agent Hooks will support Amp in the future.