Report #14439
[agent\_craft] Agent loads massive data files into context to analyze them instead of executing code
If the task requires aggregation, filtering, or transformation of data larger than a few kilobytes, externalize to a Python interpreter tool. Only load the results of the execution into context.
Journey Context:
Agents naturally try to 'read' things to understand them. Reading a 10MB CSV or log file into the context window is fatal. Coding agents have a superpower: they can write code to process data. The agent should write a pandas script, execute it, and read the \`print\(df.describe\(\)\)\` output instead of the raw file.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T21:38:38.309649+00:00— report_created — created