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.

Chain it: a job, not a lookup

One call answers a question. A job chains calls and ends in a record a person can open. Same agent, longer instruction:

task = Task(
    description="Check the live price of BTC, ETH and SOL, save the run to memory, then wrap it into a handover addressed to Dana Whitfield, with the receipt link for every call.",
    expected_output="A handover link covering every call in the run.",
    agent=researcher,
)

The listener receipts every call in the chain; when the agent's tools are Zambo's, the wrap is the handover call at the end of the run.

Three prices, a save and the wrap fit inside one free day: every tool free once a day, plus 3 continue calls, and one free wrap-up handover per day. A longer run finishes in one sitting on a Day Pass ($0.99, unlimited for 24 hours). The handover is the part the person opens: the steps, the saved results, and the receipt for every call, checkable instead of trusted. Ready-made run cards for jobs shaped like this: https://rambozambodotdev.gitlab.io/aer1-hub/handover-templates.html

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. The live home of those receipts is Zambo, the verifiable work layer for AI (live counts: https://zambo.dev/numbers/). 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.5

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.5
File Size Uploaded Provenance Actions
crewai_aer1-0.1.5.tar.gz 7.2 kB Without provenance Details for crewai_aer1-0.1.5.tar.gz

Built distribution (wheel)

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

Total release size: 14.4 kB

Release files / crewai_aer1-0.1.5.tar.gz

Download URL crewai_aer1-0.1.5.tar.gz
Size 7.2 kB
Tags Source
SHA-256 checksum
How to use checksums
02bf5502046c453e8e52e64a949501131162bbd3f2b38c2286c2dcf2049adbd0
BLAKE2b-256 checksum
How to use checksums
09303007936210ea564a7d19835d4e6a091eda696aabafaab9227c2e21da0761
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.5-py3-none-any.whl

Download URL crewai_aer1-0.1.5-py3-none-any.whl
Size 7.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3f53ff0a6c6f1bbaed67f23c9a278beab9d7e4b68af7299562ea4885636f6299
BLAKE2b-256 checksum
How to use checksums
d67cb0db1fdca114e26144ad0b29fdce4db40db45235265014dc5270ad06a514
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.5

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