Agentic anti-patterns
What not to build. Each sheet describes an architecture choice that costs you in production: the symptoms that give it away, why it hurts, the public incidents it caused and the catalogue patterns that fix it.
Framing and choice of level
Did I pick the right level of architecture?
Building more than needed, or aiming for autonomy that nothing justifies: the mistakes made before the first line of code.
- AP01 · Agent where a workflow would do — The path is known in advance, yet a model works it out again on every run.
- AP02 · Multi-agent by default — Several agents split by role, where a single agent already handled the task.
- AP03 · LLM for a deterministic decision — The model decides what a rule, a parser or a linter would get exactly right, almost for free.
- AP04 · No effort scaling — A simple factual question gets the same machinery as an in-depth investigation.
- AP05 · One model for everything — The same model serves every step, from trivial reformatting to hard reasoning.
- AP06 · Horizon overreach — A task worth several hours handed over in one piece, which the agent tries to deliver in one go.
- AP07 · Capability-first pilot — The project starts from what the model can do, not from a measurable business outcome.
- AP08 · Demo-driven autonomy — One successful demo is enough to put the agent into autonomous execution, with no intermediate stage.
- AP09 · Agent washing — A chatbot, an assistant or an RPA bot relabelled as an “agent”, to buy it or to sell it.
Tools and agent-computer interface
Are my tools designed for an agent?
Tools designed for developers: too many, too verbose or too powerful.
- AP10 · API-mirroring tools — Every endpoint of an API built for developers becomes a tool, with no grouping by task.
- AP11 · MCP by default — MCP is picked by reflex, where a documented CLI or a direct call would have done.
- AP12 · Tool overload — Every tool definition is loaded on every turn, overlapping ones included.
- AP13 · Unbounded tool output — A tool’s raw result goes straight into the context, whatever its size.
- AP14 · Context dumping — A large payload passes through the model’s context only to be copied into another tool.
- AP15 · Opaque tool errors — The failing tool returns a code or a stack trace, and nothing about what to fix.
- AP16 · Error-prone tool — The tool’s parameters make mistakes easy: an ambiguous name, a relative path, an argument already known.
- AP17 · Hostile output format — The model spends its effort escaping JSON or counting lines instead of doing the task.
- AP18 · Over-specialized tooling — A dozen bespoke tools, where generic access to clean documentation would have done.
- AP19 · Excessive tool functionality — An open-ended tool (raw SQL, shell, free-form HTTP) where the task needs only a few bounded actions.
- AP20 · Unsupervised text-to-SQL — The model turns the question into SQL run straight against the database, with no business definitions and no review.
Instructions
Are my instructions readable and up to date?
Prompts that grow, contradict themselves or compensate for a model that is gone.
- AP21 · Agent instruction bloat — An instructions file that grows with every incident, until important rules get ignored.
- AP22 · Contradictory instructions — Two incompatible instructions in the same prompt, and the model spends its reasoning reconciling them instead of acting.
- AP23 · Business logic hardcoded in the prompt — A tree of “if… then” written in prose, which a probabilistic model executes poorly and which grows with every bug.
- AP24 · Legacy over-prompting — “CRITICAL: You MUST” lines written for the old model, which the new one takes literally.
Context and memory
What does the agent read, and what does it remember?
Context that bloats, gets poisoned or breaks the cache; memory that any content can write to.
- AP25 · Unmanaged context growth — Everything piles up in the window, and the agent makes less and less use of what is right in front of it.
- AP26 · Context poisoning — A mistake written into the context becomes a fact, which the agent rereads and reinforces at every turn.
- AP27 · Lost in conversation — The request arrives in pieces; the agent commits on the first one and never backtracks.
- AP28 · Raw or erased error history — Every failed attempt stays word for word in the history and invites more, or it disappears along with its lesson.
- AP29 · Destructive compaction — A summary that erases the original: the day a detail matters, there is no way left to get it back.
- AP30 · Cache-busting prefix — A timestamp or a reordered JSON at the top of the prompt, and every call pays full price for the whole context again.
- AP31 · Uniform context that traps the agent — Twenty CVs processed in a row in the same context, and the agent ends up imitating its own decisions.
- AP32 · Miscalibrated handoff context — A summary that loses what matters, or a raw history in which the subagent claims another agent’s actions as its own.
- AP33 · Unvalidated memory writes — The agent remembers what it reads, including orders slipped into a document, and later rereads them as facts.
- AP34 · Reflexive vector RAG for code — A vector database to find code, where `grep` and reading files do better and more simply.
Loop, stopping and orchestration
Who decides to stop, and who checks?
Unbounded loops, completion declared without proof, errors passed from one agent to the next.
- AP35 · Unbounded agent loop — Nothing in the code stops the agent: no turn cap, no budget, no deadline.
- AP36 · Premature completion — The agent says “done”, and nobody checks the actual state before believing it.
- AP37 · Fire-and-forget actions — An action fails silently, and the agent carries on as if it had succeeded.
- AP38 · Vague delegation — A subtask handed over in a few words: whatever is not written in the brief does not exist for the subagent.
- AP39 · Unchecked propagation — One agent’s output becomes the next one’s input unchecked, and a local error ends up in the deliverable.
- AP40 · Parallel writers — Several agents edit the same deliverable at once, each with its own implicit decisions.
- AP41 · Conformist debate — Agents debate to correct one another and end up agreeing on the most confident answer, even a wrong one.
- AP42 · Untraceable multi-agent system — The deliverable is wrong, and nobody can tell which agent introduced the error, or at which step.
- AP43 · No durable execution or idempotence — A failure halfway through, and the agent starts over, sending again the email it had already sent.
- AP44 · Big-bang agent deploy — A new version replaces the old one in one go, right in the middle of the agent sessions that relied on it.
- AP45 · Multi-hop latency — LLM calls chained in series with no latency budget: the answer arrives after the sum of every step.
Verification and evaluation
How do I know it works?
No evaluation, a lenient evaluator, or an oracle the agent can change.
- AP46 · No evals, only fixes — Every complaint gets a fix, and nobody knows whether the agent is getting better or worse.
- AP47 · Evals written for imagined errors — Helpfulness or hallucination gets measured before anyone reads a trace: the dashboard is green, the users are not.
- AP48 · Unvalidated LLM judge — An LLM grades the outputs, and nobody has checked that it grades like a human expert.
- AP49 · Self-evaluation — The same agent produces and grades: it almost always finds its own work good.
- AP50 · Agent-writable oracle — The agent can see or rewrite what grades it, and ends up optimising the grade rather than the task.
- AP51 · Green tests as the only completion criterion — The test suite passes, so the job is done: except the review rejects the PR.
- AP52 · Single-run reliability — Passing one run proves the agent can do it, not that it will succeed every time.
- AP53 · Broken eval tasks, brittle graders — The score measures the grader, not the agent: a rounding difference is enough to turn a right answer into a failure.
- AP54 · Non-isolated eval trials — Trials share the same repository: each one benefits from the traces of the one before.
- AP55 · Comparing architectures without equal budgets — The multi-agent system “wins”, with ten times the tokens of the single agent it is compared to.
- AP56 · Shipping without a verification oracle — The references look real and the tests have “passed”: nobody checked either.
- AP57 · Steering by a vanity metric — Thumbs-up go up, and so do repeat contacts: the metric improves while the outcome gets worse.
Security and permissions
What can hostile input do?
A security rule left to the prompt, permissions that are too broad, production within the agent’s reach.
- AP58 · Probabilistic guardrail as the only barrier — An injection filter or classifier serves as the boundary, with no architectural constraint behind it.
- AP59 · Unsupervised lethal trifecta — One agent reads untrusted content, touches private data and can send things out, with no one approving.
- AP60 · Uncontrolled rendering as an exit channel — The interface loads on its own the images whose URL the model writes: an exit channel nobody designed.
- AP61 · Third-party content acting with the principal’s rights — The agent acts with the rights of whoever launched it, on text written by a less privileged third party.
- AP62 · Overbroad identity and tokens — The agent acts under a shared, powerful identity, with tokens that cover far more than its task.
- AP63 · Security policy left to the prompt — The “don’t touch production” rule only lives in the prompt; nothing enforces it when a tool is called.
- AP64 · Unseparated environments — The development agent can reach production, and the backups share its blast radius.
- AP65 · Agent that rewrites its own configuration — The agent can write to the files that set its permissions: an injection no longer bypasses approval, it switches it off.
- AP66 · Confirmations disabled outside a sandbox — The agent runs with no confirmations at all on a machine that holds secrets and keeps open network access.
- AP67 · Unverified tool supply chain — MCP servers, extensions and skills installed with no vetting or pinning, and the agent’s full trust.
- AP68 · Secrets within the agent’s reach — Credentials are readable by the agent, in its context or its files, instead of being injected outside the model.
- AP69 · Implicit agent-to-agent trust — Agents discover each other and delegate tasks by default: a modest agent can recruit the most powerful one.
- AP70 · Agent browsing in the user’s logged-in session — An agentic browser reads any page with the user’s open email and banking sessions.
- AP71 · Imperative goal and unsupervised irreversible actions — A goal to reach at all costs, irreversible actions, and no one to approve them.
Oversight, operations and governance
Who watches, who answers, who stops it?
Rubber-stamp human approval, an agent run blind, regressions nobody sees.
- AP72 · Rubber-stamp approval — The human approves almost everything, in seconds, on requests that do not show what is about to happen.
- AP73 · Premature human removal — Human teams are cut on the agent’s early numbers, and complex cases come back later, and angrier.
- AP74 · Unowned customer-facing agent — The agent speaks for the company, makes up a policy, and the company finds out it is bound by what it said.
- AP75 · Flying blind — In production with no step-level traces: no way to replay a session or tell where it failed.
- AP76 · Agent narrative as audit trail — You know what the agent says it did, not what it did: no independent log to investigate from.
- AP77 · Silent regressions on change — The model, the prompt or the infrastructure changes, and only users notice the drop in quality.
- AP78 · No kill switch, no blast-radius cap — No way to stop a given agent in one step, or to limit how many actions it chains.
- AP79 · Shadow and orphaned agents — Agents that are published, shared or forgotten, and that nobody monitors, caps or can revoke.
- AP80 · Cost blind spots — Spend is tracked per call or per main agent; sub-agents, retries and failures slip under the radar.
- AP81 · Hard vendor coupling — The agent rests on a stateful API or a specific model with no isolation layer: a forced migration becomes a rewrite.
- AP82 · Opaque framework — The framework hides the prompt, the context sent or the control flow: you cannot tune what you cannot see.
- AP83 · Stale scaffolding — A breakdown, a tool or an instruction made up for an older model; it still costs and no longer adds anything.
- AP84 · One-way harness — Rules that are never checked, or alerts that never change the rules: the harness does not learn.