What OpenAI Agents SDK guardrails is
The OpenAI Agents SDK has input guardrails, output guardrails and tool guardrails. Each is a check you write. If it trips, the run stops. OpenAI's own example uses a second agent, so a model makes the call.
Tools can be marked as needing approval. The run then pauses until a person approves or rejects the call.
A run can be capped with max_turns. Going over raises MaxTurnsExceeded.
Where it is strong
- Built into the SDK and easy to start with.
- Checks can be as smart as you like, including a model reviewing the input.
- Approvals pause the run and let you resume it later.
Where SteerPlane fits better
- SteerPlane sets a dollar limit on each run. A turn limit alone does not tell you what a run will cost.
- SteerPlane's checks are fixed rules, not a model, so the same call always gets the same answer.
- Deny and allow rules use names and patterns, so you do not write a guardrail function for each tool.
- The same limits work in LangChain, CrewAI, AutoGen and plain code, and the gateway works with Anthropic models as well as OpenAI.
Which one to pick
Pick the SDK's own guardrails if you only use the OpenAI Agents SDK and want custom checks, including model-based ones.
Pick SteerPlane if you need hard limits on spend, steps and time per run, or your agents use more than one framework or model provider. SteerPlane has an OpenAI Agents SDK integration.
Using both
Use the SDK's guardrails for checks on content, and SteerPlane for spend, step and time limits and for rules on which tools may run.
Try SteerPlane
Install with pip install steerplane or npm install steerplane, then add a limit to your agent. The setup page shows the code.
Sources. Facts about OpenAI Agents SDK guardrails come from these pages, checked on 20 November 2026:
Products change quickly. If something here is out of date, email support@steerplane.com and we will fix it.
OpenAI Agents SDK guardrails and other product names are trademarks of their owners. SteerPlane is not affiliated with or endorsed by them.