DeepReinforce released Ornith-1.0 today, a family of open-source models purpose-built for agentic coding. The lineup spans four sizes: 9B Dense, 31B Dense, 35B MoE, and 397B MoE. Built on Gemma 4 and Qwen 3.5 pretrained bases, they achieve state-of-the-art results among open-source models of comparable size across Terminal-Bench 2.1, SWE-Bench Verified, and a stack of other coding benchmarks.

The headline number: Ornith-1.0-397B scores 77.5 on Terminal-Bench 2.1 and 82.4 on SWE-Bench Verified. That beats Claude Opus 4.7 on both benchmarks, which scored 70.3 and 80.8 respectively. It also outperforms MiniMax M3 and DeepSeek-V4-Pro. The smaller models punch hard above their weight class. Ornith-1.0-35B beats Qwen 3.5-397B on Terminal-Bench 2.1, scoring 64.4 against 53.5 with a model one-tenth the size. The 9B model scores 43.1 on Terminal-Bench 2.1, matching models 3 to 4 times larger.

The technical innovation is self-scaffolding. In standard RL training for coding, humans design the harness: the orchestration scripts, error handling, retry logic, and memory management that guide the model through a task. Ornith-1.0 learns to generate its own harnesses. Each RL step has two stages. First, given a task and the previous scaffold, the model proposes a refined scaffold. Second, given that scaffold and the task description, it generates a solution rollout. Reward from the rollout propagates to both stages, so the model optimizes not just for better answers but for better orchestration that elicits better answers.

This creates a feedback loop. Scaffolds mutate and get selected toward those that produce higher-reward trajectories. Per-task strategies emerge automatically without hand-engineered harness design. The model learns how to search, not just what to search for.

The reward-hacking problem is real. A self-generated scaffold can learn to satisfy the verifier without doing the work: reading visible test files, hardcoding expected outputs, copying oracle solutions. DeepReinforce defends against this in three layers. The outer trust boundary is immutable. The environment, tool surface, and test isolation are outside the model's reach. A deterministic monitor flags any attempt to read withheld paths or modify verification scripts and assigns zero reward. A frozen LLM judge acts as a veto on top of the verifier, catching intent-level gaming that stays within the allowed tool surface.

For RL training, Ornith-1.0 uses pipeline-RL with staleness weighting. Older tokens in a rollout get downweighted, and tokens past a threshold get dropped entirely. This handles the off-policy problem for long rollouts without discarding the entire trajectory.

The open-source angle matters. DeepReinforce is releasing all four model sizes. A 9B model that can run on edge devices and scores 43.1 on Terminal-Bench 2.1 changes the deployment math for on-device coding assistance. The 35B model, small enough to run on a single consumer GPU, beats the 397B Qwen 3.5 on Terminal-Bench. These are not toy benchmarks. Terminal-Bench tests command-line workflows requiring planning, iteration, and tool coordination. SWE-Bench Verified tests real GitHub issue resolution. Self-scaffolding is the mechanism, and the benchmark numbers are the proof.

The contrarian read: the 397B model does not beat Claude Opus 4.8 on Terminal-Bench 2.1 (78.2 vs 78.9 with Claude Code harness) or SWE-Bench Verified (82.4 vs 87.6). Opus 4.8 remains ahead on the hardest benchmarks. Ornith matches Opus 4.7, which is last generation. Still, an open-source model matching a previous frontier model on agentic coding is a meaningful milestone, and the self-scaffolding training method is genuinely new.