Skip to main content
Brane can be used as a runtime policy layer for OpenAI Agents SDK function tools by wrapping tool functions as Brane capabilities. The Brane policy runs before the tool function executes and can allow or deny the attempted action. This gives OpenAI Agents SDK applications a policy-as-code layer for production tool use.

How Brane Fits

The OpenAI Agents SDK helps define and run agents. Brane governs what those agents are allowed to do when they attempt actions.

Example Pattern

Expose refund_customer as the function tool in your agent framework. Brane remains responsible for runtime policy enforcement.

What This Protects

  • Destructive tools
  • Financial actions
  • Cross-tenant access
  • Production-only workflows
  • Database queries
  • External API calls
  • Actions requiring approval

Current Status

The framework-independent Python runtime works today. A dedicated OpenAI Agents SDK adapter is planned.