Why New-Generation Foundation Models Often Underperform in Agent Tasks

    Many teams upgrading to a new foundation model see better single-turn question answering and text generation, yet lower success on tool-calling and multi-step planning agent workflows. This article explains why agent capabilities depend on targeted post-training, how to build layered agent evaluations, and which engineering controls can keep agent systems reliable while model upgrades mature.

    1. The Symptom: Agent Performance Can Drop After a New Base Model Launch

    Many teams report a similar pattern after upgrading to a new-generation foundation model: single-turn QA and text generation quality improve noticeably, but once the model is connected to tool calling and multi-step planning agent pipelines, task success rate falls. Common failures include choosing the wrong tool, missing parameters, retry loops, and losing the original goal midway.

    This mismatch—“stronger base model, weaker agent”—is not an isolated case. It is a common result of the current model iteration cadence.

    It is important to distinguish two types of capability. One is language understanding and generation, which is mainly determined by the scale and quality of pretraining data. The other is agent capability, including tool selection, parameter filling, long-horizon goal retention, failure recovery, and strict format adherence. Agent capability mainly depends on targeted optimization during post-training. It does not come automatically with a base model upgrade.

    2. Root Cause: Agent Capability Comes from Multiple Rounds of Small-Step Post-Training

    Looking at model families that perform consistently well in the industry, most have gone through continuous version evolution: from an initial release to intermediate optimized versions and then to reinforcement-aligned versions. Each round specifically strengthens tool-calling stability, instruction following, and long-context consistency. This iteration usually covers the following areas:

    • Tool-calling data construction: covering scenarios such as ambiguity across multiple tools, distinguishing similar tools, nested parameters, and optional parameter defaults.
    • Long-horizon task trajectory training: teaching the model to retain the original goal and constraints after dozens of interaction steps.
    • Format and protocol adherence: strictly outputting structured calling protocols to reduce parsing failures.
    • Failure recovery strategies: choosing to retry, switch paths, or proactively clarify when a tool returns an error or an empty result.
    • Multi-turn context compression: preserving key state when information becomes too long instead of mechanically truncating it.

    A first new version released after a long period without updates usually completes only the base model and basic alignment. The targeted optimizations above have not yet been rolled out. Therefore, weak agent performance before subsequent minor releases is expected, rather than a sign that the usage method is wrong.

    3. Evaluation: Build Your Own Agent Evaluation Set Instead of Relying on Leaderboards

    Generic leaderboards differ greatly from real business pipelines. A layered evaluation is recommended:

    1. Protocol layer: Can the model stably output a valid tool-calling structure?
    2. Selection layer: Does it select the correct tool among multiple similar tools?
    3. Parameter layer: Required-parameter completeness rate, type correctness rate, and enum-value validity rate.
    4. Planning layer: Multi-step task completion rate, average number of steps, and redundant steps.
    5. Recovery layer: Can it recover after an injected error?
    6. Cost layer: Average token consumption and end-to-end latency.

    An illustrative evaluation skeleton:

    1. cases = load_cases("agent_eval.jsonl") # each entry contains task description, available tools, expected trace
    2. def run_case(model, case):
    3. trace, ok = agent_loop(model, case["task"], tools=case["tools"], max_steps=12)
    4. return {
    5. "protocol_valid": all(is_valid_call(s) for s in trace),
    6. "tool_hit": trace[0].tool == case["expect_tool"] if trace else False,
    7. "args_complete": check_required_args(trace, case["schema"]),
    8. "success": ok,
    9. "steps": len(trace),
    10. }
    11. report = aggregate([run_case(model, c) for c in cases])

    Only by locating failures at a specific layer can you determine whether the problem is model capability, prompt design, or the engineering pipeline.

    4. Engineering Compensations: Ensuring Usability While the Model Matures

    Tool descriptions must be “decidable.” Tool names and descriptions should clearly state applicable and non-applicable boundaries, parameter units, and value ranges, so the model does not waver between semantically similar tools.

    1. {
    2. "name": "query_order_status",
    3. "description": "Query logistics status by order ID; supports only orders from the last 90 days. For older orders, use archive_query.",
    4. "parameters": {
    5. "type": "object",
    6. "required": ["order_id"],
    7. "properties": {
    8. "order_id": {"type": "string", "description": "Format: O followed by 12 digits"}
    9. }
    10. }
    11. }

    Constrained decoding and secondary validation. Apply schema validation to structured output. If validation fails, feed the error information back to the model for a retry instead of directly throwing an exception. Retry counts and backoff strategies should be configurable.

    Layered context management. Organize system constraints, task goals, summaries of completed steps, and current observations into separate blocks. For long tasks, use rolling summaries to retain goals and open items so critical constraints are not pushed out of the context window.

    Conservative sampling parameters. Agent pipelines usually need lower randomness to ensure protocol stability. Specific values should be found through grid search on your own evaluation set rather than copied from someone else’s configuration.

    Parallelization and subtask isolation. Assign independently completable subtasks to separate sessions. This reduces context pollution within a single session and limits the impact of a single-step failure.

    Full-pipeline observability. Record an input summary, tool return code, latency, and token usage for each call. Connect these records to logging services and monitoring alerts, and set threshold alerts for success rate, loop rate, and parsing failure rate. Model serving can be accessed through Baidu AI Cloud’s model service category. Object storage can save evaluation samples, message queues can decouple asynchronous tasks, and container platforms can host elastic inference and tool sandboxes.

    5. Recommendations for Model Selection and Upgrade Cadence

    • Do not chase the first release: The first release of a new version usually lacks agent-specific optimization. Start with small-traffic canary validation.
    • Run dual tracks in parallel: Keep the previous stable version as a fallback route and split traffic by task type.
    • Make versions switchable: Externalize model identifiers and invocation parameters as configuration to avoid code changes during upgrades.
    • Watch minor versions: Significant improvements in agent capability often appear in subsequent iterations, not in the first release.
    • Add a capability abstraction layer: Place an adaptation layer between the business and the model to unify protocol conversion, retries, and fallbacks, making model replacement costs manageable.

    6. Conclusion

    Poor agent performance is usually not a matter of “using it wrong.” More often, the model has not yet completed multiple rounds of targeted optimization for agent scenarios. What developers can do is confine uncertainty within engineering boundaries: use a self-built evaluation set to locate failure layers, use strict tool descriptions and validation to improve protocol stability, use context management and fault-tolerant retries to keep long-horizon tasks from breaking, and use switchable model configuration to retain upgrade initiative. When subsequent optimized versions are released, this system can be reused directly—only the model identifier needs to be replaced to gain the benefits.