dgm  by jennyzzt

Self-improving agent system

Created 3 months ago
1,657 stars

Top 25.5% on SourcePulse

GitHubView on GitHub
Project Summary

The Darwin Gödel Machine (DGM) project enables open-ended evolution of self-improving AI agents capable of iteratively modifying and validating their own code. It targets researchers and developers in AI, particularly those focused on artificial general intelligence and self-evolving systems, offering a framework for agents that enhance their own problem-solving abilities through empirical testing.

How It Works

DGM employs a meta-learning approach where an agent iteratively refines its codebase. This process involves generating code modifications, executing them within a sandboxed environment, and evaluating their performance against coding benchmarks like SWE-bench and Polyglot. The system is designed to foster emergent self-improvement by rewarding agents that successfully enhance their own capabilities.

Quick Start & Requirements

  • Install: Clone the repository, set up a Python virtual environment (python3 -m venv venv, source venv/bin/activate), and install dependencies (pip install -r requirements.txt).
  • Prerequisites: Docker must be installed and configured. API keys for OpenAI and Anthropic are required and should be exported as environment variables. For development analysis, graphviz and graphviz-dev are needed.
  • Setup: Cloning the repo and installing dependencies is estimated to take 5-15 minutes.
  • Links: SWE-bench, Polyglot

Highlighted Details

  • Implements an open-ended evolution framework for self-improving agents.
  • Utilizes coding benchmarks (SWE-bench, Polyglot) for empirical validation of code changes.
  • Leverages foundation models (via API keys) for code generation and self-modification.
  • Includes a detailed file structure for organizing agent code, benchmarks, and logs.

Maintenance & Community

The project is associated with researchers from Princeton University. Specific community channels or active maintenance signals are not detailed in the README.

Licensing & Compatibility

The repository's license is not explicitly stated in the provided README. Compatibility for commercial use or closed-source linking would require clarification of the licensing terms.

Limitations & Caveats

This project involves executing untrusted, model-generated code, posing inherent safety risks. While designed with safety in mind, generated code may exhibit unintended or destructive behavior due to model limitations. The project is experimental and may require significant computational resources.

Health Check
Last Commit

1 month ago

Responsiveness

1 week

Pull Requests (30d)
0
Issues (30d)
1
Star History
58 stars in the last 30 days

Explore Similar Projects

Starred by Eric Zhu Eric Zhu(Coauthor of AutoGen; Research Scientist at Microsoft Research) and Will Brown Will Brown(Research Lead at Prime Intellect).

agent-lightning by microsoft

6.0%
2k
Train any AI agent with rollouts and feedback
Created 3 months ago
Updated 2 days ago
Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), Shizhe Diao Shizhe Diao(Author of LMFlow; Research Scientist at NVIDIA), and
4 more.

agents by aiwaves-cn

0.1%
6k
Open-source framework for self-evolving, data-centric autonomous language agents
Created 2 years ago
Updated 11 months ago
Feedback? Help us improve.