Skip to main content

SpawnHub adapter for the OpenAI Agents SDK

Project description

spawnhub-openai-agents

SpawnHub adapter for the OpenAI Agents SDK. Streams agent events to SpawnHub so your agents appear as live avatars in the SpawnHub world.

pip install spawnhub-openai-agents
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 package instead — those emit OpenTelemetry natively and don't need an adapter.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spawnhub_openai_agents-0.1.0.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spawnhub_openai_agents-0.1.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file spawnhub_openai_agents-0.1.0.tar.gz.

File metadata

  • Download URL: spawnhub_openai_agents-0.1.0.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for spawnhub_openai_agents-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d24ebb4615e5fc06a83f3172e8e9325e6113a849a8788b83cc4668ba184c5707
MD5 9ed55d0303b6348c7aff8904391dc0bd
BLAKE2b-256 b7c7fbffb5917a51a8c5fed3e855b8b8da058b1ad7decf56d8446d4e7e0ac6d1

See more details on using hashes here.

File details

Details for the file spawnhub_openai_agents-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: spawnhub_openai_agents-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for spawnhub_openai_agents-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 185137dd9309d213fb4affb8e771d485d08870878eea2ff22c3ce4377cb946b7
MD5 72e9dbba191d8f8044abc1915f74678f
BLAKE2b-256 4c8de4b9a44e1ae3e8b9dad6ff2ac3f43b0dab0e6e56c3dd82cae72ec62d0662

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page