Skip to main content Switch to mobile version agentmetry 0.19.0 Open-source security for AI coding agents: record, detect and block at the tool boundary, with a verifiable audit trail and SIEM forwarding
pip install agentmetry==0.19.0 Copy PIP instructions
A local-first endpoint sensor for AI coding agents.
Agentmetry records events reported by supported hooks for Claude Code, Cursor, Codex, GitHub Copilot, Antigravity, Qwen, Kimi, Qoder and CodeBuddy, and by wrapped stdio MCP servers. It writes those events to a hash-chained JSONL trail on your machine and runs sequence detection over the session. A credential read followed by network egress can trigger a finding. Findings carry MITRE ATT&CK labels, and MITRE ATLAS labels where ATLAS says something ATT&CK cannot.
Nothing leaves the machine unless you configure it, and there is no telemetry. Forwarding to Splunk HEC, Elastic ECS, Google SecOps, Microsoft Sentinel or a webhook (canonical JSON or CloudEvents) is off by default.
Try it with nothing installed
uvx agentmetry demo It replays a session into a temporary directory it deletes: a private-key read, then an upload. That raises one critical finding. It then edits the trail and shows agentmetry verify fail.
pip install agentmetry agentmetry hooks install agentmetry start agentmetry doctor agentmetry dashboard opens the local console with a one-time sign-in link.
Check the detection claims yourself
The corpus ships inside the package, so this works from a clean install:
agentmetry benchmark It replays recorded sessions through the real rule engine and exits non-zero on any missed rule or any false positive. The benign half is the number that matters: any tool can fire on an attack, and a feed that cries wolf gets muted.
It is not a CASB. It records the agents you wire in. An unmanaged browser assistant, or an IDE with its hooks off, is invisible to it.
It is a recorder, not a sandbox. By default it records. DLP and tool policy can deny a call in the hook, before it runs, when you set them to block.
The DLP is regex, not ML. A starting pack you extend in YAML.
macOS is in preview. CI runs the full suite on Windows, Linux and macOS, but only Windows and Linux are required checks, and no hook has been exercised against a live agent on a Mac.
It is a public alpha. Integration surfaces may still change.
For a fleet, a managed policy file can lock settings such as the DLP and tool policy modes so a developer cannot change them. See docs/managed-policy.md.
Full documentation, the event schema, and the SIEM integration guides are in the repository.
Source and issues: https://github.com/blitzcrieg1/agentmetry
Website: https://agentmetry.ai
Released: Nov 28, 2026
Both files in this release have provenance metadata.
View provenance details
Apache Software License (Apache-2.0)
agentic-ai ai-agents ai-security audit-log claude-code cursor devsecops dlp local-first mitre-attack siem
Development Status 3 - Alpha
Intended Audience Developers
System Administrators
License OSI Approved :: Apache Software License
Operating System Microsoft :: Windows
Programming Language Python :: 3
System :: Monitoring
Release files for agentmetry 0.19.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 2.8 MB
Release files / agentmetry-0.19.0.tar.gz
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.
Release files / agentmetry-0.19.0-py3-none-any.whl
Security for agentmetry 0.19.0
Both files in this release have been uploaded with provenance metadata.
With provenance agentmetry-0.19.0.tar.gz Nov 28, 2026
With provenance agentmetry-0.19.0-py3-none-any.whl Nov 28, 2026
Attestation for agentmetry-0.19.0.tar.gz
Attestation for agentmetry-0.19.0-py3-none-any.whl
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Release history Release notifications | RSS feed
Nov 29, 2026 2 release files Full provenance
Nov 28, 2026 2 release files Full provenance
Nov 27, 2026 2 release files Full provenance
Nov 26, 2026 2 release files Full provenance
Nov 25, 2026 2 release files Full provenance
Nov 24, 2026 2 release files Full provenance
Nov 18, 2026 2 release files Full provenance
Nov 16, 2026 2 release files Full provenance
Nov 14, 2026 2 release files Full provenance
Nov 12, 2026 2 release files Full provenance
Nov 8, 2026 2 release files Full provenance
Nov 5, 2026 2 release files Full provenance
Nov 4, 2026 2 release files Full provenance
Oct 31, 2026 2 release files Full provenance
Oct 30, 2026 2 release files Full provenance
Oct 25, 2026 2 release files Full provenance
Oct 23, 2026 2 release files Full provenance
Oct 19, 2026 2 release files Full provenance
Oct 18, 2026 2 release files Full provenance
Oct 15, 2026 2 release files Full provenance
Oct 13, 2026 2 release files Full provenance
Oct 8, 2026 2 release files Full provenance
Oct 4, 2026 2 release files Full provenance
Oct 3, 2026 2 release files Full provenance
Oct 2, 2026 2 release files Full provenance
Sep 19, 2026 2 release files Full provenance
Aug 27, 2026 2 release files Full provenance
Aug 24, 2026 2 release files Full provenance
Aug 21, 2026 2 release files Full provenance
Aug 7, 2026 2 release files Full provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation
Deployed from fc0d8e6











