Build an agent that takes natural language feature descriptions and generates working code. Include file structure planning, iterative refinement, and a preview sandbox.
code-generationagentsandboxnatural-language
Objectives
Accept natural language feature descriptions
Plan file structure before generating code
Generate code with proper imports and types
Run generated code in a sandboxed preview
Support iterative refinement with follow-up prompts
Hints
Use a planning step before code generation
Sandpack or CodeSandbox for live preview
Include the generated code context in follow-up prompts