Who it is forA developer or team lead who wants a record of what an AI coding agent did in a session before merging its work.
The problemWithout a record, it is hard to tell which files an agent touched, which calls were refused, and whether a secret was involved.
The outcomeA list of allowed and denied tool calls from the session, read from the local audit file and the live tail.
What you need first
- A machine where you can run a shell and git (the README installs with git clone and ./scripts/shell/install.sh)
- Claude Code or Codex installed as the agent you want to guard
- A new terminal after install, since hooks load only when a session starts
- For the sandbox use case: Linux with bubblewrap (bwrap) installed, since the README says it is required and macOS and Windows refuse
Steps
- Complete the guard install with
./scripts/shell/install.shand open a new terminal. - Run an agent session in the project, such as
solongate run -- claude. solongate auditsolongate watch- Check that each decision has a matching line in ~/.solongate/local-logs/solongate-audit.jsonl.
Prompt for your agent
Using https://github.com/solongate/agent-security, run `solongate audit` after a session with <agent> in <project-path>. Expected output: a list of tool calls with their allow or deny decisions. Verify that ~/.solongate/local-logs/solongate-audit.jsonl contains one JSON object per decision, matching what the audit view shows.
Caveat. The audit trail records decisions the guard made, so it only shows tool calls that passed through a hook in a session started after install.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for solongate/agent-security and "Review every tool call an AI coding agent made"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer