Skip to main content

Zespan observability middleware for CrewAI

Project description

zespan-crewai

Observability middleware for CrewAI via Zespan.

Install

pip install zespan-crewai

Usage

from zespan_crewai import ZespanCrewAIListener

# Instantiate once — activates all event listeners automatically.
lumiq = ZespanCrewAIListener(
    api_key="zsp_your_key",
    project_id="your_project_id",
)

# Your crew code unchanged:
from crewai import Agent, Crew, Task

agent = Agent(role="Researcher", goal="...", backstory="...")
task = Task(description="...", expected_output="...", agent=agent)
crew = Crew(agents=[agent], tasks=[task])
result = crew.kickoff()

What's captured

  • Crew kickoff start/complete/fail + duration
  • Agent execution start/complete/error + duration per agent
  • Task start/complete/fail + duration per task
  • Tool usage start/finish/error + result per tool call
  • LLM call start/complete/fail + model + token counts

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zespan_crewai-1.1.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zespan_crewai-1.1.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file zespan_crewai-1.1.0.tar.gz.

File metadata

  • Download URL: zespan_crewai-1.1.0.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.17.0 {"ci":null,"cpu":"AMD64","implementation":{"name":"CPython","version":"3.14.2"},"installer":{"name":"hatch","version":"1.17.0"},"openssl_version":"OpenSSL 3.0.18 30 Sep 2025","python":"3.14.2","system":{"name":"Windows","release":"11"}} HTTPX2/2.4.0

File hashes

Hashes for zespan_crewai-1.1.0.tar.gz
Algorithm Hash digest
SHA256 22c9d3fb6a6c446dbf2f0ccba58a34a778c1bc3e2d87fe486c7f691b54cfe0e9
MD5 c35707e007e40cdd3d03ac2e5e8c025d
BLAKE2b-256 9c3cdfe15001061479821229881058eb69a8319e9f852a07eb174de949a28b70

See more details on using hashes here.

File details

Details for the file zespan_crewai-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: zespan_crewai-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.17.0 {"ci":null,"cpu":"AMD64","implementation":{"name":"CPython","version":"3.14.2"},"installer":{"name":"hatch","version":"1.17.0"},"openssl_version":"OpenSSL 3.0.18 30 Sep 2025","python":"3.14.2","system":{"name":"Windows","release":"11"}} HTTPX2/2.4.0

File hashes

Hashes for zespan_crewai-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 364e9d369dfd157d0abbf798311c3bedbac29084375bb975be888da58ec68057
MD5 d283b1843dd7974e68eda8040bd423e3
BLAKE2b-256 13ec811b2c2839761281b3e4f8154af95e7980c4722719cb8954a48a73ef7ef0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page