Back to all articles
Engineering Blog6 min readJuly 17, 2026

Guardrails and Policy Enforcement for OpenAI Agents

OA
OpenAI Integrations Team
Agentis SDK Core
"Built with the OpenAI Agents SDK? Agentis captures guardrail spans automatically and enforces runtime policy with @govern before irreversible actions run."

OpenAI Agents SDK Integration

Agentis is featured in the official OpenAI Agents SDK tracing ecosystem. By attaching Agentis's span processor, all agent transitions, tool delegations, and guardrail validations are tracked with zero instrumentation overhead.


from agents import Agent, Runner
from agentis.adapters.openai_agents import AgentisAgentProcessor

processor = AgentisAgentProcessor( project="customer-ops", redact_pii=True )

agent = Agent( name="Triage Specialist", instructions="Analyze inquiry and route to specialized agent.", tracing_processor=processor )

Ready to monitor your agents?

Get started with Agentis in under 3 minutes with zero-configuration OpenTelemetry tracing.

Get Started Free