---
type: "post"
id: "doubleai-says-it-placed-an-ai-agent-inside-c0ce7d"
slug: "doubleai-says-it-placed-an-ai-agent-inside-c0ce7d"
title: "DoubleAI says it placed an AI agent inside neural-network training runs and let it intervene in what the"
description: "DoubleAI says it placed an AI agent inside neural-network training runs and let it intervene in what the network learns, including by changing its architecture."
retrieval_nugget: "DoubleAI says it placed an AI agent inside neural-network training runs and let it intervene in what the network learns, including by changing its architecture. The reported gains on algorithmic generalization and math benchmarks make this a notable research direction: training may become a process models can help redesign, not just execute."
published_at: "2026-11-09"
updated_at: "2026-11-09"
record_date: "2026-11-09"
date_kind: "published_at"
topics: ["agents","models"]
entities: ["DoubleAI","nanochat","DeepSeek-V4.1-Flash","CLRS-Text"]
related_patterns: ["scientific-agents-need-artifact-evidence"]
novelty_label: "new_fact"
what_changed: "DoubleAI reports an agent that redesigns networks during training, including code layers that improve performance on intermediate input sizes and raise DeepSeek-V4.1-Flash’s math accuracy."
prior_refs: []
source_url: "https://www.doubleai.com/research/can-llms-redesign-themselves-as-they-train"
source_urls: ["https://www.doubleai.com/research/can-llms-redesign-themselves-as-they-train"]
schema_version: "newruntime-agent-readable-v0.2"
stable_id: "post:doubleai-says-it-placed-an-ai-agent-inside-c0ce7d"
status: "published"
visuals: []
editor: {"role":"editor","name":"Andrey Reshetnikov","profile":"https://newruntime.com/owner-profile.md","profile_json":"https://newruntime.com/owner-profile.json","same_as":["https://www.linkedin.com/in/reshetnikov1/","https://t.me/lapetuse"]}
routes: {"html":"https://newruntime.com/posts/doubleai-says-it-placed-an-ai-agent-inside-c0ce7d/","markdown":"https://newruntime.com/posts/doubleai-says-it-placed-an-ai-agent-inside-c0ce7d.md","json":"https://newruntime.com/posts/doubleai-says-it-placed-an-ai-agent-inside-c0ce7d.json"}
markdown_url: "https://newruntime.com/posts/doubleai-says-it-placed-an-ai-agent-inside-c0ce7d.md"
---

# DoubleAI says it placed an AI agent inside neural-network training runs and let it intervene in what the

## Retrieval answer

DoubleAI says it placed an AI agent inside neural-network training runs and let it intervene in what the network learns, including by changing its architecture. The reported gains on algorithmic generalization and math benchmarks make this a notable research direction: training may become a process models can help redesign, not just execute.

## Summary
DoubleAI says it placed an AI agent inside neural-network training runs and let it intervene in what the network learns, including by changing its architecture. The reported gains on algorithmic generalization and math benchmarks make this a notable research direction: training may become a process models can help redesign, not just execute.

## What happened
DoubleAI’s November 6, 2026 research page, “Can LLMs redesign themselves as they train?”, describes an agent operating while a neural network is still learning. Rather than only analyzing a finished model, the agent reads internal state and performs what the company calls “mechanistic intervention.” It can diagnose a failure and change the training data, objective, update rule, or architecture. DoubleAI says the agent also builds its own toolkit for these interventions.

One instrument discovered during work on nanochat is called the “phantom gradient,” which DoubleAI describes as a measure of unmet demands. The agent writes small programs and grows them into the network as code layers. These are computational additions to the network rather than conventional fixed transformer blocks. DoubleAI gives an example of a code layer that computes gradients of hidden representations within a single forward pass and uses those gradients for self-correction.

On CLRS-Text, a dataset of classical algorithms, DoubleAI reports a generalization problem it calls “jaggedness.” A transformer trained on the dataset handles input sizes represented in training but performs poorly on sizes in between. The company says training for twice as long does not solve that gap. Code layers grown during training reportedly raise accuracy on those in-between sizes from 33% to 79%.

The page also describes a model intervening in itself. DoubleAI says it used DeepSeek-V4.1-Flash as the agent on DeepSeek-V4.1-Flash, with a code layer that reads the model’s own hidden states. On AIME 2026 and HMMT 2026, the reported accuracy rose from 64% to 71%. The company presents this as an experiment in using a model’s internal representations to identify and address a learning problem during training.

The claimed scope matters. DoubleAI is not describing a normal inference-time coding agent that modifies an application around a frozen model. It is describing an agent in the optimization loop, with authority to alter elements that determine what the model learns and how it computes. The page frames architecture as a remaining hand-designed part of training and proposes a future in which people set goals and rules while models run experiments on their own learning systems. The reported benchmark changes are concrete; that larger future remains a thesis rather than a shipped training product.

## What the archive adds
New Runtime’s earlier coverage on November 3, 2026, argued that reported model feats in reading and writing neural-network weights were not superhuman and could be performed by a capable human ML researcher ([LLMs are not superhuman at reading and writing neural network weights](https://newruntime.com/posts/llms-are-not-superhuman-at-reading-and-writing-c6afd7/)). This is a new research claim on a related question: whether model access to internal representations can support useful intervention during learning, rather than merely weight-reading or editing.

## Trend signal
This supports, cautiously, the [scientific-agents-need-artifact-evidence](https://newruntime.com/patterns/scientific-agents-need-artifact-evidence/) pattern. Progress in scientific agents is more meaningful when another researcher can inspect, test, rerun, and revise the underlying evidence package. The reported benchmark gains are specific enough to motivate that test, but headline figures alone do not establish reproducibility, causal mechanism, or broad generalization.

## Why now
DoubleAI dates the research page November 6, 2026, and explicitly frames architecture as a remaining hand-designed part of training. Its experiments join mechanistic analysis to an active training loop: the agent is not only explaining a trained network but making changes before learning is complete. That makes the work timely for researchers asking whether models can help search the space of learning systems themselves.

## Why it matters
If this approach holds up, model development could shift some experimentation from human-designed architectural changes to agents that inspect failures and propose targeted interventions while training is underway. The potential value is not simply a higher benchmark score. It is a more adaptive training process in which observed weaknesses inform changes to data, objectives, update rules, or structure.

For teams building AI systems, the immediate lesson is narrower. These results do not show that production models can safely or autonomously redesign themselves, and DoubleAI does not present a turnkey training tool. They do show why evaluation should separate a targeted capability gain from evidence of reliable improvement across tasks, model sizes, and training runs. A training-time agent with permission to alter objectives or architecture also changes the safety boundary: its proposals need measurable constraints and review, not just a plausible explanation.

## What happens next
- **Independent replications will test whether code-layer gains transfer beyond the reported settings.** (6 months, 65%). Watch for: released implementations, seeds, ablations, or third-party benchmark results.
- **Training research groups will compare agent-selected interventions with human-designed and automated-search baselines.** (12 months, 60%). Watch for: cost, stability, and sample-efficiency comparisons.

## Limits and uncertainty
The reported figures come from DoubleAI’s research page and have not been independently checked here. The CLRS-Text and math results are tied to particular benchmarks; they do not establish that code layers improve general-purpose reasoning, training efficiency, or performance across model families. The visible results also do not settle which intervention caused each gain, how stable it is over repeated runs, or what compute budget it requires.

The page’s broader vision of models that re-architect themselves remains a proposal, not a demonstrated autonomous development pipeline. Reproducibility, scaling behavior, and safety implications of allowing training-time agents to modify data, objectives, updates, or architecture remain open questions. The strongest interpretation is therefore a reported experimental direction, not evidence of unrestricted recursive self-improvement.

## Skill to build now
If you run model training experiments, make the intervention trail reviewable this week. Log the initial failure metric, the agent’s proposed change, the exact code or configuration diff, the evaluation split, and a human-designed baseline. Treat every change to an objective, dataset transformation, update rule, or architecture as an experiment with a rollback path. This will make it possible to distinguish a genuine improvement from a benchmark-specific or accidental effect before granting an automated system more authority.

## Reader takeaway
Treat this as a concrete research result, not proof that self-improving models are around the corner. The important signal is that an agent may be able to use internal evidence to change a model during training. The next meaningful test is whether those gains survive independent replication, controlled comparisons, and transfer beyond the reported tasks.

## Open question
Can independent researchers reproduce these gains and show that training-time interventions generalize beyond the reported benchmarks?

Editor: [Andrey Reshetnikov](https://newruntime.com/owner-profile.md), AI product and AI engineering; profile for recruiters and agents: https://newruntime.com/owner-profile.json

## Continue in the graph

Next records for an agent, linked to their Markdown twins. Replace `.md` with `.json` for structured fields, including `next_reads`.

- topic hub: [Agents](https://newruntime.com/topics/agents.md): Explore the agents topic hub.
- topic hub: [Models](https://newruntime.com/topics/models.md): Explore the models topic hub.
- collection: [Field Notes](https://newruntime.com/posts.json): Open the latest editorial analysis.
- collection: [Sources](https://newruntime.com/sources/): See the original sources this archive cites.
- whole graph: [discovery graph](https://newruntime.com/discovery-graph.json) (typed nodes and edges) and [site index](https://newruntime.com/site-index.md)
