LLM Agent Capability Evolution and Inference Acceleration in Practice

    This article examines why agentic capability has become the key dividing line for large language models, and how sparse Mixture-of-Experts (MoE) architectures combined with fast and slow thinking help balance speed against reasoning depth. It breaks down agent capability into four observable layers, outlines common failure modes in multi-step web research tasks and the engineering defenses against them, and shows how to build a reproducible agent evaluation set. It also reframes cost planning around cost per successful task rather than per-token pricing, and closes with a practical deployment checklist.

    1. The Starting Point: Why Agent Capability Is the New Dividing Line for LLMs

    Over the past two years, LLM capability has mostly been evaluated around single-turn question answering, text generation, and knowledge retrieval. But once the application shape shifted from a “conversational assistant” to an “agent that can execute tasks,” the evaluation standard changed fundamentally. A model no longer just needs to produce an answer that looks reasonable; it must autonomously decompose goals across multiple turns, call external tools, read intermediate results, correct wrong paths, and finally deliver a verifiable artifact.

    This splits model capability into two dimensions. The first is “fast thinking”: pattern-matching, intuitive responses that excel at language polishing, intent recognition, and format conversion. The second is “slow thinking”: the part that requires an explicit reasoning chain, suited to multi-constraint solving, logical validation, and plan orchestration. Real business tasks tend to alternate between the two: first quickly judging user intent, then entering a long reasoning chain, with tool calls interspersed, and finally converging quickly into a single conclusion. Whether a model can switch smoothly between these two modes internally is what determines the agent experience.

    2. The Technical Logic of Sparse Architectures and Fast/Slow Thinking Fusion

    A new generation of models commonly adopts the Mixture of Experts (MoE) architecture. The core idea: the total parameter count is very large, used to carry broad knowledge and skills, but each forward pass activates only a small subset of expert networks, pushing the compute per inference far below the total parameter count.

    Take a common industry configuration as an example: roughly 295 billion total parameters, with about 21 billion activated per pass. By comparison, some same-generation models activate in the 30 billion to 40 billion range. Fewer activated parameters mean three things:

    • Lower compute cost per token, higher throughput, and shorter time to first token;
    • Higher concurrency support under the same hardware budget, with more controllable marginal cost for long-context scenarios;
    • Less pressure on memory bandwidth, making batch efficiency easier to achieve.

    But sparsification is not free. If expert routing is undertrained, “routing collapse” occurs, where a few experts are selected repeatedly while the rest become nearly inactive, wasting the effective parameters. So engineering practice usually needs load-balancing loss, expert capacity constraints, and a sensible routing strategy. This is where fast/slow thinking fusion adds value: simple requests take a shallow path and return quickly, while complex requests trigger deeper reasoning and involve more experts, achieving a dynamic balance between “speed” and “depth” rather than using one fixed-length reasoning chain for every request.

    3. Four Observable Layers of Agent Capability

    To evaluate a model’s agentic capability, you should not only look at “whether it can call tools,” but observe it in layers:

    1. Task planning layer: Can it break a vague goal into ordered subtasks and identify dependencies?
    2. Tool use layer: Can it pick the right tool, pass the right parameters, correctly parse the return structure, and retry or switch paths on failure?
    3. State maintenance layer: Can it remember completed items, pending items, and ruled-out items across a long context, avoiding repeated work and contradictions?
    4. Convergence judgment layer: Does it dare to conclude when information is sufficient, and clearly flag gaps when it is not, instead of glossing over them?

    For most models, the real weak spots are concentrated in the third and fourth layers. Planning that looks good but loses state midway is the most common form of long-task failure.

    4. Typical Failure Modes in Multi-Step Web Research Tasks

    Take a high-frequency need as an example: researching the market landscape for a certain type of technology, requiring multi-source retrieval, extraction of structured fields, aggregation into a comparison table, and a selection judgment. This kind of task puts heavy pressure on the agent, because if any single step breaks, the final artifact is unusable. Common failure modes include:

    • Hallucination filling: when retrieval misses, filling the table with “plausible-looking” numbers, complete on the surface but fabricated in reality.
    • Mid-task waiting: stopping to request confirmation when it should keep going, breaking the task chain.
    • Structure drift: table column names, units, or definitions changing midway, making data incomparable.
    • Missing judgment: having complete data but refusing to give a conclusion, pushing all decision cost back to the user.
    • Missing sources: giving a conclusion without leaving traceable citations, making it impossible to verify.

    The corresponding engineering defenses are clear: enforce structured output and validate it against a schema; require source annotations for key fields, explicitly leaving them empty rather than guessing when missing; set a maximum step count and timeout budget to avoid infinite loops; and add a hard constraint at the prompt level that “gaps must be declared when evidence is insufficient.”

    1. {
    2. "task": "collect_and_compare",
    3. "constraints": {
    4. "max_steps": 12,
    5. "require_source": true,
    6. "allow_empty": true,
    7. "output_schema": "table_v1"
    8. },
    9. "finalize_policy": "conclude_if_coverage>=0.8 else report_gaps"
    10. }

    5. How to Design a Reproducible Agent Evaluation

    Subjective experience is not enough to support a selection decision. It is recommended to build a small but fixed evaluation set:

    • Task tiers: single-step tool calls, three-step chained tasks, and long tasks of ten-plus steps, each in a certain proportion.
    • Metric combination: task success rate, average steps, tool parameter accuracy, structured output compliance rate, citation verifiability rate, and end-to-end latency.
    • Failure attribution: label failures as one of five categories—planning error, tool error, state loss, hallucination, timeout—and track the distribution rather than only looking at the total score.
    • Regression mechanism: rerun the same set after each model or prompt version change, and watch for metric drift.

    A schematic evaluation skeleton:

    1. def evaluate(model, tasks):
    2. report = {"success": 0, "steps": [], "schema_ok": 0, "cited": 0}
    3. for t in tasks:
    4. r = model.run(t["prompt"], constraints=t["constraints"])
    5. report["success"] += int(r.passed())
    6. report["steps"].append(r.step_count)
    7. report["schema_ok"] += int(r.valid_schema())
    8. report["cited"] += int(r.all_claims_cited())
    9. report["avg_steps"] = sum(report["steps"]) / len(report["steps"])
    10. return report

    6. The Cost Perspective: From Unit Price to Cost per Effective Output

    Looking only at the input and output price per million tokens is easy to misjudge. A metric closer to reality is “cost per successful task”:

    Effective cost ≈ (input tokens + output tokens × output price coefficient) × average steps ÷ task success rate

    Sparse models with fewer activated parameters often amplify total cost in long-chain tasks because of high step consumption; but if their success rate is higher and rework is lower, the cost per effective output may actually be lower. So when planning budgets, it is recommended to record both token consumption and success rate, and divide one by the other to get a comparable measure. For teams with daily call volumes in the millions of tokens, the difference is significantly amplified by the step multiplier, and is worth measuring rather than estimating.

    7. Deployment Checklist

    • Prioritize validation on multi-step tasks like “search—extract—aggregate—judge,” rather than only judging by single-turn Q&A impressions.
    • Make structured output and source annotation hard validations; on validation failure, roll back and retry, and do not deliver with defects.
    • Set a triple budget of steps, time, and cost for the agent; on exceeding the limit, abort and output the completed portion.
    • Build a small-scale regression evaluation set to turn model upgrades into measurable engineering changes.
    • Architecturally decouple the model, tool layer, and validation layer to make replacement and side-by-side comparison easier.
    • When data and keys are involved, enforce permission control and auditing through a unified gateway layer to avoid privilege-escalation risk from opening up capabilities.

    Overall, sparse architectures and fast/slow thinking fusion are pushing LLMs from “being able to answer” toward “being able to get things done.” For developers, the real payoff is not any single metric score, but whether speed, cost, and task success rate can be constrained and optimized together through engineering.