Manuscript Offprint

arXiv:2610.19425

Evaluating Agentic Capabilities Before Post-Training: An End-to-End Approach

Jiarui Qin, Junjie Huang, Yunjia Xi, Di Yin, Yong Yu, Weinan Zhang, Xing Sun, Weiwen Liu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Jiarui Qin1†^{1\dagger}, Junjie Huang2†^{2\dagger}, Yunjia Xi1^{1}, Di Yin1^{1}, Yong Yu2^{2}, Weinan Zhang2^{2}, Xing Sun1^{1}, Weiwen Liu2†^{2\dagger}

1^{1}Tencent Youtu Lab

2^{2}Shanghai Jiao Tong University

Agentic capabilities are increasingly important for modern LLMs, yet remain difficult to evaluate during pretraining. Existing approaches typically rely on static trajectory-derived tasks or likelihood-based proxies, which are lightweight but provide limited visibility into how base models behave in interactive environments. We introduce ASAP (Agent Scaffold Adaptation for Pretraining Evaluation), a lightweight framework for eliciting and evaluating agentic behavior from pretrained base models on end-to-end tasks. Rather than converting base models into chat-style agents, ASAP preserves the completion interface and adapts existing agent scaffolds through structured trajectory continuation, short reference prefixes, and minimal recovery mechanisms. Across software-engineering and deep-research benchmarks, ASAP yields discriminative end-to-end performance across base models and pretraining checkpoints. Beyond aggregate scores, ASAP exposes model-generated execution trajectories, enabling analysis of exploration, editing, testing, recovery, and task completion across training stages. These trajectories provide a behavioral view of how agent-relevant capabilities change during pretraining and how execution patterns differ after post-training. Our results suggest that end-to-end agent evaluation can complement conventional pretraining benchmarks by providing a practical diagnostic of interactive model behavior.

1 Introduction

Agentic evaluation is increasingly centered on long-horizon, interactive tasks. Benchmarks such as SWE-bench [Jimenez et al., 2024], DeepSWE [Huang et al., 2026], and Terminal-Bench [Merrill et al., 2026] evaluate sustained software-engineering and terminal interaction, while challenging knowledge-oriented benchmarks such as Humanity's Last Exam (HLE) [Phan et al., 2025] continue to raise the capability frontier. Yet these evaluations are used almost exclusively after post-training.

During pretraining, however, there remains no established way to evaluate how base models behave on end-to-end agentic tasks. Such an evaluation could help track changes across pretraining checkpoints, characterize differences between training stages, and expose behavioral deficiencies that are difficult to observe through conventional static benchmarks alone.

The main challenge is that existing agent benchmarks assume instruction-following models: their scaffolds rely on system prompts, chat templates, prescribed tool formats, and stable multi-turn interaction. Pretrained base models are not explicitly trained for these protocols, and directly inserting them into standard agent scaffolds often produces malformed or unstable trajectories. One alternative is to fine-tune each checkpoint before evaluation, but repeated SFT introduces additional cost and changes the model being evaluated. As a result, existing pretraining-side evaluations largely rely on static or likelihood-based proxies, such as

† Equal contribution. jaredqin@tencent.com, huangjunjie2019@sjtu.edu.cn

‡ Corresponding author.

ASAP

trajectory-derived QA tasks [Qin et al., 2025] or code and trajectory likelihood [Cursor Research et al., 2026, DeepSeek-AI, 2026]. These signals are useful for model comparison, but provide limited visibility into how the evaluated model itself interacts with an environment.

This distinction matters because scalar proxy scores cannot show whether a model explores the environment, makes useful edits, tests its hypotheses, revises after failed attempts, or simply fails to make progress. End-to-end interaction therefore provides a complementary view: in addition to final task success, it exposes the execution process through which that outcome is reached. This leads to the central question of our work:

Can we evaluate pretrained base models on end-to-end agentic tasks without first turning them into instruction-following models?

We introduce ASAP (Agent Scaffold Adaptation for Pretraining Evaluation), a lightweight framework for adapting existing agent scaffolds to pretrained base models. Our key principle is that base models should be evaluated as continuation models rather than incomplete chat models. ASAP preserves the completion interface and modifies only the model-facing interaction protocol through three simple components: a Markdown+XML trajectory format, a short reference trajectory prefix, and minimal recovery from structural failures such as premature submission or repeated actions.

Across software-engineering and deep-research settings, ASAP yields discriminative end-to-end performance across base models and remains sensitive to differences between checkpoints within the same pretraining run. In our pretraining-stage study, ASAP continues to separate checkpoints even when conventional pretraining benchmarks change only marginally. More importantly, the resulting execution trajectories make it possible to characterize these differences in behavioral terms, including changes in exploration, editing, testing, recovery, and task completion. Comparing base and post-trained models further illustrates how execution patterns differ after post-training.

These results suggest that end-to-end agent evaluation can complement conventional pretraining benchmarks by providing a practical behavioral diagnostic of model behaviors.

Our contributions are:

  • End-to-end evaluation of pretrained base models. We introduce ASAP, a lightweight adaptation of existing agent scaffolds that enables pretrained base models to execute agentic tasks through their native completion interface, without weight updates.

  • A sensitive probe of agent-relevant behavior during pretraining. ASAP distinguishes both different base models and checkpoints within the same training run, including stages where conventional pretraining benchmarks show only small changes.

  • Trajectory-level diagnosis of behavioral change. ASAP exposes model-generated execution trajectories, enabling fine-grained analysis of how exploration, editing, testing, recovery, and task completion vary across pretraining checkpoints and after post-training.

References (15)