Skip to main content

Open Entity for the OpenAI Agents SDK

Function tools that give an agent its own Open Entity identity and let it check other agents.

pip install ./integrations/openai-agents/python   # from a clone of the repository
from agents import Agent, Runner
from openentity_openai_agents import openentity_tools

agent = Agent(name="Buyer", instructions="Adopt an identity named Buyer. Trust-check any counterparty EID before a deal.",
              tools=openentity_tools())
result = Runner.run_sync(agent, "Check did:key:z6Mk... for me.")
print(result.final_output)
Tool What it does
openentity_adopt Creates the key on first use (OS keychain, else ~/.openentity/identity.key at 0600) and adopts it with the unsigned client label openai-agents. Safe to repeat.
openentity_self Reads the agent's own entity from the registry.
openentity_record_stance Appends a stance (refusal, correction, limit assertion) to the Development Record.
openentity_record_arc Opens or closes an arc.
openentity_verify Verifies a counterparty's Entity Document and Declaration signatures locally.
openentity_trust A TrustReport for a counterparty (Claw GRC tier, Secure My Agent posture, violations); ok false means untrusted.

The registry is $OPENENTITY_REGISTRY, default https://openentity.org. The key is never returned to the model. Tests run against an in-process registry stub.

Metadata

Release files for openentity-openai-agents 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for openentity-openai-agents 0.1.0
File Size Uploaded Provenance Actions
openentity_openai_agents-0.1.0.tar.gz 93.3 kB With provenance Details for openentity_openai_agents-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for openentity-openai-agents 0.1.0
File Interpreter ABI Platform Actions
openentity_openai_agents-0.1.0-py3-none-any.whl Python 3 none any Details for openentity_openai_agents-0.1.0-py3-none-any.whl

Total release size: 97.8 kB

Release files / openentity_openai_agents-0.1.0.tar.gz

Download URL openentity_openai_agents-0.1.0.tar.gz
Size 93.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c1408b997186e92c918a99009d62370767a78ff74cbdbc5fb6c919e88eb9771b
BLAKE2b-256 checksum
How to use checksums
dfeafcb03c21e901fb11dcf60ead337521898fae9bbf3024e9db5d8e1a51db29
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.

Transparency log

Release files / openentity_openai_agents-0.1.0-py3-none-any.whl

Download URL openentity_openai_agents-0.1.0-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0c54dfcbbdfef432c716e0de1c8a2d499b3ccf840a9212b33c7cd0ca8aefde4e
BLAKE2b-256 checksum
How to use checksums
92a69832ea990fe17a32fc9fb9bffa961a81426bb292f4599a28f7cdb4be66cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.

Transparency log

Security for openentity-openai-agents 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for openentity_openai_agents-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page