A trading agent's memory file grew 14 times bigger in four days and burned $36.91 retrying
His real money trading agent kept saving its own notes until its memory file grew from 4,738 to 65,977 characters in four days. One night it retried a failing step 51 times, burned $36.91, and ate 43% of his whole project API spend.
This one went wrong. Read what happened so you don’t hit the same problem.
How it works
- The agent appends notes to its memory file after each run
- The file grows from 4,738 to 65,977 characters in four days
- Every run reloads the whole file
- One night it retries a failing step 51 times and burns $36.91
Why it’s worth knowing
The agent was not trading badly. It was re-reading its own diary at full price on every run.
Where it’s from
Summarized from a public post on reddit.com. See the original ↗