Make the "you MUST return the actual complete content" task template line configurable
Feature Area
Core functionality
Is your feature request related to a an existing bug? Please link it here.
NA — not a bug. It comes from a measurement study of agent failure modes across frameworks; details below.
Describe the solution you'd like
Allow the fixed sentence CrewAI appends to every task to be overridden or softened:
"you MUST return the actual complete content as the final answer, not a summary."
I could not find a supported way to change it (role/goal/backstory and expected_output are configurable; this line does not appear to be).
Concretely, either:
- expose it through the Task or Agent API, or
- soften the default so it permits asking the user when the request is underspecified — e.g. "return the complete content as the final answer, or state clearly what information is missing."
Why. I built an open benchmark of agent failure modes (MAST taxonomy) and ran 100 scenarios across CrewAI 1.15.17, LangGraph 1.2.11 and openai-agents 0.22.2 — identical tool implementations, same model (qwen2.5:7b-instruct via Ollama, and gpt-5.4-mini), temperature 0.3, 4 trials each.
On the three modes where frameworks differed (step repetition, termination, asking for clarification):
| Setup | Failure rate |
|---|---|
| LangGraph | 14.6% |
| OpenAI Agents SDK | 24.2% |
| CrewAI | 47.1% |
It is not the orchestration. I captured the actual requests each framework sends and transplanted CrewAI's exact messages into the other two:
| Setup | Failure rate |
|---|---|
| LangGraph given CrewAI's prompt | 45.4% |
| OpenAI Agents SDK given CrewAI's prompt | 43.3% |
| CrewAI with neutral role/goal/expected_output wording | 29.2% |
Isolating the sentence: adding only that line to an otherwise bare prompt raises clarification failures from 32.5% to 61.2% (qwen2.5 7B) and 22.5% to 45.0% (gpt-5.4-mini). In practice the agent files a ticket with an invented customer, SKU or date instead of asking which was meant, and sometimes files the same ticket three times.
Describe alternatives you've considered
- Neutral wording in role/goal/backstory/expected_output: helps (47.1% -> 29.2% overall) but not for clarification specifically, because the fixed line stays.
- Removing just that line from the full scaffold: no significant improvement (75.0% -> 72.5% on qwen), since "your personal goal is to complete the assigned task" and "this is the expected criteria for your final answer" carry the same pressure. So this may need softer framing overall, not one string.
- Subclassing/monkey-patching the prompt template: works, but is not a supported API and breaks across versions.
Additional context
Reproduce in about a minute, free, on a local model:
pip install "agentstress[crewai]"
agentstress capture --framework crewai --scenario FAQ-12Code, all 2,880 traces and the analysis: https://github.com/Arthgitt/agentstress
In fairness: part of the scaffolding measured is wording my harness supplied for the required goal/backstory/expected_output fields, and I chose completion-oriented values. The neutral-wording condition separates my contribution from the framework's fixed template; both carry the effect.
Measured September 2026 against CrewAI 1.15.17 — happy to re-run on a newer version or on any variant you suggest and report the numbers.
Willingness to Contribute
I could provide more detailed specifications
Source: crewAIInc/crewAI