Public alpha · version 0.11.0 · Apache-2.0

See, stop and prove what your AI coding agents do.

Agentmetry records tool events reported by supported hooks for Claude Code, Cursor, Codex and Copilot, and by wrapped stdio MCP servers. It flags risky sequences, can block a call your policy forbids before it runs, and keeps a record a third party can verify. It runs locally and forwards to the SIEM you already run.

Plan a pilotRead the security modelor pip install agentmetry, then agentmetry demo

Open-source sensor: free. Enterprise pilot: quoted to scope.

Agentmetry - A local-first endpoint sensor for AI coding agents | Product Hunt
Each record is bound to the one before it. Orange is the detection. Pick one and try to edit it.

Hashing the session…

Verifying…

index=agentmetry action.type=detection | table _time host agent rule severity
_timehostagentruleseverity
14:02:11lt-ops-031claudecredential-exfilcritical
13:47:52lt-eng-118cursoruntrusted-input-then-risky-actionhigh
11:20:05lt-eng-204codexdestructive-delete-bursthigh
09:58:40lt-eng-118claudesession-tool-bursthigh

Illustrative rows, real rule ids and schema 1.2.0. The Splunk app ships with the pilot.

Detection eventchain verified
{
  "schema_version": "1.2.0",
  "action": { "type": "detection",
              "outcome": "critical" },
  "agent": { "name": "claude" },
  "actor": { "id": "dev_01", "type": "user" },
  "correlation_id": "sess-7f3a",
  "detection": {
    "rule_id": "credential-exfil",
    "severity": "critical",
    "event_ids": ["…52290", "…52291"]
  }
}

Ninety seconds

From one tool call to the SIEM, and the edit it refuses.

The same session agentmetry demo replays on your machine, recorded from its real output.
Read it instead
  1. A coding agent reads a private key, writes a cloud key into a config file, then fetches a URL.
  2. Agentmetry sees it through the agents' own hooks and an MCP stdio proxy, with no kernel driver, and writes a local hash-chained trail.
  3. Agentmetry records each call with its MITRE technique, matches the key with DLP without storing it, and fires one critical credential-exfil finding on the sequence.
  4. With DLP in block mode the same write is denied (dlp:aws_access_key). A policy rule with action: ask makes Claude Code ask first. Both decisions are recorded.
  5. Editing the finding in place makes agentmetry verify fail. An anchor kept off the machine catches a rewrite of the whole trail.
  6. Records go to Splunk, Elastic, Microsoft Sentinel and Google SecOps from a cursor per sink. With Splunk offline its events queue, then drain when it returns.
  7. For fleets, the Enterprise Windows MSI installs the recorder as a service, and Intune scripts set up hooks as the signed-in user.
  8. agentmetry benchmark when this was recorded: 54 cases, 0 missed, 0 false positives. The corpus has 57 today, shown below.

The console

One detection, from the alert to the decision.

Captured from the dashboard over a synthetic sample trail, so nothing on screen comes from a real machine.
Read it instead
  1. This week, the coding agents on this laptop produced 52 events. Six sequences need a person.
  2. Alerts are what an agent did. Risks are settings that would let one act unseen.
  3. Open one. Cursor read an SSH key, then reached a paste site, in the same session. Critical.
  4. The table lists every call in the session, and marks the two the rule cites.
  5. The tree and the graph draw the same session: machine, agent, session, then each call.
  6. The timeline puts every event in order.
  7. Then a person decides, and writes down why. Calling it a false positive or an accepted risk requires a note.
  8. Needs triage drops to five.
  9. Policy can stop a call before it runs, like a recursive delete. In log mode, it records the match and lets the call run.
  10. Every event, that decision included, is hash-chained. agentmetry verify checks all 53 lines.

Every claim on this site has a command behind it

Do not take our word for it.

Each terminal below is a command you can run on your own machine, and what it printed on ours. If a result ever disagrees with this page, the page is wrong.

It detects what it says it detects

$ agentmetry benchmark  cases            57 (26 attack, 31 benign)  rules covered    13  expected firings 26  detected         26  missed           0  false positives  0  All cases behaved as recorded.$ 

agentmetry benchmark: cases 57 (26 attack, 31 benign) rules covered 13 expected firings 26 detected 26 missed 0 false positives 0 All cases behaved as recorded.

0 missed, 0 false positives across 57 recorded sessions.

The record has not been edited

$ agentmetry verify --trail agentmetry-trail.jsonl  lines: 74923 total, 74923 chained, 0 legacy  head: seq 74923, sha256 e15eeece31013254…  merkle root: 48b1ee1a7fa53edc…  anchors: 256 checkpoint(s)    records 1-74704 anchored$ 

agentmetry verify --trail agentmetry-trail.jsonl: lines: 74923 total, 74923 chained, 0 legacy head: seq 74923, sha256 e15eeece31013254… merkle root: 48b1ee1a7fa53edc… anchors: 256 checkpoint(s) records 1-74704 anchored

Chain intact, or the first record that breaks it.

The hooks are really installed

$ agentmetry hooks statusrecorded: antigravity, claude, codex, cursornot installed: codebuddy, copilot, kimi, qoder, qwenCOMPLIANT$ 

agentmetry hooks status: recorded: antigravity, claude, codex, cursor not installed: codebuddy, copilot, kimi, qoder, qwen COMPLIANT

Exit 0 compliant, 1 needs remediation, 2 undeterminable.

It has run on a real machine

$ agentmetry dogfood  Week  Dates                      Days   Events  Sessions  Detect  Untriaged  Verdict  1     2026-08-30 to 2026-09-05    7     4449        60       6          0  GREEN  2     2026-09-06 to 2026-09-12    7     4639        59       5          0  GREEN  3     2026-09-13 to 2026-09-19    7     1159        21       0          0  GREEN  4     2026-09-20 to 2026-09-26    7     5660         8       3          0  GREEN  5     2026-09-27 to 2026-10-03    7     4741         9       0          0  GREEN  6     2026-10-04 to 2026-10-10    7     4278         7       1          0  GREEN  7     2026-10-11 to 2026-10-17    7     8022        13      11          0  GREEN  8     2026-10-18 to 2026-10-24    7    11526        17      11          0  GREEN  9     2026-10-25 to 2026-10-31    7     7973         3       3          0  GREEN  10    2026-11-01 to 2026-11-07    7    11175        10      14          0  GREEN  11    2026-11-08 to 2026-11-14    2     2984         4       2          2  IN PROGRESS  Consecutive green weeks: 10 of 4  Gate PASSED.$ 

agentmetry dogfood: Week Dates Days Events Sessions Detect Untriaged Verdict 1 2026-08-30 to 2026-09-05 7 4449 60 6 0 GREEN 2 2026-09-06 to 2026-09-12 7 4639 59 5 0 GREEN 3 2026-09-13 to 2026-09-19 7 1159 21 0 0 GREEN 4 2026-09-20 to 2026-09-26 7 5660 8 3 0 GREEN 5 2026-09-27 to 2026-10-03 7 4741 9 0 0 GREEN 6 2026-10-04 to 2026-10-10 7 4278 7 1 0 GREEN 7 2026-10-11 to 2026-10-17 7 8022 13 11 0 GREEN 8 2026-10-18 to 2026-10-24 7 11526 17 11 0 GREEN 9 2026-10-25 to 2026-10-31 7 7973 3 3 0 GREEN 10 2026-11-01 to 2026-11-07 7 11175 10 14 0 GREEN 11 2026-11-08 to 2026-11-14 2 2984 4 2 2 IN PROGRESS Consecutive green weeks: 10 of 4 Gate PASSED.

10 consecutive green weeks against an unchanged ruleset, where 4 pass the beta gate.

Output from the maintainer's machine between 23 October and 9 November 2026. Some lines are left out and long hashes are shortened; nothing else is changed. Yours will differ where it should: your trail, your hooks, your weeks.

Two views of the same activity

Process telemetry and agent session evidence answer different questions.

Some endpoint products now discover agents or capture their tool events. Agentmetry records supported hook events with session context in a local trail a third party can verify.

Process telemetry

process
powershell.exe
parent
Cursor.exe
command line
powershell -c "Get-Content $HOME\.ssh\id_rsa"
user
CORP\dana
host
lt-eng-118

Not in the record

  • Which agent asked for it
  • Which session it belongs to
  • What the agent did next
Values are illustrative. The field names are the recorder's, schema 1.2.0.
CapabilityEDRCNAPPLLM observabilityAgent security platformsAgentmetry
Which coding agent ran the commandVaries by productNoPartlyYesYes
Which developer it ran forProcess ownerNoNoYesYes
The order of tool calls in a sessionVaries by productNoPartlyYesYes
What an MCP server handed the modelConfig inventory in someInventory onlyNoProxy and scanningSchema digest and injection check
Blocks a call before it runsProcess level, some at the hookNoNoYes, centrallyYes, at the hook, opt-in
A record a third party can verify offlineNoNoNoNot publishedHash chain, Merkle proofs, anchors
Prompts leave the machinen/an/aYesTelemetry goes to the vendorNo, arguments are hashed

Architecture

Four stages, all on the endpoint.

Each call is hashed at the hook, linked to the one before it, read as part of its session, and sent to every sink from that sink's own cursor.

Every record goes to each sink from that sink's own cursor.

  1. 01

    Capture

    Supported agent hooks and wrapped stdio MCP servers report tool events. Hook arguments are hashed in the hook process, or keyed per fleet with HMAC-SHA256.

  2. 02

    Chain

    Canonical JSONL, schema 1.2.0, each record bound to the one before it. Detections and triage append to the same chain.

  3. 03

    Detect

    Sequence rules over the session, tagged with MITRE ATT&CK and ATLAS. A credential read then egress is one finding.

  4. 04

    Forward

    From a cursor per sink, with retry. An outage delays events instead of losing them. The local trail stays the source of truth.

Which account did the agent report?

A personal account on a company laptop can send company code somewhere the company cannot see. The Identity page in the dashboard groups what each agent reported by email domain, marks it personal or corporate, and lists the detections under it. Corporate means the domain is not a known public email provider. Somebody's own domain reads the same way, so it does not prove company ownership.

Full email addresses are omitted by default; reported account IDs may also be retained. Cursor reports the account in its hook. Claude Code and Antigravity are read from local files that name the account last signed in on the machine. Codex gives account IDs, and its domain only if you turn that on. It is what the client reports, not proof of who was at the keyboard. Where each agent leaves the account on disk.

Coverage

Nine agents in, eight destinations out.

A heartbeat every five minutes checks which installed agents have hooks configured. A Codex session that skips untrusted hooks can produce no events while its hook files still look healthy.
An illustrative fleet. Each ring is a heartbeat; orange is an agent installed without its hook.

24 machines: 23 recording, 1 with an agent not recorded.

lt-eng-118 · agent not recorded

  • Cursoruncovered
  • Claude Codecovered
  • Qwencovered
  • Codexcovered

From this machine's heartbeat

…

alert: heartbeat.hooks_uncovered = [cursor] on lt-eng-118

Coding agents

  • Cursor
  • Claude Code
  • Codex
  • GitHub Copilot
  • Antigravity
  • Qwen
  • Kimi
  • Qoder
  • CodeBuddy

Plus an MCP stdio audit proxy for servers the agents call.

Not a coding agent? Anything that acts on your machine can be recorded through the ingest API. The agent coverage page says what is supported, possible and impossible, from OpenClaw to the Grok app.

Destinations

  • Splunk HEC
  • Elastic ECS
  • Google SecOps UDM
  • Microsoft Sentinel
  • Webhook
  • Loki (via Grafana Alloy)
  • AiSOC (via webhook)
  • Tenzir (OCSF package)

Loki: Not a native adapter. Grafana Alloy tails the local JSONL, which keeps the chain envelope that direct push strips.

AiSOC: the connector is built and maintained by the open-source AiSOC project. See their docs. Run live end to end on 2 November 2026: detections arrived as critical alerts with their ATT&CK techniques.

Tenzir: a package in its library, reviewed and merged by Tenzir, maps events to OCSF 1.9.0. Its tests pass on recorded events. A live webhook into it has not been run.

Product names and marks belong to their owners. No affiliation, partnership, sponsorship or endorsement is claimed.

Deploy

Start on one laptop. Roll out with the tools you already manage.

Open-source sensor

Apache-2.0. Windows and Linux; macOS in preview.

  • pip install agentmetry, then agentmetry hooks install
  • Hash-chained local trail, verifiable offline
  • Every native SIEM sink
  • agentmetry scan checks the MCP servers, skills, rules and AGENTS.md files an agent will load, before it runs, including one left in Downloads
  • Try it first with nothing installed: uvx agentmetry demo
  • No account and no telemetry. Nothing leaves until you set a sink

The full recorder. Not a trial.

Enterprise pilot

For Windows fleets managed through Intune.

  • Silent MSI. The service runs as a virtual account
  • Intune Remediation, or hooks in the agents' managed locations
  • Per-host Ed25519 signing of forwarded events
  • Splunk app with the fleet dashboard

Not yet EV-signed or run on a customer tenant. We say so up front.

Pricing: the open-source sensor is free under Apache-2.0, on as many machines as you like. Enterprise (fleet install with Intune, the Splunk app, and support) starts with a 90-day design-partner pilot for up to 25 developer seats, with a fee quoted to scope. See what is in each, including what is built and what is only planned.

Stated limits

What it does not do.

Telling you this now saves a week of your evaluation.

Not a CASB

It records the agents it is wired into. An unmanaged ChatGPT tab, Microsoft 365 Copilot, or an IDE with hooks off is invisible to it.

Not a sandbox

It records and detects. Blocking is limited to pre-execution policy in the hook, and that is off by default.

Not a fleet console

Your SIEM stays the console for the fleet. Agentmetry adds fields to it, not another screen for the SOC to watch. The dashboard reads the trail of the one machine it runs on.

Two notes go further: what Claude Code's own OpenTelemetry misses and why the record has to be tamper-evident.

Who builds this

One maintainer, in the open.

Agentmetry is built by Ioannis Loutsis, an independent developer in Greece. I started it because I could not answer a simple question: what did my coding agent actually do on my machine today?

It is a self-funded project, built in public. Every commit, issue and release is on GitHub, and every number on this site comes from a command you can run yourself. When something is not ready, the site says so before you find out.

Working with a single maintainer is a real risk, so it is written down: the pilot agreement says what happens to your deployment if I stop.

Two free weeks on your own machines

2 or 3 developers who use coding agents, set up with the maintainer on a short call. Nothing leaves their machines. If it earns it, a 90-day pilot on up to 25 seats, your SIEM and your Intune tenant follows. You keep the trail and the detections either way.