AI Agents

SERA: Soft-Verified Efficient Repository Agents

EEthan ShenDDanny TormoenSSaurabh ShahAAli FarhadiTTim Dettmers
Published
January 28, 2026
Authors
5
Word Count
11,072
Code
Includes code

Efficient, cost-effective method for training coding agents.

Abstract

Open-weight coding agents should hold a fundamental advantage over closed-source systems: they can be specialized to private codebases, encoding repository-specific information directly in their weights. Yet the cost and complexity of training has kept this advantage theoretical. We show it is now practical. We present Soft-Verified Efficient Repository Agents (SERA), an efficient method for training coding agents that enables the rapid and cheap creation of agents specialized to private codebases. Using only supervised finetuning (SFT), SERA achieves state-of-the-art results among fully open-source (open data, method, code) models while matching the performance of frontier open-weight models like Devstral-Small-2. Creating SERA models is 26x cheaper than reinforcement learning and 57x cheaper than previous synthetic data methods to reach equivalent performance. Our method, Soft Verified Generation (SVG), generates thousands of trajectories from a single code repository. Combined with cost-efficiency, this enables specialization to private codebases. Beyond repository specialization, we apply SVG to a larger corpus of codebases, generating over 200,000 synthetic trajectories. We use this dataset to provide detailed analysis of scaling laws, ablations, and confounding factors for training coding agents. Overall, we believe our work will greatly accelerate research on open coding agents and showcase the advantage of open-source models that can specialize to private codebases. We release SERA as the first model in Ai2's Open Coding Agents series, along with all our code, data, and Claude Code integration to support the research community.

Key Takeaways

  • 1

    Soft verification enables cost-effective training of coding agents.

  • 2

    Achieved state-of-the-art results with significantly lower costs.

  • 3

    Method simplifies training for smaller teams and organizations.

Limitations

  • Performance is bounded by the teacher model's capability.

  • Primarily validated on Python repositories.

Keywords

supervised fine-tuningcoding agentsprivate codebasesSoft-Verified Generationsynthetic trajectoriesscaling lawsablationsreinforcement learning

More in AI Agents

View all
SERA: Soft-Verified Efficient Repository Agents | Paperchime