Skip to main content
Install:

Usage

With tracing

Use AgentXCrewObserver to get a full Execution Timeline per result. Its observer.kickoff(...) convenience wrapper is fire-and-forget and can’t return a trace_id. Use observer.observe(sync=True) instead, which blocks until the trace is ingested:
observer.observe() doesn’t auto-populate per-task tool calls the way kickoff() does. Record them yourself with span.add_tool_call(...) if you need that detail. See the CrewAI tracing integration for the full comparison.
A complete working example is available as crewai_eval.py in the AgentX-Python repository.