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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file openai_agents_agentmesh-3.3.0.tar.gz.
File metadata
- Download URL: openai_agents_agentmesh-3.3.0.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: RestSharp/106.13.0.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
020b928ee37a9e983a866bd6b89274e917d0253f7959c7cd48597df0ae433f5c
|
|
| MD5 |
4c68176e8f7a4ec2f06ea464c52c12f7
|
|
| BLAKE2b-256 |
e158da8e04b02d339faa44fa51edff6e218479518f3a4f63b652b6edc2c14970
|
File details
Details for the file openai_agents_agentmesh-3.3.0-py3-none-any.whl.
File metadata
- Download URL: openai_agents_agentmesh-3.3.0-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: RestSharp/106.13.0.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5aed53c54ea326ba48e95532e0cab6b53ff133400448ac957748079d60c85505
|
|
| MD5 |
9cbd76eb7e86594ecdde1f0471e2e832
|
|
| BLAKE2b-256 |
15f85f5177f6f23c2a36fd0b10e978c4c062d426ab0b686f414c133facba5763
|