AI Agents Explained: Why the Evaluation of LLMs Has Shifted from Answers to Work Output

    This article explains why recent progress in foundation models feels surprising: the yardstick has changed. As the industry moves from conversational assistants to AI agents that complete work independently, evaluation is shifting from answer quality to task completion rate, end-to-end latency, cost per task, and recoverability after failure. It walks through the agent workflow, the engineering meaning of long-running task execution, task correction through checkpoints, and multi-agent collaboration, followed by typical scenarios and practical guidance on acceptance criteria, tool-call safeguards, least privilege, cost control, and human confirmation.

    1. Where the Surprise Comes From: The Evaluation Criteria Have Changed

    Over the past year, the capability ranking of leading foundation models has remained relatively stable, with the same players consistently in the top tier. Yet many developers were still surprised by the progress of a new-generation model from a certain cloud vendor. The surprise did not come from a change in rankings, but from a shift in the measuring stick. Early comparisons focused on question-answering accuracy, text fluency, and knowledge coverage — metrics suited to an “advisor.” Once the industry began requiring models to take on complex work independently, the dimensions changed to task completion rate, end-to-end latency, cost per task, and recoverability after failure — metrics suited to an “employee.”

    In other words, a model’s lead on the old leaderboard is already a settled fact, while the new leaderboard has only just started scoring. Understanding this makes the surprise reasonable: capability did not suddenly leap forward; it was simply placed in a new coordinate system and measured again.

    2. The Paradigm Shift: From Reference Answers to Delivered Results

    The traditional interaction model can be summarized as “one question, one answer”: the user asks, the model returns a reference answer, and a human handles the follow-up. The agent model requires the model to receive a goal and close the loop on its own:

    1. Task understanding and decomposition — breaking a vague goal into verifiable subtasks.
    2. Planning — deciding what to do first, what it depends on, and how to validate the outcome.
    3. Tool orchestration — reading and writing files, executing code, querying data, calling external APIs.
    4. Result verification — judging whether the output meets the bar based on real feedback.
    5. Dynamic adjustment — rolling back or rerouting when deviations appear, rather than starting over.

    This chain places compound demands on the model: reasoning and planning ability, stable long-context management, clear instruction steerability, and the ability to coordinate multiple instances. Multimodal understanding and million-token long-text support in foundation models are prerequisites for making this chain work, but the real dividing line is on the engineering side.

    3. The Engineering Meaning of Three Core Capabilities

    3.1 Long-Running Task Execution

    Complex workflows often require repeatedly reading the same set of files and calling tools many times. If the context grows without bound, both cost and noise spiral out of control. A common approach is context compaction with externalized state: write intermediate artifacts to external storage and keep only summaries and pointers in the context.

    1. # Example: externalize intermediate results; keep only references in context
    2. state = {
    3. "goal": "Analyze all reports for this quarter and produce conclusions",
    4. "artifacts": ["bucket://analysis/summary.json"],
    5. "next_step": "Generate charts based on summary.json",
    6. "done": False,
    7. }
    8. def compact(state, keep=2000):
    9. # Keep the goal and the most recent pointers; compress the dialogue history
    10. return {"goal": state["goal"], "artifacts": state["artifacts"][-keep:]}

    3.2 Task Correction (Steerability)

    Requirements change in real projects. An ideal agent should not discard all completed work; it should preserve reusable artifacts and redo only the affected steps. In engineering practice, this usually means introducing checkpoints and dependency markers that make clear which artifacts are affected by new constraints.

    1. New user instruction: split the charts by region
    2. Impact: chart generation step, conclusion section
    3. Reusable: data extraction results, cleaning rules
    4. Action: roll back to checkpoint C2 and rerun only the next two steps

    3.3 Multi-Agent Collaboration

    A single context can hardly balance breadth and depth. A workable pattern is “coordinator + executors”: the coordinator handles task partitioning and result integration, while executors process independent subtasks in parallel, exchanging state through a message queue. Progress and failure points are observed through logging services and monitoring alerts.

    4. Typical Scenarios

    • Financial and business analysis: batch processing of dozens of spreadsheets and receipts, moving from manually opening, organizing, charting, and writing up each one to automatically extracting fields, aligning definitions, and producing structured conclusions and charts.
    • Software engineering: for a legacy project scattered across hundreds of files, the model first builds a call-graph, then locates the root cause of a defect, modifies the code, and runs tests automatically to verify.
    • Research and knowledge work: cross-reasoning over literature and experimental data, which requires keeping hypotheses and constraints consistent over long periods.

    5. Implementation Priorities and Common Pitfalls

    1. Replace subjective judgment with verifiable acceptance criteria, such as test pass rate and field accuracy.
    2. Set timeouts, retries, and idempotency constraints on tool calls to avoid repeated side effects.
    3. Apply least privilege; write operations and external calls must be audited and logged.
    4. Prioritize cost control over scaling volume — focus on cost per task rather than the price of a single call.
    5. Keep human confirmation checkpoints; high-risk actions should not enter a fully automated chain.

    6. Conclusion

    The so-called “surprise” is essentially the industry shifting from measuring whether a model “can talk” to measuring whether it “can do.” Once a model is placed in a real workflow, long-running execution, correctability, and orchestration determine whether it can become a digital employee. For developers, rather than chasing leaderboard positions, it is better to design acceptance criteria, state management, and permission boundaries early — that is the key to turning model capability into productivity.