Skip to content

Free tools to audit what your AI coding agents did

Three free ways to audit Claude Code, Codex and other coding agents on your own machine: read the logs they already keep, or add a hook that records from now on. What each one sees, and what it misses.

4 min read

To audit what your coding agents already did, read the logs they keep: Excellent’s free scan reads Claude Code’s and Codex’s logs on your Mac, with no account, and lists keys left in logs, secrets files opened, force pushes and deleted never-delete folders. To record everything from now on, add a hook-based logger such as Gryph or the WorkOS Audit Harness. A logger sees only what happens after you install it. A log reader also covers the sessions you already ran.

The two kinds of free tool

Reads the logs agents already keepRecords through a hook from now on
Covers past sessionsYes, as far back as the agent kept its logsNo, only sessions after you install it
What you getA report of risky actions it foundA record of every event the hook sees
Can block an actionNoSome can (Gryph’s policy rules can block)
ExampleExcellent’s free scanGryph, WorkOS Audit Harness

Excellent’s free scan

You paste one prompt into your agent. It checks for Python 3.9 or later, saves a small script, compares the script’s SHA-256 with the published one, reads your agents’ logs on the Mac and writes one page to ~/excellent-free-scan/report.html. The script makes no network calls. Read the prompt before you paste it, and see a sample report.

It reads Claude Code, Codex, Grok Build, GitHub Copilot CLI, Gemini CLI and Qwen Code. It reports findings, not a full transcript: a key left in a log, a secrets file an agent opened, your email in a request, a force push, a publish or deploy. The Excellent app runs the same kind of scan and keeps the history. With Pro, a live check can block or ask before some risky actions.

Gryph

Gryph is an open-source command-line tool from SafeDep, under the Apache 2.0 license. gryph install adds hooks to the agents it detects, including Claude Code, Cursor, Windsurf, Gemini CLI and OpenCode. Every event goes into a local SQLite database, and gryph logs shows it. Its YAML policy rules can block, warn about or guide an action as it happens. Its README says the data stays local, with no telemetry. Gryph on GitHub

WorkOS Audit Harness

The WorkOS Audit Harness is a set of open-source plugins for Claude Code, Codex, OpenClaw, OpenCode, Hermes and pi. They send session, prompt and tool events to WorkOS Audit Logs, so you need a WorkOS account. It suits a team that wants one audit trail across a fleet of machines. Its README notes that events composed on a machine the user controls can be fabricated or withheld. WorkOS Audit Harness on GitHub

Without any tool

Your agents already write session files. Claude Code keeps transcripts under ~/.claude/projects, and Codex keeps rollout files under ~/.codex/sessions. Git shows what changed in each repository. See everything your agents did today walks through both, and Claude Code history and logs explains the transcript format.

Which to pick

  • You want to know what already happened. Read the logs: the free scan, or the files themselves.
  • You want a full record from today on, kept on your machine. Gryph.
  • You run a team and want one audit trail in one place. WorkOS Audit Harness.
  • You want both a look back and a check on what comes next. The Excellent app, with Pro for the live check.

Checklist

  • Ran a scan of the logs your agents already keep.
  • Read every finding about keys, secrets files and force pushes.
  • Decided whether you need a record from now on, and picked a logger.
  • Checked the Git host for pushes you did not expect.

Checked against each project’s README on November 30, 2026. Gryph · WorkOS Audit Harness · Excellent’s free scan

Related guides

View all