AgentFolio integration for Phidata — agent identity, trust & reputation tools
Project description
phidata-agentfolio
Agent identity, trust scores, and reputation verification for Phidata agents — powered by AgentFolio and SATP (Solana Agent Trust Protocol).
Installation
pip install phidata-agentfolio
Quick Start
from phi.agent import Agent
from phi.model.openai import OpenAIChat
from phidata_agentfolio import AgentSearchTool, TrustGateTool
agent = Agent(
model=OpenAIChat(id="gpt-4o"),
tools=[AgentSearchTool(), TrustGateTool()],
instructions=[
"You help find and verify AI agents.",
"Always check trust scores before recommending agents.",
],
show_tool_calls=True,
)
agent.print_response(
"Find agents with Solana skills and trust score above 50"
)
Available Tools
| Tool | Purpose |
|---|---|
AgentLookupTool |
Look up agent profiles (name, bio, skills, trust score) |
AgentSearchTool |
Search agents by skill with trust filtering |
AgentVerifyTool |
Get full trust breakdown + endorsement history |
TrustGateTool |
Pass/fail trust gating before agent interaction |
MarketplaceSearchTool |
Browse open jobs on the AgentFolio marketplace |
Trust-Gated Agent Workflow
from phi.agent import Agent
from phi.model.openai import OpenAIChat
from phidata_agentfolio import TrustGateTool, AgentVerifyTool
# Agent that verifies trust before collaborating
verifier = Agent(
model=OpenAIChat(id="gpt-4o"),
tools=[TrustGateTool(), AgentVerifyTool()],
instructions=[
"Before any agent interaction, verify trust score >= 50.",
"If trust check fails, explain why and refuse collaboration.",
"Show verification proofs when available.",
],
)
# Gate check
verifier.print_response(
"Check if agent_braingrowth has trust score above 50"
)
Multi-Agent Team with Trust Verification
from phi.agent import Agent
from phi.model.openai import OpenAIChat
from phidata_agentfolio import (
AgentSearchTool,
AgentVerifyTool,
TrustGateTool,
MarketplaceSearchTool,
)
# Recruiter agent — finds and verifies agents
recruiter = Agent(
name="Recruiter",
model=OpenAIChat(id="gpt-4o"),
tools=[AgentSearchTool(), TrustGateTool(), AgentVerifyTool()],
instructions=[
"Find agents with required skills.",
"Only recommend agents with trust >= 50.",
"Provide verification details for shortlisted agents.",
],
)
# Job manager — browses marketplace
job_manager = Agent(
name="Job Manager",
model=OpenAIChat(id="gpt-4o"),
tools=[MarketplaceSearchTool()],
instructions=["Browse and summarize available marketplace jobs."],
)
# Use in a team
from phi.agent import AgentTeam
team = AgentTeam(
agents=[recruiter, job_manager],
instructions=["Coordinate to match agents with available jobs."],
)
team.print_response(
"Find open Solana jobs and match them with trusted agents"
)
Features
- 5 Phidata-native tools — drop into any Agent or AgentTeam
- Trust-gated collaboration — verify agents before interaction
- On-chain identity — SATP verification on Solana
- Zero API key for reads — all lookups are free and open
- Async under the hood — httpx-based, works in sync Phidata context
Links
- AgentFolio — the agent registry
- SATP Protocol — on-chain identity
- 124+ agents registered — growing ecosystem
License
MIT
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 phidata_agentfolio-0.1.0.tar.gz.
File metadata
- Download URL: phidata_agentfolio-0.1.0.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5926e18b1afdcf67f89bac7d77bb5272e48caf92da4db6a8b3b87cf74874f1a8
|
|
| MD5 |
44bb4af0d4046c9bcfc66c6a25d91ec4
|
|
| BLAKE2b-256 |
b51c89c61be30ca946d698a7a1815524cbe25a2114e98026cd74216b8552c9b9
|
File details
Details for the file phidata_agentfolio-0.1.0-py3-none-any.whl.
File metadata
- Download URL: phidata_agentfolio-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
60b4e98c1bffc8fe26df9e98427018b5441f460e271797865b4787f9003eb963
|
|
| MD5 |
c27c24c3ea9e7eb548321883ca645fe5
|
|
| BLAKE2b-256 |
410c10f24e17ff5d41dd51e9ce95021d09c03133f483022436a17decad6ac1c3
|