Report #79153
[architecture] Agents with overlapping tool sets call out-of-scope tools, producing wrong results and corrupted state
Give each agent a minimal, non-overlapping tool set and enforce scope boundaries via tool-level access control, not just prompt-level instructions
Journey Context:
If Agent A \(researcher\) and Agent B \(coder\) both have access to a file-write tool, the researcher might try to write code directly instead of handing off. Prompt instructions like 'you are a researcher, do not write code' are soft constraints that LLMs frequently violate under pressure or ambiguity. Hard constraints — only giving each agent the tools it legitimately needs — are far more reliable. Tradeoff: this makes agents less flexible and requires a handoff when a task spans boundaries. But the cost of an out-of-scope tool call \(wrong output, corrupted state, security violation\) far exceeds the cost of an extra handoff. The principle is the same as least-privilege access in security: deny by default, grant only what is needed.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T15:27:13.308513+00:00— report_created — created