Agentic Codegen Extension
Build complete websites and applications from a single prompt. See your project open, edit files professionally, and enjoy seamless development.
Generate project structure, plan, and initial code from natural language descriptions
Read tree structure, summarize context, and work with existing codebases
Dry-run, path allowlists, and confirmation prompts for safe development
Receive changes in Unified Diff format, preview them visually, and apply selectively with confidence.
Run commands (npm/yarn/pnpm), dev servers, linters with live log streaming in the panel.
Works with OpenAI, Anthropic, Gemini, and other LLM providers through a unified interface.
Comprehensive set of commands for every development stage and use case.
aiBuilder.buildFromPrompt
Build project from natural language prompt
aiBuilder.explainPlan
Show the execution plan before applying
aiBuilder.applyPlan
Apply the generated plan to workspace
aiBuilder.editSelection
Edit selected code with AI assistance
aiBuilder.refactorProject
Comprehensive project refactoring
aiBuilder.runTask
Execute development tasks with live logs
ai-builder-ext/
├─ package.json
├─ tsconfig.json
├─ src/
│ ├─ extension.ts
│ ├─ agent/
│ │ ├─ Agent.ts
│ │ ├─ Patch.ts
│ │ ├─ Context.ts
│ │ └─ Tools.ts
│ ├─ llm/
│ │ ├─ Provider.ts
│ │ ├─ OpenAIProvider.ts
│ │ ├─ AnthropicProvider.ts
│ │ └─ GeminiProvider.ts
│ ├─ ui/
│ │ ├─ Panel.ts
│ │ └─ webview.html
│ └─ util/
│ ├─ fs.ts
│ └─ diff.ts
└─ README.md
Prerequisites:
Install dependencies:
npm i
Build in watch mode:
npm run watch
Press F5 to launch extension
Select provider:
aiBuilder.provider
Options: openai, anthropic, gemini
Set API Key:
aiBuilder.apiKey
Stored securely in VS Code SecretStorage
Enable safe mode:
aiBuilder.dryRun: true
Preview changes before applying