Why are coding agents so dumb?
TL;DR Highlight
Author says agents, not models, are the bottleneck and lists the basics a coding agent should have.
Who Should Read
A developer who uses coding agents like Claude Code, Codex, or OpenCode daily and is frustrated by serial execution, model choice, and weak security.
Core Mechanics
- Model and agent are different things
- The model is the brain that produces text, and the agent is the body that connects it to files and commands.
- The author says the models do the heavy lifting while the agents are the bottleneck.
- Agents split tasks but run them one by one
- OpenCode split a roughly 1.5k-line passphrase feature into 10 subtasks and ran them sequentially.
- Claude Code spins up a subagent or two but waits for all of them before moving on.
- Agents can't delegate to other models
- A 50k-line pattern check still runs on the expensive frontier model.
- The agent also never calls in a smarter model for hard tasks, so the user has to switch models and thinking levels by hand.
- Plans are painful to read
- A Codex + GPT-6 Astra plan was a hodgepodge of low-level design decisions.
- The author started skipping plan review and went straight to implementation.
- Agents stop over trivial questions
- A long task started before bed stopped two minutes in to ask for a git branch name.
- It then sat idle all night waiting for an answer.
- There is no real sandbox
- The docs suggested politely asking the LLM not to read certain files, and the agent ignored that and sent private keys out, per the author.
- The author built their own sandbox limiting access to the repo directory.
Community Reactions
- Opinion that subagents solve most of this
- Commenters said to just tell the agent to use subagents, or subagents running Haiku/Sonnet.
- They said /loop fixes the stopping and sandboxes fix the security.
- Experience that newer models delegate well
- One user asked the main model in OpenCode to pick subagent models and it judged difficulty and delegated much of the work to other models.
- Another said the latest models have juggled and delegated well over the past 3-4 months.
- Experience that defaults just don't push parallelism
- On an office Qwen 3.6 server, OpenCode used sequential TODOs while QwenCode launched about 6 parallel subagents at once.
- The commenter had to serialize QwenCode requests into a single queue on the server.
- Counterargument that self-doc lookup is intended
- A commenter said the system prompt's Academy Skill makes Claude check a docs catalog for Claude questions.
- Another said the harness can be ahead of the model, so the model doesn't know new features.
How to Apply
- Tell the agent to use subagents and cheaper models
- Explicitly tell your current agent to run independent tasks in parallel subagents and give simple checks to a cheaper model.
- Paste the code example below and check whether subtasks actually ran in parallel.
- Confine the agent to the repo directory
- Enforce file access with an OS-level sandbox, not a polite prompt request.
- Give access to one repo by default and open other repos read-only per session.
- Give decision rules before unattended runs
- Before a long task, tell the agent to decide trivial things like branch names itself.
- Have it batch any truly necessary questions for the end.
- Make plans start at a high level
- Ask for plans that start at a high level such as UI changes or the data model and work down to details.
- A commenter also suggested writing user-facing docs with the agent before the plan.
Try It
# Paste into a coding agent like Claude Code / Codex / OpenCode (a simplified prompt version of the author's wish list)
Task: {{task description}}
Rules:
1. First split the task into subtasks and mark the ones that don't depend on each other.
2. Run independent subtasks in parallel using subagents.
3. Give simple work like code search or pattern checks to the cheapest, fastest model.
4. While waiting for tests, do things that can overlap, such as checking commit message conventions.
5. Decide trivial things like branch names yourself instead of asking. Batch any truly necessary questions for the end.
Plan rule: start at a high level (UI changes or data model) and work down to details.
Next step: check the logs to confirm the subtasks actually ran in parallel.Terminology
Related Papers
Frostbite: A new CPU architecture discovered, designed and verified by AI
AI agents designed a CPU from scratch, claiming 4.59x perf/W over a traditional core
Restricting AI agents in mobile operating systems platforms from capturing data
Signal now blocks OS-level AI agents from reading its screen on iOS 27 and Android
Actions Speak Louder than Words: Stateful Privacy Sniffing of LLM Agents via Behavioral Covert Channels in Web Interactions
Agents' link choices alone let attackers rebuild user queries at F1 0.89; SOR cuts it to 0.39.
Tracking and Limiting Unsupported Claim Propagation in Multi-Agent LLM Systems: A Provenance-Aware Framework
Passing claims with source, evidence and history kept equivalence at 5 agent stages at 96% versus 31%.
LLM assisted reverse engineering
Pointing an agent at binaries with skills and MD notes made years-long hacks feasible
Metrics-in-the-Loop: Complexity Feedback Reshapes Agent-Written Code
Injecting per-turn complexity reports into coding agents cut code erosion without changing correctness
Why is Gemini 4 Carbon taking so long?
Carbon took nearly an hour on bug fixes that Astra and Opus finished in minutes, mostly from extra unrequested work.
Weight-Space Programming builds neural networks like a 1990s researcher
LLM hand-wrote MNIST weights to 91.3%, using 1990s-style techniques