The Agent Runtime Safety Auditor inspects and implements code-level runtime protections across AI agent tool calling and state modification paths. It replaces fragile prompt-only constraints with deterministic safeguards, integrating fine-grained tool authorization, Human-in-the-Loop (HITL) approval workflows, distributed locks, state machine transitions, and context isolation for frameworks like LangGraph and FastAPI. Designed for active development and code review, it ensures that critical side-effects, state writes, and third-party integrations are validated by automated tests and authoritative backend boundaries.
主要功能
012 GitHub stars
02Implements secure Human-in-the-Loop (HITL) pause, resume, and token-scoped re-authorization workflows
03Maintains multi-tenant context isolation across asynchronous sub-agents, tasks, and persistence keys
04Enforces deterministic tool authorization and execution boundary checks independent of LLM prompts
05Guarantees atomic state machine transitions, Redis distributed locking, and write-action idempotency
06Derives verifiable user-facing outputs strictly from structured tool execution results to prevent hallucinated success
使用场景
01Adding HITL approval gates and idempotency keys to LangGraph nodes handling financial or destructive operations
02Auditing and patching concurrency risks or context leakage in multi-tenant FastAPI agent backends
03Refactoring agent tool wrappers to enforce deterministic server-side authorization and distributed Redis locks