Current collected state Current
Observed since 20 Oct, 22:12 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
CLI hook for Claude Code and Cowork — automatic compliance monitoring for AI coding agents
CLI for auditing Claude Code and Cowork sessions automatically.
Every tool call — file reads, writes, shell commands, web fetches — is logged, classified, and audit-ready with zero token overhead.
pip install agentic-audit-hook
Add hooks to Claude Code:
// ~/.claude/settings.json
{
"hooks": {
"PreToolUse": [
{
"matcher": "",
"hooks": [
{"type": "command", "command": "agentaudit-hook pre"}
]
}
],
"PostToolUse": [
{
"matcher": "",
"hooks": [
{"type": "command", "command": "agentaudit-hook post"}
]
}
]
}
}
Set environment variables:
export AGENTAUDIT_API_KEY="aa_live_xxxxx"
export AGENTAUDIT_BASE_URL="http://localhost:8000"
| Command | Hook | Description |
|---|---|---|
agentaudit-hook pre | PreToolUse | Classify risk, optionally block |
agentaudit-hook post | PostToolUse | Log completion |
agentaudit-hook session-start | SessionStart | Log session start |
agentaudit-hook session-end | SessionEnd | Log session end |
Apache 2.0
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.3.0 | 25 Mar 2026 | 1 |
This describes our collected data; it is not a security assessment.
Shared repository data · GitHub
Observed since 20 Oct, 22:12 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:0f276d1a7f86e575afb66dfa90e9c53f1bf0df577e24b356b2818faa6f9e6138