Catalog PyPI
PACKAGE EXPLORERView in registry

agentmetry

PyPI

Local-first endpoint sensor for AI coding agents: hash-chained audit trail, MITRE-mapped sequence detection, DLP

agentic-aiai-agentsai-securityaudit-logclaude-codecursordevsecopsdlplocal-firstmitre-attacksiem
Versions collected1
Direct dependencies15From release 0.9.9
Last observed20 Oct, 22:44 UTC

README

Version 0.9.9 documentation

Agentmetry

A local-first endpoint sensor for AI coding agents.

Agentmetry hooks the tool lifecycle of Claude Code, Cursor, Codex and Antigravity, writes every tool call, approval and denial to a hash-chained JSONL trail on your machine, and runs sequence detection over the session. A credential read followed by network egress becomes one finding rather than two unremarkable log lines.

Everything runs locally. There are no cloud calls and no telemetry. Forwarding to Elastic ECS, Splunk HEC or a webhook exists and is off unless you configure it.

pip install agentmetry
agentmetry doctor

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.

What it does not do

  • It is not a CASB. It records the agents you wire in. An unmanaged browser assistant is invisible to it.
  • It is a recorder, not a sandbox. The only enforcement path is pre-execution DLP blocking in the hook.
  • The DLP is regex, not ML. A starting pack you extend in YAML.
  • It is a public alpha. Integration surfaces may still change.

Full documentation, the event schema, and the SIEM integration guides are in the repository.

Apache-2.0.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.9.919 Oct 202615

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
blitzcrieg1/agentmetry

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:44 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:d5579325e8457c5869b57b442f3e0c218254576a080bdb5e87fe2f25cef0c5fd