Skip to content
GitHubLog inStart free
cetra is not released yet. These docs describe the development version.

CrewAI

cetra can trace CrewAI crews, agents, tasks and tool uses from Python through the OpenInference CrewAI instrumentation.

Terminal window
pip install "cetra-sdk[crewai]" crewai
import cetra
cetra.init(instrument=["crewai"])
# Build and run your crew as usual. CrewAI runs are traced from here on.

cetra reads the spans of the OpenInference CrewAI instrumentation with the OpenInference convention. See Semantic conventions.

  • No captured spans of this instrumentation are in the repository. The only check is an SDK test that imports the instrumentor when the extra is installed. This page does not say which CrewAI operations are traced.
  • If a field is missing, look at the span’s Attributes tab and compare it with Span attributes.