Metadata-Version: 2.4
Name: spawnhub-openai-agents
Version: 0.1.0
Summary: SpawnHub adapter for the OpenAI Agents SDK
Project-URL: Homepage, https://spawnhub.ai
Project-URL: Documentation, https://spawnhub.ai/docs
Project-URL: Source, https://github.com/waqasahmedch/spawnhub
Project-URL: Bug Tracker, https://github.com/waqasahmedch/spawnhub/issues
Author-email: SpawnHub <waqasahmedch@gmail.com>
License: MIT
Keywords: agents,ai,llm,observability,openai,opentelemetry,otel,tracing
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: System :: Monitoring
Requires-Python: >=3.12
Requires-Dist: httpx>=0.27.0
Requires-Dist: openai-agents>=0.0.12
Requires-Dist: pydantic>=2.0.0
Description-Content-Type: text/markdown

# spawnhub-openai-agents

SpawnHub adapter for the [OpenAI Agents SDK](https://github.com/openai/openai-agents-python). Streams agent events to [SpawnHub](https://spawnhub.ai) so your agents appear as live avatars in the SpawnHub world.

```bash
pip install spawnhub-openai-agents
```

```python
from spawnhub_openai_agents import SpawnHubTracingProcessor
from agents import Agent, Runner, add_trace_processor

add_trace_processor(SpawnHubTracingProcessor(api_key="spwnhub_..."))

agent = Agent(name="my-agent", instructions="You are a helpful assistant.")
result = await Runner.run(agent, "Hello!")
```

For OTEL-native frameworks (LangChain, CrewAI, AutoGen, Google ADK) use the main [`spawnhub`](https://pypi.org/project/spawnhub/) package instead — those emit OpenTelemetry natively and don't need an adapter.
