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 ย ยทย  Deploy with Vercel


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

PhaseWhat Happens
1. Vision & ScopeDefine your MVP โ€” the AI suggests features to include and cut
2. Design SystemPick a visual identity from AI-proposed "vibes" with live previews
3. Tech StackGet an opinionated, tailored stack recommendation
4. Implementation SpecGenerate 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):

ProviderModels
OpenAIGPT-5.2 (High / Medium / XHigh)
GoogleGemini 3 Pro, Gemini 3 Flash
AnthropicClaude Opus 4.6, Claude Sonnet 4.5
MistralMistral 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

ModelProviderMax Output Tokens
GPT-5.2 (High/Medium/XHigh)OpenAI128,000
Gemini 3 ProGoogle65,000
Gemini 3 FlashGoogle65,536
Claude Opus 4.6Anthropic128,000
Claude Sonnet 4.5Anthropic64,000
Mistral Medium 3.1Mistral8,192
Mistral Small 3.2Mistral8,192
GLM-5GLM (Zhipu AI)128,000
GLM-4.7GLM (Zhipu AI)128,000
GLM-4.7 FlashGLM (Zhipu AI)128,000
GLM-4.6GLM (Zhipu AI)128,000
GLM-4.6V (Vision)GLM (Zhipu AI)128,000

Tech Stack

LayerTechnology
FrameworkNext.js 16
UIReact 19, Tailwind CSS 4
StateZustand
PersistenceIndexedDB via idb-keyval
Markdownreact-markdown + remark-gfm
ExportJSZip + FileSaver
VoiceBrowser MediaRecorder + OpenAI Whisper API
Preview SandboxBabel (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:

  1. Fork the repository
  2. Create a branch for your feature (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. 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 โค๏ธ