What do you want to do?
3 use cases
-
Audit past agent sessions without changing any config
Scan existing agent session artifacts on a machine to list agents and surface findings.
- REPO
perplexityai/numbat - Codex
- Claude Code
- Security and science
- Intermediate
View prompt
Use the repo perplexityai/numbat. Run `numbat agents` and then `numbat scan --agent <agent-name>` on this machine, and save the NDJSON output to a file. Report the number of findings and their rule_id values. Verify that the output contains no complete raw transcript and that secret values are redacted.
- REPO
-
Monitor live Codex activity into a local record file
Install a monitor-only Codex hook that writes events and findings to an NDJSON file.
- REPO
perplexityai/numbat - Codex
- Security and science
- Intermediate
View prompt
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.
- REPO
-
Block a risky Codex action with a custom deny rule
Copy a shipped rule, mark it enforce: true, and install it on a Codex pre-action hook.
View prompt
Use the repo perplexityai/numbat. Copy the shipped YAML for <rule-id> from rules/ into ./numbat-policy, set enforce: true and a new version, then run `numbat rules check --rules-dir ./numbat-policy`. Report whether validation passes and which rule ids are active. Verify that the enforcement record uses mode "enforce" only for the rule you marked, and that all other shipped rules remain monitor-only.
Quick start with Numbat
- Check you have what it needs: 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.
- Open perplexityai/numbat on GitHub and read the README and license.
- Download a Numbat release for your OS and check it against the published SHA-256 checksums.
- Run
numbat agentsto see which agents Numbat can discover on this machine. - Run
numbat scan --agent codexto limit discovery to one agent, ornumbat scanto scan all discovered parser-backed agents. - Run
numbat scan --emit allif you also need events and indicators, not only findings.
These steps come from our top use case, Audit past agent sessions without changing any config, which also has a copy-paste agent prompt.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for perplexityai/numbat
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 freeAbout this repo
- Who it is forWritten for security engineers and platform operators who need visibility into what AI coding agents do on endpoints.
- Why it is hot1.1k stars
- LanguageGo
- Sourcegithub.com/perplexityai/numbat · Back to Hot repos
Requirements
- 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
Add this badge to your README
Maintain Numbat? Show readers where to find these use cases.
Markdown
[](https://dedupedai.com/use-cases/perplexityai-numbat/?utm_source=github&utm_medium=badge&utm_campaign=perplexityai-numbat)
HTML
<a href="https://dedupedai.com/use-cases/perplexityai-numbat/?utm_source=github&utm_medium=badge&utm_campaign=perplexityai-numbat"><img src="https://dedupedai.com/badge/perplexityai/numbat.svg" alt="Use cases on Deduped" height="20"></a>
A static image, no tracking script. About the badge
Questions about Numbat
What is Numbat?
numbat is a Go command-line tool that watches AI agent activity on a laptop or workstation, detects risky behavior with local rules, can optionally block some actions before they run, and rebuilds past sessions from on-disk artifacts. It is an open-source project on GitHub: https://github.com/perplexityai/numbat.
How do I use Numbat?
Download a Numbat release for your OS and check it against the published SHA-256 checksums; then run numbat agents to see which agents Numbat can discover on this machine; run numbat scan --agent codex to limit discovery to one agent, or numbat scan to scan all discovered parser-backed agents. The use cases on this page give the full steps and a copy-paste agent prompt for each job.
Who is Numbat for?
Written for security engineers and platform operators who need visibility into what AI coding agents do on endpoints.
What can I do with Numbat?
3 use cases so far, for example: Audit past agent sessions without changing any config; Monitor live Codex activity into a local record file; Block a risky Codex action with a custom deny rule. Each has steps and a copy-paste agent prompt.
What do I need to run Numbat?
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.
What are alternatives to Numbat?
Other hot AI repos in Security and science: Failproofai, Codex Security, Chgnet, Semgrep, Mace.
Is Numbat safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.