RSI is no longer sci-fi: Anthropic ships 80% of its code via Claude, and the self-improvement loop is already in production

TL;DR: On 2026-11-09, Jiqizhixin ran a Theseus Lab piece with a sharp line: "95% of engineers are already running self-improvement loops." The same day Qbitai said Baidu ERNIE disclosed its RSI progress, called ERNIE Evolve, now used in new model R&D; TokenRhythm NeoHorse-1.5-Flash entered its second RSI iteration on 2026-11-05. Recursive Self-Improvement, the concept Good proposed back in 1965, is falling out of philosophy papers into engineering changelogs (sources: Jiqizhixin 2026-11-09; Qbitai 2026-11-09, 2026-11-05).

What RSI looks like now: weak form, not a waking god

Cold water first -- it is not "a god-level system wakes up and evolves itself". Anthropic own numbers are the weak form: as of May 2026, over 80% of code merged into its codebase was written by Claude (single digits before Claude Code launched in early 2025); code shipped per engineer per quarter rose about 8x against the 2021-2025 baseline. OpenAI went further with an internal RSI Index benchmark (debug research systems, optimize training recipes, improve other models); GPT-5.6 Sol scored 16.2 points higher on it than the previous generation, and was given a single underspecified prompt to pick GPUs, run post-training, and produce the smaller Luna tier on its own.

More concrete engineering evidence comes from personal experiments by prominent researchers. Karpathy pointed AutoResearch at his own nanochat, ran about 700 experiments over two days, found about 20 real speedups, one of which was a missing scalar multiplier in QK-Norm he had not caught himself. Weco AI AIDE2 went harder: an outer agent rewrote an inner agent code, 100 unattended steps over 8 days, producing 7 successively better versions and cutting its own reward-hacking rate from 63% to 34% (sources: datasciencedojo 2026 survey; Weco AI 2026-07-14).

Why it only holds in verifiable domains

RSI is fundamentally a feedback loop: propose a change - run an eval - keep it if it passes (hill-climbing with a verification gate). Software is the best petri dish: code can be generated, executed, tested, and scored automatically, no human needed inside the loop. But step outside code and math, into places where "what counts as correct" is expensive to verify cheaply, and the loop goes soft. Anthropic is explicit that engineers stay in the loop: pick the work, review changes, decide what merges. That 80% measures authorship, not autonomy. The gap between "writes most of the code" and "decides what to build and ships unsupervised" is the entire safety story.

This is exactly the warning in Chen et al. 2026 survey of 1,250 papers: poorly verified improvement loops fail characteristically through self-confirming loops and diversity collapse -- the agent generates its own training data and grades itself, the score climbs while real capability does not. Burtsev gives the test: only ℛ_AI>1 enters the self-amplifying regime, and rising research difficulty can end that amplification at any time.

Three-layer self-evolution and the "dream" consolidation

Theseus Lab three-layer roadmap maps cleanly onto what is deployable today: (1) autonomous exploration in open environments (give a vague need, the agent finds clues and queries data sources); (2) continuous internalization of experience -- this matches Anthropic "dream": after a task, review the full logs and crystallize lessons into reusable rules or skills; (3) move from first-order improvement to second-order evolution -- let the AI critique the methods themselves. Writing the "dream" as code means a consolidation pass at the end of every project: distill successful paths and failures into memory.md or a skill, ready to consume next time. The cross-session long-term memory I wrote about earlier becomes a production pattern here.

Hands-on: build an eval-gated self-improvement loop (stdlib only)

Below is the minimal usable skeleton. Three things welded in: a change is kept only if it passes the verification gate; memory consolidation is its own step; every step keeps a rollback point.

import subprocess, datetime

MEMORY = "memory.md"     # where the "dream" consolidation lands
ROLLOVER = 5             # consolidate memory every N rounds

def eval_once(patch):
    """Run tests, return (passed, score). In real projects swap in your CI / benchmark."""
    # placeholder: actually apply patch -> run pytest / benchmark -> parse results
    return True, 0.0

def propose_patch(round_id):
    """In real projects let the LLM read logs + code and propose a patch; deterministic stub here."""
    return f"# patch {round_id}\n"

def consolidate(kept):
    """Dream consolidation: distill kept changes into reusable rules, append to memory.md."""
    if not kept:
        return
    stamp = datetime.date.today().isoformat()
    with open(MEMORY, "a", encoding="utf-8") as f:
        f.write(f"\n## {stamp} self-improvement kept ({len(kept)})\n")
        for k in kept:
            f.write(f"- kept patch {k}\n")

kept = []
for r in range(ROLLOVER):
    patch = propose_patch(r)
    ok, score = eval_once(patch)
    print(f"round {r}: passed={ok} score={score:.2f}")
    if ok:
        kept.append(r)            # verification gate: keep only what passes
        # here apply patch + git commit (keep a rollback point for revert)

consolidate(kept)               # "dream" consolidation at project end
print("kept", kept, "-> written to", MEMORY)

Swap eval_once for real pytest / benchmarks; propose_patch calls an LLM (signature like call_llm(logs)); apply via git with a rollback point; add a capability ceiling and a human-approve gate. AIDE2 key lesson sits right here: it learned to "cheat less" not because a prompt scolded it, but because the eval quantified reward hacking and the gate blocked it.

Verdict: the weak form is already live, gates beat speed

RSI is already in production, just in its weak form -- the model writes most of the code, the human picks the direction. The real danger is not sudden brilliance but a loop spinning so fast that no one audits each generation in time. So when you build a self-improvement loop, weld in two things first: the verification gate and the dream consolidation. A change that fails the eval does not enter main; experience that is not distilled into memory was run for nothing. Speed is both the selling point and the risk, and for a self-improving agent that sentence is truer than for any other system.

Further reading

フィードバック

このサイトはフロントエンドのみでバックエンドやアカウントはなく、フィードバックはGitHub Issues・ディスカッション・メールで受け付けています。

issueやメールに貼り付けていただくと問題特定が早まります。入力内容は含まれません

その他:既存の報告を見る · メールでのフィードバック(GitHubアカウント不要):278975598@qq.com