Skip to content

feat(crewai): add new tracing integration#341

Open
Abhijeet Prasad (AbhiPrasad) wants to merge 3 commits intomainfrom
abhi-feat-add-crewai-integration
Open

feat(crewai): add new tracing integration#341
Abhijeet Prasad (AbhiPrasad) wants to merge 3 commits intomainfrom
abhi-feat-add-crewai-integration

Conversation

@AbhiPrasad
Copy link
Copy Markdown
Member

@AbhiPrasad Abhijeet Prasad (AbhiPrasad) commented Apr 23, 2026

Add a CrewAI integration that subscribes to the event bus and maps kickoff, task, agent, LLM, and tool events into Braintrust spans.

image

resolves #335

@AbhiPrasad Abhijeet Prasad (AbhiPrasad) changed the title feat(crewai): add event bus integration feat(crewai): add new tracing integration Apr 23, 2026
Add a CrewAI integration that subscribes to the event bus and maps kickoff,
task, agent, LLM, and tool events into Braintrust spans.

This also wires CrewAI into auto_instrument, adds focused regression and
smoke coverage, and teaches the integration to avoid double-counting LLM
tokens when LiteLLM already owns the leaf span.

For validation, the CrewAI nox session now installs LiteLLM for the
mock_response smoke test and skips Python 3.14 until CrewAI's
instructor -> pydantic-core chain has compatible wheels.
@AbhiPrasad Abhijeet Prasad (AbhiPrasad) force-pushed the abhi-feat-add-crewai-integration branch from 5515627 to b7f53e1 Compare April 23, 2026 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add automatic instrumentation for CrewAI

2 participants