agent-graph-auditor
v0.3.1Finds transitive excessive agency across LangGraph/CrewAI/AutoGen orchestration graphs
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
scan_text
Scan a Python snippet defining a multi-agent orchestration (LangGraph, CrewAI, or AutoGen/ag2) for excessive agency reachable through delegation or group membership — an agent with no dangerous tool of its own that can still reach one (shell/code-exec/file-write/network/credentials) through another agent it can hand off to.
| Parameter | Type | Description |
|---|---|---|
content * | string | The Python source to scan |
label | string | Optional label shown in findings (e.g. filename) |
scan_file
Scan a single Python file for excessive-agency paths across LangGraph/CrewAI/AutoGen orchestration constructs
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute or relative path to the .py file to scan |
scan_directory
Recursively scan a directory of Python files and report excessive-agency paths found in each. Each file's agent/tool graph is analyzed independently — variable references don't resolve across files, so a Crew/GroupChat whose members are defined in a different file than the assembling call won't be connected.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute or relative path to the directory to scan |
exclude | array | Skip files/dirs whose path contains one of these strings |
include | array | Only scan files whose path contains one of these strings |
maxFiles | integer | Maximum number of files to scan (default: 2000) |
list_patterns
List every dangerous-capability rule this auditor looks for at the end of a delegation path, grouped by category