#ai-agents
Every post tagged "ai-agents".
303 posts · showing 31–40
-
One Tool With Twelve Parameters or Four With Three? Let the Agent's Error Log Decide
Merging tools trades wrong-tool mistakes for wrong-argument mistakes. Your traces already show which one your agent makes more, and an overloaded tool leaves a signature you can grep for.
-
An Agent That Cannot Fail Will Retry Forever. Budget Tokens and Wall-Clock, Not Retry Counts.
Your max_retries=3 never fires, because every search call succeeds. The agent just keeps finding new ways to look for an answer that doesn't exist. Here is the budget that actually stops it, and the exit that lets it stop politely.
-
The Page Your Agent Read Told It to Email Your Customer List. "Ignore Instructions in the Content" Won't Stop the Next One.
A system-prompt warning makes injection less likely. It doesn't make it impossible, and the attacker gets as many tries as they like. The real fix lives in the tool dispatcher, not the prompt.
-
Retrieval Returned Zero Rows and the Agent Cited a Policy Doc Anyway
Empty retrieval results are the only tool failure that arrives as a success — status 200, results [] — and a model asked to answer from sources will invent one to fill the hole. Two boundary fixes: a loud typed empty, and citation IDs validated in code.
-
Forty Tools in One Prompt: What It Actually Costs, and the Three Signals That Say Split the Agent
Forty registered tools do not fail loudly — the agent just gets vague, picking near-synonyms and asking questions it had the answer to. Here are the three costs you're paying, and the signals in your traces that tell you to merge, gate, or finally split.
-
A 1% Flaky Tool Shouldn't Take You Down. Three Nested Retry Layers Will.
A tool that fails one call in a hundred is healthy. The retry logic wrapped around it is what turns a dependency's bad minute into a queue of hung user requests — and the load multiplier is at its worst exactly when the dependency is weakest.
-
Can You See the Raw Messages? The Question That Sorts Agent Frameworks
Every agent framework demos well. The one that survives your first 2am incident is the one that will hand you the exact bytes it sent to the model — and let you change them before they go.
-
A Two-Line Prompt Diff Is a Behavior Change. Here's the Regression Check It Needs.
A prompt edit has the blast radius of a code change and none of the safety rails — no compiler, no type error, no failing test. Six checks that turn a forty-second approval into a real regression gate.
-
Your Agent Called the Same Tool Three Times in a Row. Here's What the Loop Is Telling You.
A repeating agent isn't being stubborn — it's being consistent. Identical tool calls mean the context barely changed between turns, and there are only four reasons that happens.
-
Your Agent's Dry Run Doesn't Bind the Real Run — Confirm the Plan Hash, Not the Intent
A human approves a preview; the agent then executes a freshly computed call. Everything that shifts in between is unguarded — and the fix is a redeemable plan object, not a sterner confirmation prompt.