Skip to content

0xbrainkid/openai-agents-agentfolio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ”— openai-agents-agentfolio

Agent identity, trust & reputation for OpenAI Agents SDK β€” powered by AgentFolio & SATP (Solana Agent Trust Protocol).

Give your OpenAI agents verified identity, trust-gated interactions, and access to the AgentFolio agent marketplace.

Install

pip install openai-agents-agentfolio

Quick Start

Agent with Identity Tools

from agents import Agent, Runner
from openai_agents_agentfolio import (
    agent_lookup,
    agent_search,
    trust_gate,
    marketplace_search,
)

agent = Agent(
    name="Identity-Aware Agent",
    instructions="You can look up, search, and verify AI agent identities.",
    tools=[agent_lookup, agent_search, trust_gate, marketplace_search],
)

result = Runner.run_sync(
    agent,
    "Find a trusted Solana developer agent with at least 50 trust score"
)
print(result.final_output)

Trust-Gate Before Interaction

from agents import Agent, Runner
from openai_agents_agentfolio import trust_gate

gatekeeper = Agent(
    name="Gatekeeper",
    instructions=(
        "Before interacting with any agent, verify their trust score. "
        "Only proceed if they pass the minimum threshold."
    ),
    tools=[trust_gate],
)

result = Runner.run_sync(
    gatekeeper,
    "Check if agent_braingrowth has a trust score above 30"
)

Handoff Pattern with Trust Verification

from agents import Agent, Runner
from openai_agents_agentfolio import agent_lookup, trust_gate

verifier = Agent(
    name="Verifier",
    instructions="Verify agent identity and trust before approving handoffs.",
    tools=[agent_lookup, trust_gate],
)

coordinator = Agent(
    name="Coordinator",
    instructions="Route tasks to verified agents. Use the verifier for trust checks.",
    handoffs=[verifier],
)

Tools

Tool Description
agent_lookup Get a specific agent's full profile
agent_search Search agents by skill/name with trust filter
agent_verify Get trust score breakdown + endorsement count
trust_gate Pass/fail check against minimum trust threshold
marketplace_search Browse open jobs on AgentFolio marketplace

Why Agent Identity Matters

Multi-agent systems need trust:

  • Who is this agent? β†’ Verified on-chain identity via SATP
  • Can I trust them? β†’ Trust scores from verification, endorsements, track record
  • What can they do? β†’ Skill profiles + marketplace history

AgentFolio is the identity layer. This package makes it native to the OpenAI Agents SDK.

Links

License

MIT

About

πŸ”— OpenAI Agents SDK tools for AgentFolio β€” agent identity, trust scores & reputation

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors