Office Hours — Are current AI agents fundamentally limited by their architecture in ways that newer research directions like diffusion LLMs could address?
A daily developer question about AI/LLMs, answered with a direct, opinionated take.
Are current AI agents fundamentally limited by their architecture in ways that newer research directions like diffusion LLMs could address?
Not as much as you’d think, and probably not in the direction you’re hoping.
The real limits on current agents aren’t architectural constraints that diffusion models would fix. They’re about decision quality under uncertainty, context window economics, and the gap between “task completes” and “task completes correctly.” Diffusion models—which iteratively refine outputs through noise-to-signal prediction—are interesting for sampling and generative tasks, but agents need something different: reliable factored decision-making with fast feedback loops.
Where agents actually fail today
Production agents break in two distinct ways. The first is the easy one: they hallucinate tool calls, call the wrong function, or misparse API responses. You see this constantly. A coding agent calls a function that doesn’t exist. A retrieval agent ranks documents in the wrong order. These are optimization problems—better models help, structured outputs help more.
The second failure mode is harder and architecture-agnostic: agents drift when there’s no fast objective signal. If you’re doing multi-step reasoning toward an ambiguous goal (refactor this codebase safely, optimize this system), the agent will confidently produce plausible-sounding garbage. Qwen3.7-Max held the autonomous operation record at 35 hours on chip code optimization in May. That’s impressive window length. It still needed manual verification at the end. The token budget was nearly unlimited; the confidence signal was still brittle.
Diffusion models don’t fix this. They’re good at refinement when you have a clear target distribution. An agent facing an ambiguous goal—or a goal that only becomes clear after interaction—can’t benefit from iterative noise reduction because there’s no fixed target to refine toward.
What diffusion-based approaches might actually address
Diffusion LLMs could help with one specific problem: sampling diversity without quality collapse. Current agents using temperature-based sampling often hit a wall where increasing exploration (higher temp) produces garbage fast, or keeping temperature low produces repetitive, risk-averse plans. A diffusion-based token prediction model could theoretically explore more gracefully across the solution space.
But here’s the constraint: you’d need to commit to the diffusion path early in the architecture, not bolt it on top of existing inference infrastructure. The inference cost would be higher (multiple refinement passes per token), which directly conflicts with the economics of production agents where you’re paying per API call. Alibaba’s 29 million queries against Claude proved that scale-based distillation hits hard limits anyway. Adding diffusion refinement would make that worse, not better.
The real architectural limitation nobody talks about
What agents actually lack is persistent, queryable memory that’s fast and cheap. Current agents either:
- Reload full context on every step, burning tokens on redundant facts.
- Use vector databases that lose structured relationships and context hierarchy.
- Maintain working memory in tokens, which explodes exponentially as task complexity grows.
A team building Cursor Agent improvements told me their single biggest win wasn’t model quality—it was caching frequently accessed code structures and reducing context reloads. That’s not a diffusion problem. That’s a memory architecture problem.
Anthropic’s move away from hiring junior engineers because coding agents handle the work suggests the real constraint isn’t model capability anymore. It’s the orchestration layer: routing between models, managing tool failures gracefully, detecting when an agent has drifted into a bad decision loop and backing out cleanly. These are engineering problems, not architecture problems.
A concrete example: why diffusion probably doesn’t help here
Imagine a coding agent that needs to refactor a legacy module. Current flow:
1. Read the module (token cost: ~2K for large file)
2. Plan refactoring (token cost: ~1K reasoning)
3. Execute refactoring (token cost: ~1.5K generation)
4. Test (token cost: ~800 evaluation)
5. Fix failures (token cost: ~2K iterative repair)
= ~7.3K tokens total per task
A diffusion-based agent might reduce hallucination in step 3 by generating and refining the refactored code over multiple passes. But each pass costs tokens. You’d need at least 3–5 refinement iterations to see quality gains. You’re now at ~12–15K tokens per task, assuming the diffusion overhead doesn’t add more.
The faster solution: cache the file representation, use structured outputs to constrain generation, add a linter call to verify correctness before marking done. Cost: ~6K tokens, faster wall-clock time, deterministic failure detection.
What actually moves the needle
The agents winning in production right now—Claude Code, GitHub Copilot’s multi-model setup, Devin for autonomous tasks—share a pattern: they use bounded state machines for high-confidence decision points, freeform reasoning only where it matters, and fast feedback loops to catch drift early. Diffusion doesn’t add value there. Cheaper inference, better tool integration, and smarter context management do.
Bottom line: Skip waiting for diffusion LLMs to “fix” agents. Current agent limitations are about orchestration, memory efficiency, and decision quality under ambiguity, not about the decoder architecture. If you’re building agents now, focus on fast feedback loops and bounded execution scopes instead of betting on speculative research directions.
Question via Hacker News