numbat is an endpoint AI agent activity visibility tool released by Perplexity, with the repository address at https://github.com/perplexityai/numbat,采用 Apache License 2.0 license. Its core goal is to provide local detection, optional pre-action blocking, and forensic reconstruction capabilities for AI agent activity on endpoints.
In terms of purpose, numbat observes supported desktop, CLI, IDE, and gateway agents, obtaining activity information through local hooks and plugins, OTLP/HTTP logs, and on-disk session artifacts. Real-time and static activity are normalized into a unified event model and evaluated by the same CEL rule engine. Detection runs locally, and records can be written to stdout or local files, or optionally delivered via HTTP.
Main capabilities include: real-time monitoring through hooks, plugins, and OTLP/HTTP log exporters; endpoint-local detection, supporting built-in CEL rules, multi-step sequence rules, and custom YAML rules; optional blocking through supported synchronous pre-hooks, with enforcement mode disabled by default and effective only for rules marked enforce: true, and all bundled rules are monitor-only; forensic reconstruction of supported on-disk session artifacts without prior deployment of numbat; output of versioned NDJSON records covering events, findings, enforcement decisions, metrics, and scan summaries, with events and findings retaining source references and JSON Schema defining the transport format; read-only artifact scanning with secret redaction support, where regular record output does not include complete raw records, and adding raw evidence files to a case package requires explicit selection; provision of inventory and investigation tools for read-only agent discovery, per-session timelines, and portable case packages with SHA-256 manifests; distributed as a single binary for macOS, Linux, and Windows, built without cgo.
In terms of usage, you can download the amd64 or arm64 version for macOS, Linux, or Windows from the releases page, and each release includes a SHA-256 checksum. You can also install it using Go 1.26.9 or later. The inventory and scan commands are read-only and will not install hooks or change agent configuration. For monitoring and enforcement, you can install real-time monitoring for agents that support real-time capture, and hooks are initially in monitor-only mode; --emit all writes events, findings, metrics, and applicable enforcement decisions to ~/.numbat/records.ndjson. Hook trust requirements vary by agent and scope; Codex hooks installed with --managed are trusted by policy; hook status verifies configuration rather than execution orDelivery. To execute a detection, copy it in full along with its YAML to the controlled operator directory, keep the same id, add enforce: true and increment the version, then validate and install the effective policy for a supported pre-hook.
Command overview includes: inventory and investigation agents, scan, timeline; live capture hook install, hook status, hook uninstall, collect; record delivery ship; rule development rules check, rules list, rules test; case package case build, case verify. Run numbat --help to view the full command list, numbat help <command> to view flags. scan, collect, hook EVENT, hook install and rules check|list|test accept --rules-dir DIR (repeatable) to add operator rules or replace built-in rules by id, and use --no-builtin-rules to use only the operator directory.
Applicable scenarios include monitoring and investigation of endpoint AI agent activity, rule-based detection with optional blocking, forensic reconstruction of on-disk session artifacts, and generating portable case packages for review.
Regarding limitations: the coverage matrix records each agent's support status and known gaps, including deferred storage, fidelity limitations and root coverage; native Windows uses vendor-defined configuration files and AppData paths, WSL uses a separate Linux home directory; numbat never executes agents or commands found in artifacts, and only makes outbound requests to configured HTTP receivers; static reconstruction is not disk or memory acquisition and cannot recover activity that the agent did not persist; findings are rule matches, not proof of compromise; case package manifests establish internal consistency, and unsigned packages cannot prove source authenticity or integrity; records may still retain sensitive endpoint and agent context after redaction. See SECURITY.md for the security model and vulnerability reporting, and CONTRIBUTING.md for the development process and architectural constraints.