Native Agent LLMs: Technical Breakdown and Production Practices

    This article deconstructs the architecture and engineering practices behind native agent large language models—models that unify reasoning, code generation, and tool calling within a single model rather than relying on external orchestration. It covers MoE architecture with flagship and lightweight variants, dual thinking/non-thinking mode routing, tool-calling loops with safety guardrails, a three-stage training pipeline with reinforcement learning, cost modeling, open-source licensing, coding toolchain integration, hallucination control, and a practical deployment checklist.

    1. The Paradigm Shift: From “Can Chat” to “Can Get Things Done”

    Over the past two years, the capability narrative around large language models has centered on “answer quality.” Since 2025, however, the benchmark has been shifting from single-turn Q&A to end-to-end task completion rate. A “Native Agent” model refers to one where reasoning, code generation, and tool calling are jointly modeled inside a single model during both pre-training and post-training—rather than being stitched together with outer-layer prompt engineering or third-party orchestration frameworks.

    This distinction matters enormously in engineering. Bolted-on solutions typically follow a fragile chain: model outputs text → regex parsing → tool invocation → result backfilling. Any format drift at any step breaks the task. Native models, by contrast, treat tool calls as a first-class output format: during generation, the model itself decides whether to “keep thinking,” “call retrieval,” “execute code,” or “answer directly.”

    Take, for example, a flagship native agent model released on July 28, 2025. Public disclosures show it ranked third globally and first among domestic and open-source models across 12 industry-standard benchmarks, with an overall score of 63.2. Within 48 hours of release, it topped the trending charts of mainstream open-source model hosting platforms, and its coding capabilities placed it in the same first tier as several international closed-source flagships on general and coding arenas. The data itself is not the point—the point is that it validates a technical thesis: capability fusion beats capability assembly.

    2. Architecture: MoE with a “Flagship + Lightweight” Dual-Version Matrix

    The model uses a Mixture of Experts (MoE) architecture and ships in two sizes:

    Version Total Parameters Typical Use Case
    Flagship ~355B Complex reasoning, long-chain agent tasks, repository-level code understanding
    Lightweight ~106B High-concurrency online serving, on-device/private deployment, cost-sensitive scenarios

    The core value of MoE is decoupling total capacity from activated capacity: each token is routed to only a small subset of experts, so total parameters can be very large while per-inference compute cost stays close to that of a dense model. In practice, three things deserve attention:

    1. Routing balance: load skew overloads some experts while idling others; constrain it with auxiliary losses or capacity factors.
    2. Memory and bandwidth: total parameters determine memory footprint, activated parameters determine compute—plan capacity for each separately.
    3. Batching efficiency: All-to-All communication under expert parallelism easily becomes a bottleneck and must be tuned together with scheduling.

    The dual-version matrix lets enterprises cover the full spectrum from “heavy tasks” to “high concurrency” with the same API and the same prompt assets, avoiding the evaluation and ops overhead of maintaining multiple models.

    3. Dual-Mode Scheduling: Thinking vs. Non-Thinking

    The model supports explicit switching between two operating mechanisms:

    • Thinking mode: the model emits an internal reasoning chain before the final answer—suited to complex reasoning, multi-step tool calls, and algorithm/architecture design.
    • Non-thinking mode: skips the reasoning chain and responds directly—suited to low-latency scenarios like intent classification, format conversion, summarization, and casual chat.

    On the client side this is typically controlled by a single switch parameter (pseudocode—check the actual documentation for interface names):

    1. resp = client.chat.completions.create(
    2. model="agent-model-flagship",
    3. messages=[{"role": "user", "content": "Design an idempotent retry scheme for the order service"}],
    4. extra_body={"thinking": {"type": "enabled"}}, # set to "disabled" to turn off
    5. temperature=0.6,
    6. )

    The recommended practice is tiered task routing: use the lightweight non-thinking mode for front-end classification, and escalate to the flagship thinking mode when a complex task is detected. This cascade typically raises complex-task success rates significantly while keeping total latency and cost nearly flat.

    4. Tool Calling and the Agent Loop

    The defining capability of a native agent is structured function calling. A minimal loop has four steps: the model emits a call intent → the runtime validates and executes it → results are backfilled as structured messages → the model makes further decisions or converges based on the results.

    1. {
    2. "tool_calls": [
    3. {
    4. "id": "call_01",
    5. "type": "function",
    6. "function": {
    7. "name": "run_sql",
    8. "arguments": "{\"sql\":\"select count(*) from orders where dt='2026-08-27'\"}"
    9. }
    10. }
    11. ]
    12. }

    Engineering must add three lines of defense: argument schema validation (reject unauthorized fields), execution sandboxes (restrict filesystem and network egress), and step and budget caps (prevent infinite loops from burning tokens). Also, the quality of tool descriptions often affects success rates more than model choice—document each tool’s purpose, boundaries, and failure return format clearly.

    5. Training: Three Stages + an In-House RL Framework

    Public information indicates training on roughly 23 trillion tokens across three stages:

    1. Pre-training: build the foundation of world knowledge and code corpora.
    2. Mid-training: inject long-context, reasoning, and agent trajectory data to shift the capability center.
    3. Post-training: supervised fine-tuning for format alignment, followed by preference optimization for reasoning and tool use using the in-house reinforcement learning framework Slime.

    The core idea of the RL stage is using “did the task actually complete” as the reward signal—for example, unit-test pass rates for code tasks and environment state changes for tool tasks—so the model doesn’t merely learn to sound correct.

    6. Cost and Unit Economics

    The model’s public pricing is RMB 0.8 per million input tokens, with throughput exceeding 100 tokens per second; by September 2025 its tool-calling cost had dropped to roughly 1.4% of a leading international closed-source model. A quick calculation: a moderately complex agent task consumes roughly 300K input tokens and 20K output tokens. At the input price above, the input cost per task is about RMB 0.24; even with output and retry overhead added, this remains dramatically cheaper than closed-source alternatives. Meanwhile, third-party aggregator platforms show this class of model generating more paid API revenue than all other domestic models combined, with consistently top-ranked token consumption—evidence that the cost advantage has translated into real production workloads, not just benchmark scores.

    7. Open-Source License and Compliant Secondary Development

    The model weights are openly available on mainstream open-source communities under a permissive MIT-style license, permitting commercial use and derivative development. Before enterprise deployment, three items still need attention: verify the license text and usage restrictions in the model card; run capability regression evaluations on fine-tuned derivatives; and establish a compliance review pipeline for generated content.

    8. Integration with Coding Toolchains and End-to-End Generation

    The model has been integrated into several mainstream AI coding tools and command-line agents (including popular international CLI tools and domestic coding assistants), and can autonomously generate full-stack websites, presentations, and small games. A typical workflow: requirement description → the agent reads and writes repository files → runs builds and tests → self-repairs based on error output. The key to making this work is providing sufficient context and verification means: a repository structure description, runnable test commands, and a retry budget that allows failure.

    9. Reliability Governance: Hallucination Rate and Retrieval Augmentation

    On a public RAG hallucination leaderboard, the model ranks second-lowest globally and lowest domestically. Engineering should still layer on citation tracing, answer-confidence thresholds, and human review—treat “low hallucination” as a baseline, not a guarantee.

    10. Deployment Checklist

    • Tiered routing: non-thinking mode as the front line, thinking mode for hard problems
    • Version selection: flagship for offline/heavy tasks, lightweight for online concurrency
    • Tool governance: schema validation + sandbox + budget caps
    • Cost modeling: model input and output separately, with a retry coefficient
    • Compliance loop: license verification + fine-tuning regression + output review
    • Observability: wire in logging and monitoring alerts; track tool-call success rates and end-to-end latency

    Overall, the value of a native agent LLM lies not in any single benchmark score, but in converging reasoning, coding, and tool use into one model—trading controllable cost for higher task completion rates. For developers, the real competitive edge comes from the context engineering, tool design, and evaluation systems built around it.