Skip to content

feat: support agent output guardrails in realtime #1381

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 8, 2025

Conversation

jhills20
Copy link
Contributor

@jhills20 jhills20 commented Aug 6, 2025

Summary

  • allow RealtimeAgent to define output guardrails
  • run agent-level guardrails in realtime sessions
  • avoid running duplicate guardrails when supplied on both agent and run config
  • document and test agent-level output guardrails

Testing

  • make format
  • make lint
  • make mypy
  • make tests
  • make build-docs

https://chatgpt.com/codex/tasks/task_i_6892a5f23df0832492b8cba9ed214272

@rm-openai rm-openai merged commit 6c816c3 into main Aug 8, 2025
6 checks passed
@rm-openai rm-openai deleted the codex/add-output-guardrails-to-realtimeagent branch August 8, 2025 05:17
vcshih pushed a commit to veris-ai/openai-agents-python that referenced this pull request Aug 15, 2025
## Summary
- allow RealtimeAgent to define output guardrails
- run agent-level guardrails in realtime sessions
- avoid running duplicate guardrails when supplied on both agent and run
config
- document and test agent-level output guardrails

## Testing
- `make format`
- `make lint`
- `make mypy`
- `make tests`
- `make build-docs`


------
https://chatgpt.com/codex/tasks/task_i_6892a5f23df0832492b8cba9ed214272
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants