Credentials. The live record file captures agent activity from a real user session, so restrict file permissions and review who can read it.
Who it is forA platform operator who wants continuous visibility into a Codex user's activity on a shared workstation.
The problemPast-session scans show history only after the fact, and operators need to see activity as it happens.
The outcomeLive Codex events, findings, and indicators written to ~/.numbat/records.ndjson, with hooks running in monitor-only mode.
What you need first
- A macOS, Linux, or Windows machine with a terminal
- The numbat binary, from a release download or Go 1.26.9 or newer
- At least one supported agent installed, such as Codex or Claude Code
- Permission to read the agent's local session files and, for live capture, to change its hook configuration
Steps
- Install Numbat, then run
numbat hook install --agent codex --emit all. - Run
numbat hook status --agent codexto confirm the configuration is in place. - Open
/hooksin the Codex CLI, or Settings > Hooks in the Codex app, and review and trust the hook definition. - Run a short Codex task and check that new lines appear in ~/.numbat/records.ndjson.
- After each Numbat upgrade, rerun
numbat hook install --agent codex --emit allwith the same options and review trust again.
Prompt for your agent
Use the repo perplexityai/numbat. Run `numbat hook install --agent codex --emit all` and then `numbat hook status --agent codex` on <target-machine>. Report the status output and the record_type values seen in ~/.numbat/records.ndjson after one short Codex task. Verify that the hook status output reports the Codex hook as installed, and remember that status checks configuration only, not delivery.
Caveat. Hook status verifies configuration only, not execution or delivery, so confirm that new records actually appear in the output file.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for perplexityai/numbat and "Monitor live Codex activity into a local record file"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer