README.md
February 17, 2026 ยท View on GitHub
๐๏ธ Vibe Architect
AI-powered project spec generator โ go from idea to implementation-ready spec in minutes.
Features โข How It Works โข Getting Started โข Supported Models โข Tech Stack โข Contributing โข License
๐ Live Demo ย ยทย
What is Vibe Architect?
Vibe Architect is an open-source tool that helps you turn a raw app idea into a structured, coding-agent-ready implementation spec. Instead of staring at a blank doc, you have a conversation with an AI architect that proactively proposes options for your MVP scope, design system, and tech stack โ then generates a complete markdown spec you can hand off to any coding agent or dev team.
You don't have to complete all steps. Stop at any phase when your plan feels complete.
Features
- Guided brainstorming โ The AI proposes concrete options (not open-ended questions) through a Propose โ Refine โ Lock workflow
- Live design previews โ See your design system rendered in real-time as the AI generates React component previews
- Multi-model support โ Bring your own API key for OpenAI (GPT-5.2), Google (Gemini 3), Anthropic (Claude Opus/Sonnet), or Mistral (Medium/Small)
- Voice input โ Speak your ideas using the built-in mic button (Whisper-powered transcription)
- Spec editor โ Edit generated specs directly in the built-in markdown editor
- Export โ Download your complete spec as markdown files, ready for your coding workflow
- Fully client-side โ No backend, no data leaves your browser (API calls go directly to providers)
- First-time usage guide โ Onboarding modal for new users
How It Works
| Phase | What Happens |
|---|---|
| 1. Vision & Scope | Define your MVP โ the AI suggests features to include and cut |
| 2. Design System | Pick a visual identity from AI-proposed "vibes" with live previews |
| 3. Tech Stack | Get an opinionated, tailored stack recommendation |
| 4. Implementation Spec | Generate a complete, coding-agent-ready markdown spec |
Each phase follows Propose โ Refine โ Lock. The AI always asks for your confirmation before locking a phase and moving on.
Getting Started
Prerequisites
- Node.js 18+
- An API key from at least one supported provider
Installation
# Clone the repository
git clone https://github.com/mohdhd/vibe-architect.git
cd vibe-architect
# Install dependencies
npm install
# Start the development server
npm run dev
Open http://localhost:3000 in your browser.
Configuration
Click the โ๏ธ Settings icon in the app and add your API key(s):
| Provider | Models |
|---|---|
| OpenAI | GPT-5.2 (High / Medium / XHigh) |
| Gemini 3 Pro, Gemini 3 Flash | |
| Anthropic | Claude Opus 4.6, Claude Sonnet 4.5 |
| Mistral | Mistral Medium 3.1, Mistral Small 3.2 |
| GLM (Zhipu AI) | GLM-5, GLM-4.7, GLM-4.7 Flash, GLM-4.6, GLM-4.6V |
Keys are stored locally in your browser โ they never leave your machine.
Supported Models
| Model | Provider | Max Output Tokens |
|---|---|---|
| GPT-5.2 (High/Medium/XHigh) | OpenAI | 128,000 |
| Gemini 3 Pro | 65,000 | |
| Gemini 3 Flash | 65,536 | |
| Claude Opus 4.6 | Anthropic | 128,000 |
| Claude Sonnet 4.5 | Anthropic | 64,000 |
| Mistral Medium 3.1 | Mistral | 8,192 |
| Mistral Small 3.2 | Mistral | 8,192 |
| GLM-5 | GLM (Zhipu AI) | 128,000 |
| GLM-4.7 | GLM (Zhipu AI) | 128,000 |
| GLM-4.7 Flash | GLM (Zhipu AI) | 128,000 |
| GLM-4.6 | GLM (Zhipu AI) | 128,000 |
| GLM-4.6V (Vision) | GLM (Zhipu AI) | 128,000 |
Tech Stack
| Layer | Technology |
|---|---|
| Framework | Next.js 16 |
| UI | React 19, Tailwind CSS 4 |
| State | Zustand |
| Persistence | IndexedDB via idb-keyval |
| Markdown | react-markdown + remark-gfm |
| Export | JSZip + FileSaver |
| Voice | Browser MediaRecorder + OpenAI Whisper API |
| Preview Sandbox | Babel (runtime JSX transform) + React CDN |
Project Structure
src/
โโโ app/ # Next.js app router
โ โโโ page.tsx # Main page with layout
โโโ components/ # React components
โ โโโ chat-panel.tsx # Chat interface
โ โโโ sandbox-panel.tsx # Design preview + spec editor
โ โโโ settings-modal.tsx # API key configuration
โ โโโ export-modal.tsx # Spec export dialog
โ โโโ mic-button.tsx # Voice input (Whisper)
โ โโโ usage-guide.tsx # First-time onboarding
โ โโโ ...
โโโ lib/ # Core logic
โ โโโ llm-client.ts # Multi-provider LLM streaming
โ โโโ system-prompt.ts # AI persona & workflow prompts
โโโ store/ # Zustand stores
โ โโโ project-store.ts # Projects, conversations, specs
โ โโโ settings-store.ts # API keys, model selection
โโโ types/ # TypeScript types & model configs
โโโ index.ts
Contributing
Contributions are welcome! Here's how to get started:
- Fork the repository
- Create a branch for your feature (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
Development
npm run dev # Start dev server
npm run build # Production build
npm run lint # Run ESLint
License
This project is open source and available under the MIT License.
Built with โค๏ธ