Home Knowledge Base Smol Developer

Smol Developer is a minimalist open-source AI coding agent created by Shawn Wang (swyx) that generates entire codebases by packing the full project context into a single LLM prompt — intentionally kept under 200 lines of Python to demonstrate that agentic coding doesn't require complex frameworks like LangChain, proving that large context windows (100K+ tokens in GPT-4 and Claude) enable simple, effective AI software development without vector databases or RAG pipelines.

What Is Smol Developer?

How Smol Developer Works

StepActionImplementation
1. DescribeUser provides project descriptionPlain text spec
2. PlanLLM generates file manifestList of filenames to create
3. Context PackAll file names + shared deps in promptFits in 100K context window
4. LoopGenerate each file, aware of othersSequential file creation
5. OutputComplete project directoryReady to run

Key Insight: With 100K+ context windows (Claude, GPT-4), you don't need RAG, vector databases, or complex retrieval. For projects under ~50 files, you can fit the entire context in a single prompt — making the "smol" approach surprisingly effective.

Why Smol Developer Matters

Smol Developer is the minimalist manifesto for AI coding agents — proving in under 200 lines of Python that large context windows and simple prompting are sufficient for coherent multi-file code generation, challenging the assumption that agentic AI requires complex orchestration frameworks.

smol developersmallcoding

Explore 500+ Semiconductor & AI Topics

From EUV lithography to CUDA optimization — search the full knowledge base or chat with our AI assistant.