---
type: email
from: Corey nida <notifications@github.com>
subject: Re: [openai/openai-agents-python] Tool-level governance guardrails:

 policy enforcement, threat detection, audit trails (Issue #2515)
received: 2026-03-06 07:21:21
priority: high
status: awaiting_approval
---

## Email Content
xXMrNidaXx left a comment (openai/openai-agents-python#2515)



This is a comprehensive and well-designed proposal. Tool-level governance is the missing piece in agent security � model I/O guardrails are necessary but not sufficient when tools can do real-world damage.



**Strong +1 on the core design choices:**



1. **ToolGuardrail mirroring Input/OutputGuardrail** � API consistency matters. Developers who understand one should immediately understand the other.



2. **RunContextWrapper access** � Critical for stateful policies (rate limiting, cumulative risk scoring, session-level trust).



3. **Tracing integration** � Governance decisions need to be auditable. Having them in the existing trace system vs. a separate logging pipeline reduces friction.



**Additional patterns worth con...

## Suggested Actions
- [ ] Reply
- [ ] Archive
- [ ] Flag for review
