Overview
The OpenAI Agents SDK is OpenAI’s official framework for building AI agents. It supports MCP natively, meaning your agent can use Ovra’s 11 payment tools with zero glue code.Install
Setup
Connect Ovra as a Hosted MCP Tool — OpenAI calls the server directly, no local process needed:Usage
Payment Flow
The agent executes Ovra’s credential flow automatically:ovra_intent→ declare the purchase (policy engine checks limits, merchant rules)ovra_credential→ get a single-use DPAN (the agent never sees your real card)- Pay at the merchant API
ovra_credential→ confirm completion
Key Tools
| Tool | Purpose |
|---|---|
ovra_agent | List agents, check balance |
ovra_intent | Declare purchase intent (auto policy check) |
ovra_credential | Get DPAN, confirm payment |
ovra_transaction | View transaction history |
ovra_policy | Check if a purchase would be allowed |
