Available for: Python and TypeScript.
- Python
- TypeScript
Installation
Usage
Wrap yourCrew instance with wrap_crew before calling kickoff. Both sync and async kickoff are supported.Async usage
With guardrails
Passguardrails=True to run pre/post content checks on crew inputs and outputs.Agent steps
The crew’s span recordszespan.agent.step (how many tasks the crew ran), zespan.agent.stop_reason (done, or error when the run failed) and zespan.agent.route_candidates (how many agents the crew has). With the zespan-crewai event listener, each agent span carries its run number in the crew (zespan.agent.step), the agent’s max_iter as zespan.agent.max_steps, and a stop reason of done or error. See Agent steps.
