The Evolution of Thinking, Coding, and Agentic Models for Long-Horizon Tasks

    This article examines how large language model development is shifting from conversational fluency toward thinking, coding, and agentic capabilities for long-horizon tasks that run for hours. It breaks down why long-horizon work is difficult, outlines the release and open-source strategy of a model series, covers domestic AI chip adaptation and cost control, and provides an engineering checklist for building an execute-verify-rollback loop, selecting a model, and validating real business performance.

    1. Introduction: From “Holding a Conversation” to “Getting Work Done”

    Over the past two years, the focus of LLM evaluation has shifted noticeably. Early assessments centered on conversational fluency and knowledge Q&A accuracy. Today, developers and enterprise users care more about whether a model can work continuously in a real environment for hours, independently complete a mid-sized software engineering task, and diagnose its own failures to keep making progress.

    This shift has moved R&D focus from “conversational ability” toward a deep fusion of thinking, coding, and agents. Using the technical evolution of an open-source LLM series as a thread, this article abstracts the general engineering methodology behind it, for developers to reference when selecting, deploying, and doing secondary development.

    2. Breaking Down the Capability Dimensions: Why Long-Horizon Tasks Are Hard

    A long-horizon task is work that spans a large number of steps and a long time span, such as refactoring a module, tracking down an intermittent bug, or completing an end-to-end data processing pipeline. The difficulty concentrates in four areas:

    1. Context expansion: The process continuously generates logs, code snippets, and intermediate conclusions. Context length grows quickly, and critical early information is easily diluted.
    2. Error accumulation: A 95% per-step accuracy rate drops sharply in overall success rate after 50 chained steps, so “self-verification” matters more than “being smart at a single step.”
    3. State management: The task must maintain a to-do list, completed items, and rollback points—essentially an externalized state machine.
    4. Cost control: Long tasks mean heavy token consumption. If inference cost does not fall, long-horizon capability cannot scale into production.

    The common industry approach stacks three things: long context + explicit state + tool calls. A million-token context carries the full history, external files or structured checklists fix the task state, and tool calls hand uncertain actions to a verifiable environment.

    3. The Model Series’ Release Cadence and Open-Source Strategy

    From public information, the series completed a rhythmic iteration from base to multimodal, and from closed to open source, within a few months: it first validated real user feedback via an anonymous test version on a model aggregation platform, then officially open-sourced the base model. It subsequently released a closed-source version for low-latency scenarios, a native multimodal coding base, a long-horizon capability upgrade, a million-token context version, and the first lightweight open-source version with native multimodality.

    What developers should note is its open-source strategy: core versions are released under a permissive license (MIT), and the official position emphasizes “fully open source, no regional restrictions.” This matters greatly for enterprise adoption—a permissive license means commercial integration and redistribution can be done safely, without worrying about the compliance risk of copyleft clauses.

    On capability benchmarks, public information states it scored 50 on a composite intelligence index, with the later native multimodal version rising to 57. On a benchmark for real software engineering problems (such as a Pro variant of SWE-bench), the upgraded version scored 58.4, reportedly outperforming some closed-source flagship models of the same period. A reminder: benchmark scores are only a reference; real business performance must be A/B validated on your own datasets.

    4. Domestic Compute Adaptation: A Key Part of a Self-Reliant Tech Stack

    The most engineering-significant point of this series is that the entire training process was completed on domestic AI chips, with optimization and adaptation completed across multiple domestic compute platforms (such as Ascend, Cambricon, Hygon, Kunlunxin, Iluvatar CoreX, Enflame, Moore Threads, and others). The goal is to make the model “run, and run fast enough” on the domestic GPU ecosystem, reducing dependence on overseas compute.

    For developers, this adds a new dimension to selection: operator and framework compatibility. Common adoption paths include:

    • Use the vendor’s inference framework image and get the official reference implementation running first;
    • Downgrade and replace custom operators to avoid depending on hardware-specific fused operators;
    • Add “multi-hardware backend” smoke tests in CI to prevent the model from working on only a single backend.

    An illustrative deployment validation flow:

    1. # Pseudocode: multi-backend consistency smoke test
    2. backends = ["domestic_backend_A", "domestic_backend_B", "generic_GPU_backend"]
    3. prompt = "Explain what a long-horizon task is in three sentences"
    4. for b in backends:
    5. out = run_inference(model, prompt, backend=b, max_tokens=128)
    6. assert is_non_empty(out), f"{b} inference failed"
    7. print(b, "latency(ms)=", measure_latency(model, prompt, backend=b))

    5. Cost Control: Architecture and Optimization Together

    Long-horizon capability without cost constraints is just a demo. The series emphasizes reducing training, inference, and deployment costs through architecture and optimization. General techniques include:

    • Mixed precision and quantization: Use low-bit weights and KV cache quantization within an acceptable precision loss range;
    • Sparsification and attention optimization: Reduce memory and compute overhead under long context;
    • Batching and scheduling: Use continuous batching to improve throughput and request prioritization to protect interactive scenarios;
    • Cache reuse: Apply prefix caching to fixed prefixes like system prompts and tool definitions, which pays off especially in long tasks;
    • Tiered model routing: Route simple subtasks to a lightweight model and complex reasoning to the flagship model.

    A simplified routing strategy example:

    1. def route(task):
    2. if task.estimated_steps < 3 and task.risk == "low":
    3. return "light_model" # low cost, low latency
    4. return "flagship_model" # complex long-horizon task

    6. Agent Engineering Practice: Keeping the Model Working for 8 Hours

    Public information claims the upgraded version can work continuously at an 8-hour scale. To reproduce this kind of effect, the engineering side needs an “execute—verify—rollback” closed loop:

    1. Task decomposition: Break the goal into verifiable sub-goals, each with a clear acceptance criterion.
    2. Tools and sandbox: Run code execution, test runs, and log retrieval in an isolated sandbox to avoid polluting the main environment.
    3. Failure handling: After catching an exception, first determine whether it is an environment error, a missing dependency, or a logic error, then decide whether to retry, switch approaches, or roll back.
    4. Checkpoints and rollback: Use files or version control as checkpoints, returning to the last usable state on failure.
    5. Observability: Use logging services and monitoring alerts to track token consumption, step count, and failure rate, and trip abnormal loops promptly.
    1. Loop skeleton:
    2. while not done:
    3. plan next step -> call tool -> verify result
    4. if failed: log reason -> roll back to checkpoint -> adjust plan
    5. if succeeded: commit checkpoint -> update task list

    7. Selection Advice and Adoption Checklist

    • License first: For commercial scenarios, confirm the license terms first; a permissive license is more favorable for integration and distribution.
    • Start with small-scale validation: Build 20–50 real tasks from your own business datasets, and evaluate success rate and average step count.
    • Watch the real payoff of long context: Longer is not always better; observe key information recall rate and the cost curve.
    • Multi-backend compatibility: Include domestic compute adaptation in acceptance criteria to avoid later migration costs.
    • Balance cost and effectiveness: Establish tiered routing and caching to apply long-horizon capability only to tasks that truly need it.

    8. Conclusion

    The technical mainline of the new generation of models is now clear: use long context and an agent framework to carry long-horizon tasks, use coding ability as the main battlefield in real environments, use architectural optimization to lower unit cost, and use domestic compute adaptation to build a self-reliant tech stack. For developers, real competitiveness lies not in whether you use the latest model, but in whether you can make the “execute—verify—rollback—observe” engineering loop solid.