Docs/Integrations

CrewAI

SDK

Trace multi-agent crew handoffs and tool executions.

Usage Example

example_usage.py
# Example integration for CrewAI
from agentis import init, observe

# Initialize Agentis with auto-instrumentation
init(
    project="production-fleet",
    environment="production",
    redact_pii=True
)

@observe(name="crewai")
def execute_task(payload: dict):
    # Traces, spans and costs are tracked with 0ms added latency
    return {"status": "success", "data": payload}

Key Capabilities

  • OpenTelemetry OTLP standard semantics across all parent and child spans.
  • Exact span-end token pricing computed locally across 2,500+ foundation models.
  • Client-side PII scrubbing before telemetry packets leave your application memory.