pgns-agent-openai
OpenAI Agents SDK adapter for pgns-agent. Wrap any OpenAI agent in a production-ready A2A server with three lines of code.
Installation
pip install pgns-agent-openai
Quick Start
from agents import Agent
from pgns_agent import AgentServer
from pgns_agent_openai import OpenAIAgentsAdapter
openai_agent = Agent(name="helper", instructions="You are a helpful assistant.")
server = AgentServer("my-agent", "An agent powered by OpenAI Agents SDK")
server.use(OpenAIAgentsAdapter(openai_agent))
server.listen(3000)
Streaming
server.use(OpenAIAgentsAdapter(openai_agent, stream=True))
License
Apache-2.0
Metadata
Release files for pgns-agent-openai 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pgns_agent_openai-0.2.0.tar.gz | 14.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pgns_agent_openai-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.9 kB
Release files / pgns_agent_openai-0.2.0.tar.gz
| Download URL | pgns_agent_openai-0.2.0.tar.gz |
|---|---|
| Size | 14.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
220ecd5ca107d9fa0a7cc292099280989f6c35ae5843a3b1e46b71614fb0c444
|
|
BLAKE2b-256 checksum How to use checksums |
6ebb0cc7499f1278042d19ebd5d3783da8fcb5faaae0b9306ec95e5b5bce25ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / pgns_agent_openai-0.2.0-py3-none-any.whl
| Download URL | pgns_agent_openai-0.2.0-py3-none-any.whl |
|---|---|
| Size | 8.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e55eed0f66a58ffc0d8617e5ae055e66f7386872803d28a6853ce6b90d6c13c5
|
|
BLAKE2b-256 checksum How to use checksums |
772fd348283f9b508c711f044d0ce10a2545f3375b4f0ff263e8be147f989686
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|