Building Agent Capabilities in the Post-Training Era of Large Language Models
This article explains why parameter count is no longer the main driver of LLM performance and how post-training and tool orchestration shape real-world agent behavior. It covers capability layering, failures caused by overfitting to a single agent framework, trade-offs between minimal and standard tool modes, a four-layer evaluation methodology, and practical engineering recommendations for making agent capabilities portable and reliable across model updates.
1. The Setup: Parameter Growth Does Not Translate Linearly into Intelligence
In a fast-moving open-source model ecosystem, one pattern keeps repeating: a new flagship model may have several times the parameters of the lightweight version in the same series, yet its gain on public “intelligence index” benchmarks is often only a few percentage points. At the same time, the cost per task has been pushed into a very low range, and the model still sits on the cost-capability Pareto frontier.
This suggests that inferring a model’s capability ceiling from parameter count alone no longer works. To understand it, you need to split model capability into two parts: pre-training determines the stock of knowledge, while post-training determines how that knowledge is used.
2. Capability Layers: Pre-Training Sets the Stock, Post-Training Sets the Behavior
Once pre-training is complete, the model’s internal knowledge distribution is largely fixed. What it “knows” no longer changes significantly. Post-training, by contrast, addresses “how to get things done”: how to decompose a task, when to call a tool, how to fall back after an error, and what format constraints the output must follow.
This leads to a key conclusion: two models with similar knowledge stocks can differ severalfold in real-world usability purely because of different post-training strategies. It also explains why a small-parameter model can outperform a larger one on specific tasks—its behavior distribution has been constrained more precisely.
A schematic breakdown of capability looks like this:
Effective task performance ≈ knowledge stock × behavior fit × tool availabilitywhere:knowledge stock — determined by pre-training data and scale; hard to change short-termbehavior fit — determined by post-training objectives, data mix, and evaluation feedbacktool availability — determined by external orchestration, permissions, and context management
The three factors are multiplicative. If any one approaches zero, overall performance collapses. In engineering, the last two are usually where effort pays off most.
3. Overfitting to a Single Execution Framework: The Real Compatibility Problem
When post-training data is heavily concentrated on one specific agent framework, the model internalizes that framework’s prompt structure, tool signatures, and call sequencing as an implicit prior. Once you switch to an execution environment with a more open interface and greater freedom, the model may degrade: confused tool selection, wrong parameter filling, or premature termination of the workflow, with public benchmark scores dropping accordingly.
This is not a loss of model capability but a mismatch in behavior distribution. Common mitigations include:
- Mixed multi-framework training to avoid narrow tool signatures and prompt templates;
- Abstracting a unified tool description spec to reduce dependence on any specific framework;
- Adding a tool whitelist and parameter validation layer on the inference side as a safety net;
- Using real business traces rather than synthetic traces for post-training to improve distribution robustness.
4. Minimal Mode vs. Standard Mode: Tool Surface Width Decides the Outcome
Many execution frameworks offer two operating modes. One exposes only a minimal set of ports (such as file read/write and command execution) and relies on the model’s own reasoning to close the loop. The other exposes twenty-plus tools or skills, externalizing capability.
The trade-off logic is clear:
| Dimension | Minimal Mode | Standard Mode |
|---|---|---|
| Tool surface | Very narrow, around 2 | Wide, 20+ |
| Model requirement | High; needs strong reasoning and self-checking | Lower; tools fill the gaps |
| Portability | Strong; stable across frameworks | Weak; depends on framework adaptation |
| Debugging cost | Low | High |
The practical recommendation: choose minimal mode when cross-framework migration and long-term stability are the priority; choose standard mode for single-point efficiency and complex business scenarios, but lock the tool contract version.
5. Evaluation Methodology: How to Avoid Being Misled by a Single Score
A public leaderboard score is only a slice of one dimension. A more reliable evaluation should cover four layers:
- Capability layer: fundamentals such as reasoning, coding, and long context;
- Behavior layer: tool selection accuracy, parameter validity rate, and share of wasted turns;
- Cost layer: cost per task, average token consumption, and retry amplification factor;
- Stability layer: variance across repeated runs of the same task, and score decay after cross-framework migration.
Among these, “cross-framework decay” and “variance across repeated runs” are the most easily overlooked, yet they directly determine production readiness. Teams are advised to maintain their own regression set—it does not need to be large, but it must come from the real business distribution.
# Skeleton: a minimal in-house regression evaluation harnesscases = load_business_cases("golden_set.jsonl")def evaluate(model, framework, cases):total_cost, scores = 0.0, []for c in cases:run = framework.run(model, c.prompt, tools=c.tools)scores.append(grade(run.output, c.expected))total_cost += run.token_usage.totalreturn {"pass_rate": sum(scores) / len(scores),"cost_per_task": total_cost / len(cases),"invalid_tool_calls": count_invalid(run) ,}
6. Engineering Practice: Push Capability Down into the Orchestration Layer
Since model behavior depends heavily on post-training and the external environment, teams should shift their focus from “chasing new models” to “building orchestration capability”:
- Domain knowledge first: structure business rules, glossaries, and decision criteria into retrievable context;
- Tool contract governance: unify naming, parameter schemas, and error codes, and manage them with versioning;
- Context budget: define truncation policies for retrieved snippets, conversation history, and tool returns;
- Observability: use logging services and monitoring/alerting to capture tool call chains and failure causes;
- Elastic capacity: pair stateless inference services with a container platform and message queues to smooth peaks, and use object storage to keep evaluation samples and artifacts.
For cloud hosting, the common pattern is: a container platform runs the inference and orchestration services, object storage holds datasets and results, message queues decouple long-running tasks, and the logging and monitoring stack handles tracing and alerting. Baidu AI Cloud offers corresponding product categories for these general capabilities, which can be combined as needed.
7. Conclusion
Parameter scale is no longer the dominant variable in capability; post-training and tool orchestration are. When a new model is released, the rational approach is to first test the behavior and cost layers with a unified regression set, then decide whether to switch. Meanwhile, turn domain knowledge and tool contracts into team assets. That way, no matter how the underlying model changes, the capability curve on the business side stays continuous.
