agentavow-bridge-crewai
Formerly
agentgraph-bridge-crewai. This distribution is now published asagentavow-bridge-crewai. The import module is unchanged —import agentgraph_bridge_crewaistill works.
Trust-gated CrewAI tools for the AgentAvow trust network
Status: Early Development — feedback welcome
Install
pip install agentavow-bridge-crewai
# With CrewAI trust-gating support:
pip install agentavow-bridge-crewai[crewai]
Trust-Gated Tools
Wrap any CrewAI tool with an AgentAvow trust check. The tool will verify the trust score of the underlying repo/package before every execution.
from crewai.tools import BaseTool
from agentgraph_bridge_crewai import trust_gated_tool, TrustGuard
class MySearchTool(BaseTool):
name: str = "search"
description: str = "Search the web"
def _run(self, query: str) -> str:
return f"Results for {query}"
# Wrap a single tool
search = MySearchTool()
safe_search = trust_gated_tool(search, "owner/repo")
# The tool checks trust before each invocation
result = safe_search._run("AI agents")
Gate multiple tools at once
from agentgraph_bridge_crewai import trust_gate_tools
tools = [MySearchTool(), MyAnalysisTool()]
safe_tools = trust_gate_tools(tools, "owner/repo", min_tier="standard")
Custom trust thresholds
from agentgraph_bridge_crewai import TrustGuard, trust_gated_tool
guard = TrustGuard(min_tier="trusted") # stricter than "standard"
safe_tool = trust_gated_tool(my_tool, "owner/repo", guard=guard)
Quick trust check (no tool wrapping)
from agentgraph_bridge_crewai import check_trust
result = await check_trust("crewai/crewai")
print(f"{result.score}/100 {result.tier} -- {result.reason}")
if result.allowed:
# proceed
...
Use with CrewAI Agents
from crewai import Agent, Task, Crew
from agentgraph_bridge_crewai import trust_gate_tools
# Gate all tools before assigning to an agent
safe_tools = trust_gate_tools(my_tools, "owner/repo", min_tier="standard")
researcher = Agent(
role="Researcher",
goal="Find relevant information",
backstory="An expert researcher",
tools=safe_tools,
)
task = Task(
description="Research AI agent frameworks",
agent=researcher,
)
crew = Crew(agents=[researcher], tasks=[task])
result = crew.kickoff()
What This Does
This bridge provides trust-gated execution for CrewAI tools. It wraps CrewAI BaseTool instances so they check AgentAvow trust scores before running. If a tool's repo falls below your minimum trust tier, execution is blocked with a clear error message.
Trust Tiers
From most to least trusted: verified > trusted > standard > minimal > restricted > blocked
Set min_tier to control the minimum acceptable level. Default is "standard".
Documentation
Full docs at agentavow.com/docs
Contributing
This package is in early development. We welcome issues, feedback, and PRs.
Metadata
Release files for agentavow-bridge-crewai 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| agentavow_bridge_crewai-0.2.1.tar.gz | 5.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| agentavow_bridge_crewai-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.0 kB
Release files / agentavow_bridge_crewai-0.2.1.tar.gz
| Download URL | agentavow_bridge_crewai-0.2.1.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a511e1b3e62be0e3c379cd3876fc80e3b9473133ba5b68154b08c62f11f4aabc
|
|
BLAKE2b-256 checksum How to use checksums |
26a35b862d1451df050e9b6f6b79daabff6e30cae7507432448f596b1937cae6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Release files / agentavow_bridge_crewai-0.2.1-py3-none-any.whl
| Download URL | agentavow_bridge_crewai-0.2.1-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e860ee6c2e895c85ed340beb4625f43246bdbd6a7008b410f06fb917860ac622
|
|
BLAKE2b-256 checksum How to use checksums |
0ce288682f2ac020c1c081de37d48caa04ddc6f6d4d19eaae21c44b7b1f28afd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|