crewai - 💡(How to fix) Fix Add --verbose flag for per-step agent execution tracing [2 pull requests]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Fix Action

Fixed

Code Example

[Crew] Starting crew execution
[Agent: researcher] Starting task: research_task
[Agent: researcher] Calling SearchTools.search(query="AI agents")
[Agent: researcher] Task complete, passing to: writer
[Agent: writer] Received context from researcher
RAW_BUFFERClick to expand / collapse

name: Feature request about: Suggest an idea for this project title: "[FEATURE] " labels: "" assignees: ""


What problem does this solve?

Debugging complex multi-agent workflows is difficult without visibility into individual agent reasoning steps. Currently, developers must add manual print statements or integrate external observability tools to trace agent behavior.

Proposed solution:

Add an optional verbose parameter to Crew initialization (e.g., Crew(verbose=True)) that emits structured logs for each agent execution step:

  • Which agent is acting
  • Which task it received
  • Tool calls with sanitized input/output
  • Handoff events between agents

Example output:

[Crew] Starting crew execution
[Agent: researcher] Starting task: research_task
[Agent: researcher] Calling SearchTools.search(query="AI agents")
[Agent: researcher] Task complete, passing to: writer
[Agent: writer] Received context from researcher

Use case:

Developers debugging unexpected agent loops, tracing why a specific tool was called, or teaching team members how agent coordination works without adding print statements manually.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

crewai - 💡(How to fix) Fix Add --verbose flag for per-step agent execution tracing [2 pull requests]