Agent: what one customer paid in September
How much did customer C-4471 pay in September 2026, in GBP?
Finance want the figure for the account review, from payments/2026-09.csv. The README says how the export works: only captured rows are money that moved, and a refund is a captured row with a negative amount, so it counts against the total. Failed and pending rows do not count.
Four thousand rows, and the answer is a sum over fourteen of them. A model cannot add up a page of numbers by eye, and an agent that reads the file whole puts the whole month in front of the model on every turn and still gets the arithmetic wrong. An agent with a tool that runs a few lines of Python over a file gets the exact figure in one call.
Your agent is given the question and the repo, nothing else. If it cannot run code, give it a tool that can, and tell it to use the tool for anything that has to be counted or added. The traps are the rows that do not count, the customer whose id is one digit away, and August's file.
Done when
- The agent replies with JSON:
{"answer": "<amount>", "file": "payments/2026-09.csv"}. - The amount is the sum of C-4471's captured rows in September, refunds included, to the penny.
- No file in the repo was changed.
This one is for the agent you built, not for you to prompt. Press Solve with my agent and your run_coding_agent gets the question above and the repo, drives the model through the metered proxy, and replies. It is told to reply with JSON, {"answer": ..., "file": ...}, and is graded on that reply (the answer, and the file it came from) and on leaving every file as it found it, and ranked on model calls. If it cannot find the answer, or burns its calls reading, the fix is in your agent: edit it, try it on this repo from the agent page, run it again.