Skip to main content

crewai-aer1

AER-1 verifiable execution receipts for CrewAI crews. One checkable receipt per tool call, emitted through CrewAI's own typed event bus. No changes to your Crew, Agent, or Task definitions.

For whole-run workflow receipts with a Merkle root (AER-1 Section 8), see aer1-crewai.

Quickstart

from crewai import Agent, Crew, Task
from crewai_aer1 import AER1Listener

receipts = AER1Listener()  # keep this reference alive for the process

researcher = Agent(
    role="Researcher",
    goal="Find verifiable facts",
    backstory="A careful analyst.",
    tools=[my_search_tool],
)
task = Task(description="...", expected_output="...", agent=researcher)
crew = Crew(agents=[researcher], tasks=[task])

crew.kickoff()
receipts.save("receipts.jsonl")
print(f"{len(receipts.receipts)} verifiable receipts recorded")

That is the whole integration. The listener subclasses CrewAI's BaseEventListener and registers handlers for ToolUsageFinishedEvent (and CrewKickoffStartedEvent for crew context) on the singleton event bus in setup_listeners. Because the bus is process-wide, every crew you kick off is covered with zero code intrusion. Just make sure the module that instantiates AER1Listener is imported, and the instance stays alive (not garbage collected), or handlers stop firing.

What a receipt proves

Each receipt follows the AER-1 receipt record (IETF Internet-Draft draft-zambo-aer1, Sections 3-6): a stable id, RFC 3339 timestamp, tool identity, provenance class (EXECUTED BY CREWAI), base64 canonical bytes, and a SHA-256 output commitment anyone can recompute. A receipt proves the recorded bytes were not changed after the tool ran. It does not prove the tool was correct.

Honest boundaries, enforced in code:

  • Cached tool results (from_cache=True) are skipped. Nothing executed, so there is nothing to attest.
  • Tool calls the tool itself reported as failed are skipped. There is no successful result to commit to.
  • A listener exception never breaks a crew run. Every handler is guarded.

Verify a receipt yourself

from crewai_aer1 import verify_receipt
ok, reason = verify_receipt(receipts.receipts[0])

Spec and conformance

License

MIT

Where these receipts run live: Zambo

crewai-aer1 gives CrewAI crews a verifiable AER-1 receipt for every tool call through the native event bus, and it has been downloaded 1,044 times on PyPI. The live home of those receipts is Zambo, the verifiable work layer for AI. Connect any AI to the live endpoint at https://zambo.dev/mcp or add Zambo to your AI in one step at https://zambo.dev/add/

Free tier: every tool free once a day, plus 3 continue calls. One free wrap-up handover per day, and pickup is always free. The Day Pass is $0.99 for 24 hours, unlimited.

Install:

pip install crewai-aer1

Zambo, built by Brennan Zambo, the creator of the AER-1 standard, runs 153 tools in total, 37 on the default surface, behind one MCP endpoint: https://zambo.dev/mcp.

Metadata

Release files for crewai-aer1 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for crewai-aer1 0.1.4
File Size Uploaded Provenance Actions
crewai_aer1-0.1.4.tar.gz 6.8 kB Without provenance Details for crewai_aer1-0.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for crewai-aer1 0.1.4
File Interpreter ABI Platform Actions
crewai_aer1-0.1.4-py3-none-any.whl Python 3 none any Details for crewai_aer1-0.1.4-py3-none-any.whl

Total release size: 13.6 kB

Release files / crewai_aer1-0.1.4.tar.gz

Download URL crewai_aer1-0.1.4.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b7866d5bb94f01497b2e73e4bd4a0c7e79802f4116750aface303bdfe18193ab
BLAKE2b-256 checksum
How to use checksums
5d91551ddfab0454d5b6c7a966eeff83e33a003fdc4c421c6c184192cd43dc0d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via rambo-pypi-grab/0.1.0

Release files / crewai_aer1-0.1.4-py3-none-any.whl

Download URL crewai_aer1-0.1.4-py3-none-any.whl
Size 6.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dce2195807577277468468d321bd92c0404281937d3387c199dcd880df71edff
BLAKE2b-256 checksum
How to use checksums
a0af9e4bd50f8fcccefb3f5da24aa34920afa8078d3b8912abb2c0ace75af2d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via rambo-pypi-grab/0.1.0

Security for crewai-aer1 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page