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: 20 calls + 1 wrap-up free every day; picking up in another AI is always free. The Day Pass is $0.99 for 24 hours, unlimited.

Install:

pip install crewai-aer1

Metadata

Release files for crewai-aer1 0.1.2

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.2
File Size Uploaded Provenance Actions
crewai_aer1-0.1.2.tar.gz 6.8 kB Without provenance Details for crewai_aer1-0.1.2.tar.gz

Built distribution (wheel)

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

Total release size: 13.5 kB

Release files / crewai_aer1-0.1.2.tar.gz

Download URL crewai_aer1-0.1.2.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
fce905dd731e047607c638bd2c3a39aff8bbf27a50a0e26ed9b33e7aba34e2a0
BLAKE2b-256 checksum
How to use checksums
8f4466974b10538ebed80d89014fe0f20228c871cadd3c8daa50d210ef0bc417
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.2-py3-none-any.whl

Download URL crewai_aer1-0.1.2-py3-none-any.whl
Size 6.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7b68e52bdaf3d7466c217359c3a29de06df117c729864d13b823674833d9f770
BLAKE2b-256 checksum
How to use checksums
d370da8cc1ed6dd0a30626de4b4a8f28c766a6ecbc37e1cb15b56caada2f4576
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.2

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