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
Release history Release notifications | RSS feed
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.0.0.tar.gz
(4.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zespan_crewai-1.0.0.tar.gz.
File metadata
- Download URL: zespan_crewai-1.0.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1578690e2ca9bcb13e9a57b6040daceee6276e82dc8858fdfe03efc0f61f34b1
|
|
| MD5 |
9a4059cb39c0c640618911e5fd4425b5
|
|
| BLAKE2b-256 |
ee23e135b4d92eed103fdb3c3eba9716c8bcaca61ba923ec9cdaf39c59bc46f7
|
File details
Details for the file zespan_crewai-1.0.0-py3-none-any.whl.
File metadata
- Download URL: zespan_crewai-1.0.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2460c0470416979a659ac783a2870f3ed95f915f92e0cd6559dd1c4749ae44e9
|
|
| MD5 |
bf8e7e6a435d3c6eae7e4781553689fb
|
|
| BLAKE2b-256 |
ec9a885f93b0ea6365b970e3efe1342e52f05e7f869c4f83917250cfe31b96a0
|