Paper · Self-modifying agents
A Self-Improving Agent that Grows its Own DSL: Oracle-Free Operator Induction for Exact Question Answering
An agent autonomously discovers and writes new exact-computation operators for its own use, verifying them without ground truth to triple its answerable question set.

The loop
A frozen model runs nested loops to discover missing capabilities and author new domain-specific language operators for itself. It verifies these operators through consensus and conservation laws without external data, expanding its own executable library.
- Frozen model attempts exact QA tasks
- Model authors new DSL operators
- Independent implementations verify operators via consensus
- Verified operators expand model's executable library
- Frozen model attempts exact QA tasks
- Model authors new DSL operators
- Independent implementations verify operators via consensus
- Verified operators expand model's executable library
↻ The improved system does the next round, and the loop turns again.
Why it is a road to recursion
Allowing an agent to safely expand its own executable vocabulary without human labels provides a scalable path to open-ended capability growth in exact domains.
Evidence
The inner loop roughly triples the answerable-question set, and the outer loop self-extends on disjoint starting sets.
dsloperator-inductionoracle-free
Related loops
More self-modifying agents →
Darwin Gödel Machine
- Coding agent edits its own code
- Scored child agents enter the archive
- Archived agents make later self modifications
- repeat
Self-modifying agentsUBC, Vector Institute, Sakana AI · 2025

Claude Code
- Claude Code writes its own code changes
- Changes become next Claude Code versions
- Release becomes harness for next development round
- repeat
Self-modifying agentsAnthropic · 2025

Recursive Self-Improvement through Collective Intelligence
- Model searches for multi-agent workflows
- Model selects the best executions
- Model trains on selected executions
- Model improves its base capabilities
- repeat
Self-modifying agentsSakana AI · 2026