Capability Evolution and Engineering Practices for General-Purpose AI Agents

    This article examines how general-purpose AI agents are shifting from single-turn question answering to end-to-end task execution. It outlines four core capability areas, key context and output metrics, the role of embodied intelligence, safety tiering and staged access, and practical engineering guidance on context governance, tool orchestration, evaluation, and cost control. Readers will find a layered architecture pattern that separates semantic planning from low-level control, along with actionable practices for building observable, auditable, and measurable agent systems.

    1. Technical Background: From Answering Questions to Getting Work Done

    Over the past two years, the focus of general-purpose large models has been shifting from single-turn question answering toward closing the loop on multi-step tasks. An agent that can “get work done directly” is one that not only generates text but also calls tools, operates software interfaces, retrieves web pages and files, and completes an entire workflow with minimal human intervention. This shift places three demands on model capabilities: long-chain reasoning with state retention, reliable interaction with the external environment, and behavioral boundaries with alignment constraints.

    On the training side, the industry commonly follows a three-stage path that stacks pre-training, reinforcement learning, and alignment, and increasingly brings in “previous-generation models participating in supervision” to improve the efficiency of data construction and feedback. At the same time, large-scale compute clusters (for example, accelerator pools on the order of a hundred thousand cards) and recursive self-improvement training organization are becoming standard configurations for leading training projects. It is worth emphasizing that these are general industry technology trends, not proprietary parameters of any single product.

    2. Capability Profile: Four Core Capabilities and Key Metrics

    The capabilities of a new generation of general-purpose models can be abstracted into four categories:

    1. Complex reasoning: decomposition, planning, and self-verification under multiple constraints;
    2. Software engineering: code generation, refactoring, test writing, and defect localization;
    3. Computer operation: graphical interface recognition, click and input, and cross-application flow;
    4. Long-horizon agent tasks: keeping the goal from drifting across sessions lasting tens of minutes or longer.

    Engineering efforts typically focus on two structural metrics: the context window determines “how much material can be seen at once,” and the maximum output length determines “how much content can be produced at once.” When the context reaches the order of a million tokens and a single output reaches the order of a hundred thousand tokens, the typical benefit is repository-level code understanding and templated generation of very long documents and tables; the typical cost is higher memory usage, higher time-to-first-token latency, and more retrieval noise. Long context, therefore, does not mean “stuff everything in”; it should be combined with retrieval, summarization, and layered memory.

    On input and output modalities, text and image input plus text output have become a standard configuration. Combined with capabilities such as web retrieval, file retrieval, and code execution, this covers most knowledge-work scenarios.

    3. Embodied Intelligence: Potential and Boundaries

    General-purpose models are not built specifically for robots, but they often show transferable potential in spatial understanding and task generalization: given a scene description and a few examples, a model can infer grasping order, tool selection, and environmental constraints. Real robot systems, however, remain limited by fine manipulation, dynamic control, real-machine stability, and overall cost. The engineering recommendation is to place the model at the “task planning and semantic decision layer” and hand closed-loop control to a traditional control stack, forming a layered architecture and avoiding the use of a large model to directly handle millisecond-level control.

    1. # Illustration: decoupling the semantic planning layer from the control layer
    2. plan = planner.decide(goal="tidy the desk", scene=scene_graph)
    3. for step in plan.steps: # semantic-level actions
    4. ctrl.execute(step) # the traditional control stack handles the closed loop
    5. obs = perception.observe()
    6. if not step.satisfied(obs):
    7. plan = planner.replan(goal, obs) # replan on failure

    4. Safety Tiering and Staged Release

    When a model has strong network offense-and-defense and system operation capabilities, its safety rating is raised to the highest-attention tier, the “critical” level. Practical measures include upfront capability disclosure, red-team evaluation, tiered access (piloting first with trusted enterprises, then gradually opening paid and commercial offerings), and staged onboarding through a cloud platform. For users, the corresponding practices are least privilege, operation auditing, sandbox isolation, and human confirmation gates, especially for actions that change production systems, send data externally, or elevate privileges.

    5. Engineering Practice: Context, Tool Orchestration, and Evaluation

    • Context governance: use “retrieval + summarization + layered memory” to inject only highly relevant fragments into the window;
    • Tool orchestration: define a clear schema, timeout, and idempotency policy for each tool, so failures can be retried without side effects;
    • Evaluation system: build an offline task set and online canary releases, tracking task success rate, average number of steps, human takeover rate, and cost per task;
    • Cost control: route by task value, sending simple tasks to smaller models and escalating complex ones, combined with caching and batching.

    6. Conclusion

    The competitive focus for general-purpose agents has moved from “parameters and leaderboards” to “task-loop quality and governance cost.” For developers, the real moat lies in the combination of context engineering, tool contract design, observability, and safety gates. With general-purpose capabilities from Baidu AI Cloud, such as container platforms, object storage, message queues, log services, and monitoring and alerting, teams can more quickly build an agent runtime foundation that supports canary releases, auditing, and measurement, turning model capabilities into stable business results.