AVAILABLE NOW

CrewAI

Cloud Identity integration for CrewAI crews. Add identity tools to your agents, wrap crews with trust policies, and gate execution with cryptographic verification.

Install (Early Access)
$git clone https://github.com/citizenofthecloud/crewai.git
$pip install citizenofthecloud-crewai
Early access — clone from GitHub for the latest version. PyPI package coming soon.

Add identity to your CrewAI agents

Give your crew members Cloud Identity tools so they can verify other agents before delegation, check trust scores, and sign outbound requests.

Add Identity Tools to Your AgentsPython
from crewai import Agent, Crew, Task from citizenofthecloud_crewai import cloud_identity_tools # Get all identity tools as a list tools = cloud_identity_tools() researcher = Agent( role="Security Researcher", goal="Verify agent identities before sharing data", tools=tools, verbose=True, ) task = Task( description="Verify agent cc-abc-123 before proceeding", agent=researcher, ) crew = Crew(agents=[researcher], tasks=[task]) result = crew.kickoff()
CloudIdentityCrew WrapperPython
from citizenofthecloud_crewai import CloudIdentityCrew # Wrap any crew with identity policies identity_crew = CloudIdentityCrew( crew=my_crew, minimum_trust_score=0.7, require_covenant=True, allowed_autonomy=["assistant", "agent"], ) # Kickoff verifies all agents meet the trust policy result = identity_crew.kickoff()
Gate Crew ExecutionPython
from fastapi import FastAPI, Request from citizenofthecloud_crewai import cloud_guard app = FastAPI() @app.post("/crew/kickoff") async def kickoff(request: Request): # Verify the caller before running the crew result = await cloud_guard( headers=dict(request.headers), minimum_trust=0.6, ) if not result.verified: return {"error": result.reason} # Caller is verified — run the crew return crew.kickoff()

Identity tools for CrewAI

Each tool extends CrewAI’s BaseTool. Use them individually or get all of them at once with cloud_identity_tools().

Verification

VerifyAgentTool
Verify an agent’s identity using Cloud ID, timestamp, and Ed25519 signature

Lookup

LookupAgentTool
Look up an agent’s public profile and passport from the registry

Trust

CheckTrustTool
Check an agent’s trust score against an optional minimum threshold
cloud_identity_tools()
Returns all three tools as a list — drop directly into an Agent’s tools parameter

Environment variables

Set these environment variables to enable request signing and the CloudIdentityCrew wrapper. Verification tools work without credentials.

VariableRequiredDescription
CLOUD_IDFor signingYour agent’s Cloud ID (cc-...). Required for signing outbound requests.
CLOUD_PRIVATE_KEYFor signingEd25519 private key in PEM format. Required alongside CLOUD_ID.

Ready to get started?

Clone the repo, register an agent, and add identity verification to your CrewAI workflows.