# 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.

To audit what your coding agents already did, read the logs they keep: Excellent’s [free scan](https://www.excellent.so/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 keep | Records through a hook from now on |
| --- | --- | --- |
| Covers past sessions | Yes, as far back as the agent kept its logs | No, only sessions after you install it |
| What you get | A report of risky actions it found | A record of every event the hook sees |
| Can block an action | No | Some can (Gryph’s policy rules can block) |
| Example | Excellent’s free scan | Gryph, 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](https://www.excellent.so/mac/free-scan-prompt.txt) before you paste it, and see [a sample report](https://www.excellent.so/r/sample).

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](https://www.excellent.so/download) 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](https://github.com/safedep/gryph)

## 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](https://github.com/workos/workos-audit-harness)

## 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](https://www.excellent.so/guides/see-everything-your-ai-agents-did-today) walks through both, and [Claude Code history and logs](https://www.excellent.so/guides/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](https://github.com/safedep/gryph) · [WorkOS Audit Harness](https://github.com/workos/workos-audit-harness) · [Excellent’s free scan](https://www.excellent.so/scan)

Source: https://www.excellent.so/guides/free-tools-to-audit-what-ai-coding-agents-did
