Agent for embedding a developer in your app
Top 4.2% on sourcepulse
This library provides a "junior developer" AI agent that can scaffold entire codebases from a product specification or be embedded within your own applications. It targets developers seeking to accelerate their workflow by leveraging AI for code generation, offering a human-in-the-loop approach for iterative development and debugging.
How It Works
The core approach involves a multi-step process: first, a "plan" is generated based on the prompt, followed by specifying necessary file paths. Then, code is generated for each file, facilitating a "logbook-driven programming" style where errors or underspecified parts can be directly fed back into the prompt for refinement. This iterative loop allows developers to guide the AI, intervening manually when necessary.
Quick Start & Requirements
pip install smol_dev
poetry install
, then python main.py "<your prompt>"
.gpt-4-0613
).poetry run api
or python smol_dev/api.py
.Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The feedback loop for code generation can be slow (2-4 minutes per program with GPT-4). Some use-case-specific code for handling image generation in Chrome extensions is not yet generalized. The project notes that Anthropic models do not currently follow instructions for generating file code as well as OpenAI models.
1 year ago
Inactive