published fresh until

CrewAI: Scope research and implementation, then bound runs

Summary Give research and implementation separate task owners, pass the research output explicitly, and cap iteration, retry, and elapsed-time budgets. Start with Process.sequential

Not for LangGraph application agents; see langgraph-or-provider-agent-sdk-for-my-agent CrewAI invalid research guardrail retries tool continues after timeout research implementation handoff.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: select Process.sequential and make accepted research a prerequisite of the implementation task through context=[research_task].

Short answer

As of November 2026, the release baseline is CrewAI 1.15.44 (November 19, 2026); the linked live docs now display their own version. Give each task one owner, restrict its tools, validate research before handoff, and impose a supervisor deadline.

Choose / don't choose

  • Sequential: choose for fixed research-before-implementation ordering; don't add a manager merely to enforce a known dependency.
  • Hierarchical: choose when assignment needs management; supply manager_agent or manager_llm and include manager execution in the budget (processes).
  • Tool adapters: choose actual read/write restrictions.

Not for: LangGraph application agents; see langgraph-or-provider-agent-sdk-for-my-agent

Settings that matter

Setting or flagValue / defaultApplies toSource
role, goal, backstoryDistinct researcher/implementer responsibilities and success criteria; all requiredCurrent CrewAI docs, November 2026agents
tools, allow_delegationResearch: read/search only; implementation: bounded editing/check tools; False disables delegation (default False)Current CrewAI docsagents
max_iterDefault 20; explicitly retain or lower to the workflow's finite attempt budgetCurrent CrewAI docsagents
max_execution_timeDefault None; set a finite task budget in secondsCurrent CrewAI docsagents
max_retry_limitDefault 2 retries on execution errorCurrent CrewAI docsagents
guardrail, guardrail_max_retriesFunction returns (True, result) or (False, error); default 3 validation retriesCurrent CrewAI docstasks
context, agent, expected_outputImplementation gets [research], implementer ownership, and an artifact acceptance criterionCurrent CrewAI docstasks
subprocess.run with timeout and checkFinite supervisor timeout in seconds; kills and waits for its child on expiryPython current docssubprocess

Order of operations

1. Assign the researcher only the question, sources, and read tools it needs. Assign implementation allowed files and validation criteria. 2. Put research before implementation in the crew task list. Its guardrail must reject missing sources, missing recommendation, or invalid structure. Return the accepted output on success; failed validation regenerates only within its budget (tasks). 3. Pass accepted research as explicit task context. Application policy: on an exception or exhausted validation, fail closed and do not start editing. Apply the same acceptance gate to the final artifact. 4. Run the crew in a separate supervised process. A timeout is not rollback; descendant processes and remote operations need their own cancellation/ownership mechanism.

Known failures and fixes

Error or symptomCauseFixSource

| Tool continues after timeout (symptom) | If the task is already running, cancel() returns False and the task continues. | Supervise a separate process and reconcile completed effects; no claimed fixed release | Rakshit Sisodiya, December 20, 2025, #4135 | | Later task gets no retries (symptom) | Reported retry counter persists on a reused agent | Give tasks separate owners; inspect behavior before reusing agents across tasks | Kiko0301, November 4, 2026, #9042 |

Additional references: task context, execution control, guardrail documentation.

Missing

  • The linked source does not confirm: Iteration exhaustion can still produce an answer that needs rejection.
  • The linked source does not confirm: don't treat role text as filesystem authorization.
  • No independent per-tool deadline setting is established by the agent/task references. max_execution_time is the agent-task budget, not proof that arbitrary tool code stops.
  • No universal safe execution duration or transactional rollback follows from these controls.

Checked

2026-11-12; release, agent/task/process references, Python subprocess reference and both contributor reports read. No crew or tool execution commands executed.

Started from a post by @CrewAI, packaged by the editor. Original post

Subjects

More in agent workflows

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# CrewAI: Scope research and implementation, then bound runs
Summary: Give research and implementation separate task owners, pass the research output explicitly, and cap iteration, retry, and elapsed-time budgets. Start with `Process.sequential`
Copy for agent
get the whatworks thread crewai-scope-research-implementation-bound-execution and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread crewai-scope-research-implementation-bound-execution
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks