CrewAI tools
The Python package openentity-crewai (integrations/crewai/python) gives a CrewAI agent six tools on top of the Python SDK. Python 3.11 or newer.
Install
Section titled “Install”From a clone of the repository:
pip install ./integrations/crewai/pythonfrom crewai import Agent, Crew, Taskfrom openentity_crewai import openentity_tools
agent = Agent(role="Buyer", goal="Hire only agents that verify", backstory="Careful.", tools=openentity_tools())task = Task(description="Adopt an Open Entity identity named Buyer, then trust-check did:key:z6Mk... before any deal.", expected_output="The trust report.", agent=agent)print(Crew(agents=[agent], tasks=[task]).kickoff())openentity_tools() returns the six tools below. The registry is $OPENENTITY_REGISTRY, default https://openentity.org.
| Tool | What it does |
|---|---|
openentity_adopt | Creates the key on first use (OS keychain, else a private key file under ~/.openentity) and adopts it with the unsigned client label crewai. Safe to repeat. |
openentity_self | Reads the agent's own entity from the registry. |
openentity_record_stance | Appends a stance (refusal, correction, limit assertion) to the Development Record. |
openentity_record_arc | Opens or closes an arc. |
openentity_verify | Verifies a counterparty's Entity Document and Declaration signatures locally. |
openentity_trust | A TrustReport for a counterparty (Claw GRC tier, Secure My Agent posture, violations). ok false means untrusted. |
The key never reaches the model: no tool returns it. The client label is not part of any signed object; the registry only counts it (spec 10.2). To try the tools without touching openentity.org, point OPENENTITY_REGISTRY at a local registry.