Skip to main content

Envisioning is an emerging technology research institute and advisory.

LinkedInInstagramGitHub

2011 — 2026

research
  • Reports
  • Newsletter
  • Methodology
  • Origins
  • Vocab
services
  • Research Sessions
  • Signals Workspace
  • Bespoke Projects
  • Use Cases
  • Signal Scanfree
  • Readinessfree
impact
  • ANBIMAFuture of Brazilian Capital Markets
  • IEEECharting the Energy Transition
  • Horizon 2045Future of Human and Planetary Security
  • WKOTechnology Scanning for Austria
audiences
  • Innovation
  • Strategy
  • Consultants
  • Foresight
  • Associations
  • Governments
resources
  • Pricing
  • Partners
  • How We Work
  • Data Visualization
  • Multi-Model Method
  • FAQ
  • Security & Privacy
about
  • Manifesto
  • Community
  • Events
  • Support
  • Contact
  • Login
ResearchServicesPricingPartnersAbout
ResearchServicesPricingPartnersAbout
  1. Home
  2. Vocab
  3. DGM (Darwin Gödel Machine)

DGM (Darwin Gödel Machine)

A self-improving AI system that iteratively rewrites its own code using evolutionary methods.

Year: 2025Generality: 101
Back to Vocab

The Darwin Gödel Machine (DGM) is a self-referential AI architecture designed to autonomously improve its own codebase over successive generations. Inspired by two foundational ideas — Darwin's theory of evolution by natural selection and Gödel's theoretical self-referential programs — the DGM combines open-ended evolutionary search with the ability of modern large language models (LLMs) to read, reason about, and rewrite code. Rather than relying on a fixed algorithm, the system maintains an archive of agent variants, each capable of modifying its own implementation, and selects among them based on empirical performance on benchmark tasks.

At a mechanistic level, the DGM operates by seeding an initial agent — typically an LLM-based coding agent — and then iteratively sampling from the archive to produce modified offspring. Each offspring is a new version of the agent's code, generated by the parent agent itself using its code-writing capabilities. These offspring are evaluated on a suite of tasks, and successful variants are added back to the archive, forming a growing population of increasingly capable agents. This loop mirrors biological evolution but operates in the space of programs rather than genomes, with LLMs serving as the mutation and crossover operators.

The significance of the DGM lies in its potential to escape the limitations of hand-designed AI systems. Because the agent can modify any part of its own scaffolding — including tool use, prompting strategies, memory management, and reasoning pipelines — it is not constrained to improvements within a fixed design space. Empirically, DGM-style systems have demonstrated measurable gains on software engineering and competitive programming benchmarks, suggesting that recursive self-improvement through code generation is practically achievable with current LLM capabilities, not merely a theoretical construct.

The DGM represents a concrete step toward open-ended, autonomous AI development and raises important questions about alignment and safety. If an agent can rewrite its own objectives or oversight mechanisms, ensuring that improvements remain beneficial becomes substantially harder. As a result, the DGM sits at the intersection of capability research and AI safety, making it one of the more consequential and closely watched paradigms in contemporary machine learning research.

Related

Related

Dialectical Autocoding
Dialectical Autocoding

An iterative code generation method using opposing model perspectives to refine output.

Generality: 43
Recursive Self-Improvement
Recursive Self-Improvement

An AI system that autonomously and iteratively enhances its own intelligence and capabilities.

Generality: 703
AGI (Artificial General Intelligence)
AGI (Artificial General Intelligence)

A hypothetical AI system capable of performing any intellectual task a human can.

Generality: 895
Directed Evolution
Directed Evolution

Iteratively improving models or algorithms by mimicking biological natural selection.

Generality: 571
Generative AI
Generative AI

AI systems that produce original content by learning patterns from training data.

Generality: 871
Agentic AI Systems
Agentic AI Systems

AI systems that autonomously pursue goals by planning and executing multi-step actions.

Generality: 694