From Brain in a Vat to Agentic LLMs: A Technical Breakdown of AI Agent Capability Levels
This article explains why agentic LLM capability is shifting from answering questions to executing tasks. It breaks down agent capability into four levels, analyzes why long-horizon tasks fail through context bloat, goal drift, and missing verification, and shows how explicit state plus a plan-execute-verify loop can reduce drift. It also covers the generalization gap between training and real task distributions, and lists engineering practices for sandboxes, tool contracts, layered orchestration, and evaluation. Readers will get a practical framework for building reliable, observable agent systems.
1. Introduction: The Boundary of Model Capability Is Being Redefined
Two years ago, asking a model to produce a well-structured article was already a stretch. Today, it can work for hours on end, autonomously breaking down and driving a complex code refactoring task. This is not a linear improvement on a single benchmark. It is a shift in the shape of capability itself: models are moving from answering questions to taking on tasks.
A frequently cited thought experiment is the brain in a vat: a brain placed in a tank of liquid cannot tell whether the world it perceives is real. The metaphor holds for agentic systems as well. A model perceives the world only through tool calls and environment feedback, and its judgment of task state depends entirely on how well those external signals are constructed. One of the core problems in agent engineering, therefore, is how to build a trustworthy vat for the model.
2. Capability Levels of Agentic LLMs
The industry usually splits agentic capability into levels to make problems easier to locate:
- L1: single-turn question answering and content generation;
- L2: multi-turn conversation with context retention;
- L3: completing multi-step operations under explicit instructions, with human confirmation at every step;
- L4: given a goal, planning autonomously, calling tools, verifying results, and iterating.
A key judgment in the original discussion is to solve L3 with L4. Rather than pushing a manually orchestrated L3 workflow to its limit, raise the model’s autonomous execution capability directly, so complexity converges inside the model instead of piling up if-else branches in business code.
3. Why Long-Horizon Execution Is Hard
Failures in long-horizon tasks usually do not come from a single wrong reasoning step. They come from error accumulation and state drift:
- Context bloat: the longer the history, the higher the chance that critical information gets diluted;
- Goal forgetting: getting pulled off course by local feedback and drifting away from the original constraints;
- Missing verification: with no executable check in place, errors go undetected.
The engineering response is to turn implicit memory into explicit state:
state = {"goal": "Refactor the auth module while keeping the interface compatible","constraints": ["No new external dependencies", "Unit test pass rate no lower than baseline"],"plan": ["Locate call sites", "Abstract the interface", "Replace the implementation", "Run regression verification"],"artifacts": {}, # Index of intermediate artifacts, avoids stuffing everything back into context"verified": {} # Verification result for each step}
Combined with a three-stage plan-execute-verify loop that injects only the necessary slice of context at each step, this can significantly reduce the probability of drift.
4. The Hard Problem of Generalization: From Memory to Transfer
The root of poor generalization is a mismatch between the training distribution and the real task distribution. Viable paths include constructing diverse tool-use trajectories, introducing automatically checkable verification signals such as compilation, unit tests, and type checks, and deliberately keeping out-of-distribution samples in the evaluation set. It is worth stressing that long context by itself does not mean higher intelligence. If retrieval and compression strategies are poorly designed, an overly long context introduces noise and lowers effective reasoning quality.
5. Engineering Recommendations
- Environment first: prioritize a rollback-capable sandbox, logging services, and a monitoring and alerting system so every run is observable;
- Contract-based tools: define clear input and output schemas and error codes for tools to reduce ambiguity;
- Layered orchestration: container platforms handle isolated execution, object storage holds intermediate artifacts, and message queues decouple long-running tasks;
- Closed-loop evaluation: replace a single accuracy metric with three dimensions: task success rate, number of human interventions, and average elapsed time.
If elastic compute and managed capabilities are needed, the general cloud infrastructure offered by Baidu AI Cloud can host the components above.
6. Conclusion
Progress in agents does not come from waiting for a single breakthrough. It comes from the co-evolution of model capability, environment construction, and evaluation systems. Confining uncertainty inside an observable vat is the realistic path toward reliable automation.
