Skip to main content

AgentMesh trust layer for OpenAI Agents SDK — trust-gated function calling and handoff verification

Project description

OpenAI Agents AgentMesh

AgentMesh trust layer for OpenAI Agents SDK — trust-gated function calling and handoff verification.

Features

  • TrustedFunctionGuard: Verify agent trust before allowing function/tool calls
  • HandoffVerifier: Validate trust when agents hand off tasks to each other
  • AgentTrustContext: Propagate trust metadata through agent conversations

Quick Start

from openai_agents_agentmesh import TrustedFunctionGuard, HandoffVerifier

# Guard function calls with trust
guard = TrustedFunctionGuard(
    min_trust_score=500,
    sensitive_functions={"delete_file": 800, "send_email": 700},
)

result = guard.check_call(
    agent_did="did:mesh:assistant",
    agent_trust_score=600,
    function_name="search",
)
assert result.allowed

# Verify handoffs between agents
verifier = HandoffVerifier(min_trust_score=400)
result = verifier.verify_handoff(
    source_did="did:mesh:triage",
    source_trust=700,
    target_did="did:mesh:specialist",
    target_trust=600,
)
assert result.allowed

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

openai_agents_agentmesh-3.5.0.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

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

openai_agents_agentmesh-3.5.0-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file openai_agents_agentmesh-3.5.0.tar.gz.

File metadata

File hashes

Hashes for openai_agents_agentmesh-3.5.0.tar.gz
Algorithm Hash digest
SHA256 1b397a829a14a2dd311673e0c10b2275864d00f0e17fcb12060cecff3d9676d2
MD5 eee14422745b54479d58c20aa8109269
BLAKE2b-256 bbead176670a5ee2f08ba754daf6511b2de7e8c2a80ad5b1d5612cc0b6d9ca9d

See more details on using hashes here.

File details

Details for the file openai_agents_agentmesh-3.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for openai_agents_agentmesh-3.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cf73a14287dd613ef68bbfb0e174fab47b5922c48b941969c66d46e6cbc85867
MD5 591e0242525f242b71e5f29d79ca6bc1
BLAKE2b-256 82e84da437150a082f4fe583e7b900e3a4a2bf92148327f0a9175269633a50e1

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