Prime Agent: A Self-Improving RLM Harness

Seth Karten, Alex L. Zhang, Kevin Thomas, Sebastian Müller, Elie Bakouch +6 more
8/24/2026
25 citations
cs.AIcs.CLcs.SE

Official code: PrimeIntellect-ai/prime-agent (22,935 stars, Rust, Rust, last commit 2026-10-27).

Abstract

Language models are sequential processors, but long-horizon agency requires external information and computation beyond model weights and active context. Prime Agent is an open-source harness for long-horizon evaluation and coding-agent workflows.

Show full abstract

A persistent IPython REPL follows the Recursive Language Model abstraction for programmatic context processing and test-time compute, while Continual Harness preserves histories, memories, skills, prompts, and subagent specifications across trajectories. Recursive subagents coordinate through direct agent-to-agent communication, and the Agents View lets humans inspect and manage daemon-backed sessions. Prime Agent standardizes execution, recovery, verification, and resource accounting while leaving strategy construction to the model. This low-friction, expressive membrane prevents harness failures from becoming model failures and pushes measurement toward the model's true maximal underlying capability. Prime Agent raises ARC-AGI-3 RHAE Best@1 from 30% to 95.5% and matches or exceeds native and popular harnesses across long-context coding, GPU-kernel generation, emulator construction, and autonomous nanoGPT speedruns. On Factorio, we find refinement allows for continuous technology progression and dedicated subagents enable parallelized work. Code is available at https://github.com/PrimeIntellect-ai/prime-agent.

View on arXivView PDF

Code Implementations(1)

Rust

A self-improving RLM agent for coding workflows and long-running autonomous tasks.

22,9352,537Rust, PythonMay 8, 20261 months agoNOASSERTION

Similar Papers

Cite this paper

@article{karten2026prime,
  title  = {Prime Agent: A Self-Improving RLM Harness},
  author = {Seth Karten and Alex L. Zhang and Kevin Thomas and Sebastian Müller and Elie Bakouch and Daniel Auras and Mika Senghaas and Fares Obeid and Konstantin Dunas and Johannes Hagemann and Sami Jaghouar},
  year   = {2026},
  eprint = {2608.23552},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.23552v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2608.23552.svg)](https://codeofpaper.com/paper/2608.23552)

Discussion