Program synthesis agent for autonomous code fixing via testing
Top 66.4% on sourcepulse
Devlooper is a program synthesis agent designed to autonomously generate and debug code by iterating through testing and fixing cycles. It targets developers and researchers interested in automated code generation and self-correcting AI agents, offering a novel approach to building complex software components with minimal human intervention.
How It Works
Devlooper extends the "smol developer" concept by integrating a sandboxed execution environment. The agent repeatedly generates code, runs tests within this sandbox, and uses the test results (stdout/stderr) to prompt an LLM for diagnosis and a fix plan. This plan can include code edits, package installations, or command execution, allowing for incremental image construction and robust error correction.
Quick Start & Requirements
pip install modal
openai-secret
).modal run src.main --prompt="your prompt" --template="[rust|react|python]"
output/
by default.Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The project is described as a proof of concept with potential for infinite loops and limited LLM accuracy. Support for LLMs beyond OpenAI's models is a future direction.
10 months ago
1+ week