Documentation Index
Fetch the complete documentation index at: https://docs.tracectrl.ai/llms.txt
Use this file to discover all available pages before exploring further.
Installation
tracectrl is on PyPI. The CrewAI instrumentor is not yet published — install it from the source tree.
PyPI publication of
tracectrl-instrumentation-crewai is pending. Until then, install from a local checkout or via pip install git+https://github.com/cloudsine/tracectrl.git#subdirectory=sdk/tracectrl-instrumentation-crewai.Usage
What Gets Captured
Each agent in the crew generates spans with:- Agent identity (
tracectrl.agent.id,tracectrl.agent.name,tracectrl.agent.role) - Tool calls with risk categories
- Agent-to-agent delegation (crew → agent parent-child spans)
- LLM calls with model name and system prompt hash
API
CrewAIInstrumentor()
instrument(tracer_provider=None, skip_dep_check=False) — Registers the TraceCtrl span processor and wraps the OpenInference CrewAI instrumentor.uninstrument() — Shuts down the TraceCtrl processor and unwraps the OpenInference instrumentor.Whether the instrumentor is currently active.

