AI Agents as Escalators on a General Intelligence Foundation: The Technical Core of the AI Investment Boom
This article reframes the AI investment debate around the foundation models that power agents rather than the application shells built on top of them. It explains how pretraining, post-training and alignment, and inference-time compute act as the three driving components of that foundation, then identifies the three variables that determine returns: the unit cost of intelligence, compute supply and cluster efficiency, and data and evaluation assets. A reusable layered architecture, pseudocode for orchestration, an end-to-end cost model, and common pitfalls are included to help developers and decision-makers focus on measurable iteration gains.
1. The Misread Core: Capability Comes From the Foundation, Not the Application Shell
One of the most common misjudgments of the past two years is crediting an agent’s impressive performance to its shell: an executor that clicks through interfaces, a loop that writes code, a carefully designed prompt. The real technical structure is the opposite. An agent that can explore a 3D environment knows that “door handles can usually be turned” and “a box can be used as a step” because general representations and commonsense priors were injected during pretraining. A tool that writes code autonomously understands the semantics of a stack trace for the same reason. Think of this layer of capability as an escalator: the application is just a person standing on it, and what determines how fast and how high they can go is the escalator’s speed and load capacity.
The value of this metaphor for investment judgment is that it turns the question “which application will win?” into “who is powering the escalator, and how is the cost of that power falling?” The former is highly uncertain and changes quickly; the latter comes with clear engineering metrics to track.
2. The Three Driving Components of the Escalator
2.1 Innate Commonsense From Pretraining
A large model’s general capability comes from self-supervised learning over massive corpora, and what it learns is statistical regularities and world knowledge at the distribution level. This explains two common phenomena: zero-shot generalization, where the model remains usable on tasks it was never specifically trained for, and a capability ceiling, where no amount of post-processing can make the model reliably output a concept it never learned. The engineering implication is direct: feasibility assessment must happen at the selection stage, not after tuning reveals the ceiling.
2.2 Behavioral Norms From Post-Training and Alignment
Pretraining solves “knowing”; post-training solves “doing what people intend.” Supervised fine-tuning and preference optimization based on human or model feedback converge divergent generation into behavior that is steerable and evaluable. For agents, this layer also determines the format stability of tool calls and the tendency to recover from failures, and it is the main source of reliability.
2.3 In-the-Moment Reasoning From Inference-Time Compute
Letting the model develop longer intermediate reasoning before answering, sample multiple times, and self-check trades compute at inference time for accuracy. This has been the path with the clearest cost-performance gains over the past two years, and it is why “small foundation plus more inference” can challenge “large foundation plus single inference.”
3. Why This Is the Real Core of the Investment Boom
Put the focus back on the escalator, and three variables determine returns:
- The unit cost of intelligence curve. If the combined cost per million tokens at the same accuracy keeps falling, a large number of previously uneconomical scenarios will cross the break-even line together and demand will be released in steps. The key to the investment judgment is not peak capability but the slope of this curve.
- Compute supply and cluster efficiency. Both training and inference are constrained by interconnect bandwidth, parallelism strategies, and fault recovery. A cluster’s effective compute utilization often determines actual output more than its nominal peak.
- Data and evaluation assets. High-quality corpora, verifiable task environments, and stable evaluation sets are assets that are hard to replicate in the short term. Without verifiable feedback, an agent cannot improve itself, and the investment is easily sunk.
4. Implementation Architecture: Connecting the Escalator to Your Business
A reusable layered structure looks like this:
- Access layer: a unified gateway handling authentication, rate limiting, routing, and canary rollout across multiple models.
- Orchestration layer: task decomposition, tool registration, state machines, and rollback strategies.
- Capability layer: model inference, vector retrieval, and structured data queries.
- Execution layer: sandbox containers, isolated code execution, and adapters for external systems.
- Observability layer: logging services, metrics monitoring, alerting, and full-chain tracing.
An illustrative orchestration skeleton (pseudocode, structure only):
def run_task(goal, ctx):plan = planner(goal, ctx) # task decompositionfor step in plan.steps:result = executor(step, sandbox=ctx.sandbox) # isolated executionif not verifier(step, result): # verifiable feedbackresult = retry_with_hint(step, result)trace.log(step, result) # full-chain tracereturn summarize(plan, ctx)
Three engineering points: execution must be sandboxed with least-privilege permissions; every step needs a verifiable signal, or errors will accumulate silently; and full-chain tracing is both the basis for troubleshooting and the foundation of cost attribution.
5. Cost Model and Evaluation Method
Look past unit price to end-to-end cost per task:
cost_per_task = (prompt_tokens * p_in+ completion_tokens * p_out) * attempts+ tool_call_cost + infra_cost
Here attempts is the average number of retries, usually the most underestimated and largest item. Evaluation should fix the task set and pass criteria, and record three curves at once: accuracy, latency percentiles, and cost per task. Do not substitute a single demo for a statistical conclusion.
6. Common Pitfalls
- Treating a demo as capability: curated examples do not reflect the long-tail failure rate.
- Choosing tools before defining tasks: this leads to a mismatch between the capability ceiling and business needs.
- Ignoring data feedback loops: without annotation and evaluation loops, the system will not get better over time.
- Optimizing only the prompt: gains saturate quickly, and the structural bottlenecks are in retrieval, tools, and execution isolation.
7. Conclusion
The escalator metaphor works because it shifts attention from “who is standing on it” to “who is supplying the power.” For developers, this means investing effort in orchestration, evaluation, and cost attribution. For enterprise decision-makers, it means tracking the unit cost of intelligence curve and effective compute utilization rather than chasing single-point features. Building this layered architecture on top of the general capabilities provided by Baidu AI Cloud, such as its container platform, object storage, logging service, and monitoring and alerting, gives every agent iteration a measurable return.
