Metadata-Version: 2.4
Name: sovara-openai-agents
Version: 0.1.1
Summary: Sovara recording for the OpenAI Agents SDK
License-Expression: MIT
Project-URL: Documentation, https://docs.sovara-labs.com/integrations/openai-agents
Project-URL: Repository, https://github.com/SovaraLabs/sovara-openai-agents/tree/main/python
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: sovara<0.12,>=0.10
Requires-Dist: openai-agents<0.14,>=0.13.6
Dynamic: license-file

# Sovara for the OpenAI Agents SDK (Python)

Record OpenAI Agents tool calls in Sovara traces.

```bash
uv add sovara-openai-agents
# or: pip install sovara-openai-agents
```

```python
import sovara
import sovara_openai_agents

sovara.auto_instrument()  # model calls, through the HTTP client
sovara_openai_agents.instrument()  # function tools as tool steps, agent tools as child traces
```

Call both once at startup, before creating agents. Inside a Sovara trace, function tools are
recorded as tool steps and agent tools (`agent.as_tool()`) open a child trace with their input
and output. Outside a trace, tools run unrecorded. Requires `openai-agents` 0.13.6 (the supported 0.13 series).

## License

MIT.
