Audit Multi-Agent Execution Topology
systemores_audit_agent_graphStatically scan a multi-agent delegation graph JSON to detect cyclic delegation loops and untrusted-to-admin privilege paths before deployment.
Instructions
Statically scans a multi-agent delegation topology JSON object (graphTopologyJson, max 100,000 chars, with nodes and edges) via depth-bounded DFS (maxDepth 1–50, default 10) to detect cyclic delegation loops and untrusted-to-admin privilege paths. Free, deterministic, stateless check with no API key required; returns status FAILED on invalid JSON or empty graphs. Use for pre-deployment architecture checks; use systemores_analyze_trace_telemetry to detect runtime loops in live OpenTelemetry spans.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"graphTopologyJson": "<graphTopologyJson>"
},
"name": "systemores_audit_agent_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxDepth | No | Maximum DFS traversal depth for cycle and privilege-path checks (clamped 1–50, default 10). Paths deeper than maxDepth are not traversed. | |
| graphTopologyJson | Yes | JSON-serialized graph topology object (max 100,000 chars) containing 'nodes' ({ id, privilegeLevel: 'public'|'user'|'admin'|'system' }) and 'edges' ({ source, target }). | |
| strictPrivilegeCheck | No | When true, flags any path from 'public'/'user' nodes to 'admin'/'system' nodes as a breach. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| risks | Yes | ||
| status | Yes | ||
| metrics | Yes | ||
| cyclesDetected | Yes | ||
| recommendation | Yes | ||
| privilegeEscalationPaths | Yes |