Stop paying an LLM to re-plan the same agent task every day Hotpath, a free Apache-2.0 open-source tool that runs locally with no account, compiles an AI agent's repeated tool-call sequence into a readable workflow that replays as plain code, calling a model only where judgment is needed. On the project's own synthetic benchmark, a Claude Sonnet morning-brief agent cost $0.0179 per run versus $0.0006 for a Haiku replay, roughly 30–60× lower model cost across two tasks and about 2.5× faster on new data, with local Ollama models incurring $0 in API fees; a job run 1,000 times a day would cost about $537 a month as a Sonnet agent versus about $18 on replay, or about $71 if one run in ten hands back to the agent. On the 11-workflow benchmark, replays on a free model got 43 of 44 runs right, with the remaining run handed back to the agent rather than acted on. Your AI agent does a job once. Hotpath runs it every day after, as checked code, for a fraction of the model cost. This page is for everyone: the first half is plain English, the second half is for developers. Hotpath is free and open source Apache-2.0 , runs on your own machine, and needs no account. More and more teams use AI agents for jobs they do every day: writing the morning report, sorting the support inbox, checking invoices against payments, posting the weekly numbers. The agent does these jobs well. But it does them from scratch every time . Every morning it thinks again about which tools to call, in which order, and what to do with the results, even though the answer is the same as yesterday. You pay a frontier model for that thinking on every single run. Most of that bill pays for re-thinking. Very little of it pays for real work. Think of a new employee doing a task for the first time. They work it out, then write down the steps. From then on they follow the checklist, use their judgment only where it is needed, and ask their manager when something unusual happens. Hotpath does that for your agent: 1. It watches. Your agent does the job as usual. Hotpath records every tool call it makes. 2. It learns the path. When the agent repeats the same steps, Hotpath compiles them into a short workflow you can read: get the emails, get the calendar, filter, write the summary, send it. 3. It replays. The next day, the workflow runs on its own. The tool calls are plain code. A model is called only where judgment is really needed, like writing the text of the summary, and a small, cheap or even local model is enough for that. 4. It hands back when unsure. If today's data does not look like what it learned a field is missing, a tool changed, a case it never saw , the run stops before doing anything and hands the job back to your agent. The agent's run is recorded, and the workflow learns the new case. php flowchart LR A "Your agent does the job