Why LLM Agent Capabilities Require Multiple Rounds of Post-Training Iteration
A newly released base model often struggles in agent workflows, producing unstable tool calls, drifting off track in multi-step tasks, and failing to recover from errors. This article explains why agent capability is mainly shaped during post-training rather than pre-training, how to replace subjective impressions with reproducible layered evaluations, and which engineering safeguards—output contracts, externalized state, task segmentation, tool design, and convergence limits—can compensate before the model itself matures. It also covers candidate evaluation, canary rollout, an abstracted integration layer, and observability for managing version upgrades.
1. The Pattern: New Models Often Feel “Unusable” in Agent Tasks
Many developers discover that a freshly released base model struggles inside an agent pipeline: tool call formats are unstable, multi-step tasks drift off course midway, key constraints get lost once the context grows a little longer, and the model does not self-correct after a failure. The conclusion is often simplified to “this model is just bad.”
A more reasonable explanation is that agent capability is not a finished product that emerges naturally during pre-training. It is an engineering result refined repeatedly during post-training. For a model family to become genuinely usable in agent scenarios, several rounds of targeted optimization are usually required between the initial release and that point. The first release is closer to a capability foundation than a finished product.
It is worth noting that iteration cadence, version naming, and optimization focus differ across model families, so treating one vendor’s version sequence as a general rule is not rigorous. The engineering fact that “more rounds of refinement are still needed after the initial release,” however, is universal.
2. The Cause: Agent Capability Comes Mainly from Post-Training, Not Pre-Training
Pre-training addresses world knowledge and language modeling; it determines the model’s ceiling and breadth of knowledge. The capabilities that agent scenarios actually depend on are mostly shaped in later stages:
- Instruction following and format constraints: reliably emitting structured call intents with complete fields, correct types, and no explanatory text mixed in.
- Multi-step planning and state tracking: remembering the goal, completed steps, and remaining items across a long chain, avoiding repetition and omission.
- Tool use and parameter filling: extracting slots from natural language, recognizing missing parameters and asking proactively instead of fabricating values.
- Error recovery: judging from execution results whether a step failed, then choosing to retry, switch paths, or exit with a conclusion.
- Constraint retention in long contexts: system prompts and business rules still holding after dozens of turns.
These capabilities require large amounts of “task–action–observation” trajectory data and targeted training, along with evaluation-driven regression iteration. The initial release typically completes only basic alignment and lacks sufficient density of agent-specific refinement, so appearing clumsy on real pipelines is an expected outcome.
3. The判断: Replace Subjective Impressions with Reproducible Evaluation
“Hard to use” is a subjective feeling and must be converted into quantifiable metrics before the problem can be located. A layered evaluation set is recommended:
- Unit level: format validity rate and parameter correctness rate for single-step tool calls.
- Pipeline level: multi-step task completion rate, average number of steps, and share of ineffective steps.
- Robustness level: performance degradation as context length grows, under noisy instructions, and with injected tool errors.
- Cost level: average input and output volume per task, plus retry counts.
An illustrative evaluation skeleton (pseudocode):
def run_case(case, model, tools, max_steps=8):state = {"goal": case.goal, "history": []}for step in range(max_steps):action = model.plan(state, tools) # expected structured outputif not schema_valid(action, tools):return {"ok": False, "reason": "bad_format", "steps": step}obs = executor.call(action) # execute the toolstate["history"].append((action, obs))if case.is_done(state, obs):return {"ok": True, "steps": step + 1}return {"ok": False, "reason": "no_converge", "steps": max_steps}
The key is to fix the evaluation set and the pass/fail rules, then run them every time you swap models or change prompts, producing comparable regression curves. Without a baseline, discussing whether something is “usable” stays at the level of impression.
4. Compensation: Engineering Safeguards While the Model Catches Up
If the current version underperforms in agent scenarios, gains can be captured first on the pipeline design side. This investment is model-agnostic and reusable over the long term:
- Tighten the output contract: constrain action formats with an explicit schema definition, and on parse failure fail fast and return an error description so the model can correct itself.
- Externalize state: write the goal, completed steps, and key constraints into an externally readable and writable task state instead of relying entirely on context memory.
- Segment progress: split long tasks into short subtasks and validate after each segment to limit accumulated drift.
- Optimize tool design: fewer tools, specific descriptions, and few but clear parameters with readable error messages often yield more benefit than switching models.
- Fallback and convergence: set maximum steps, timeouts, and budget caps to avoid resource waste from infinite loops.
{"goal": "Generate and archive the monthly reconciliation report","constraints": ["Use yuan as the single currency unit", "Ask when fields are missing"],"done": ["fetch_orders"],"next": ["reconcile", "render", "archive"]}
5. Recommendations for Selection and Rollout Cadence
- Build a candidate pool with unified evaluation: put candidate models under the same evaluation and cost measurement, and let data decide when to upgrade.
- Canary by version: run a new version on small traffic in shadow mode first, compare completion rate and cost against the version in use, then ramp up gradually.
- Abstract the integration layer: decouple model calls, retries, rate limiting, logging, and monitoring alerts so that swapping models becomes a configuration change rather than an architectural one.
- Observability first: record actions, observations, and latency in full so failed cases can be reviewed and accumulated as evaluation samples.
- Rely on general-purpose cloud platform capabilities: use a container platform to host inference and execution sandboxes, object storage to keep trajectory data, a message queue to smooth task peaks, and log and monitoring/alerting services to track quality metrics. For specific product forms and parameters, refer to the official Baidu AI Cloud documentation.
6. Conclusion
When a new model version performs poorly in agent scenarios, it is usually not a capability defect but unfinished targeted refinement. Developers have three parallel moves available: turn impressions into reproducible evaluation, trade pipeline and prompt engineering for deterministic gains, and use canary rollout plus observability to support version evolution. Once later iterations fill in the agent-specific capabilities, the evaluation sets and engineering framework you have already built remain your most valuable assets.
