The Most Advanced Open-Source AI Web Development Platform
Build React applications at lightning speed with AI-powered multi-agent orchestration
Features β’ Demo β’ Getting Started β’ Architecture β’ Documentation
This project was created for the Gemini 3 Global Hackathon hosted by Google DeepMind and Devpost. The hackathon challenges developers to build next-generation applications using the Gemini 3 model family's enhanced reasoning capabilities, multimodal experiences, and reduced latency.
DaveLovable showcases Gemini 3's power through:
- π§ Multi-agent orchestration with 40+ tools for intelligent code generation
- π¨ Multimodal understanding - upload design mockups and PDFs
- β‘ Massive context window - 1M input tokens for complex projects
- π Blazing-fast responses - 64K output tokens for complete applications
- π‘ Advanced reasoning - strategic planning and adaptive problem-solving
DaveLovable is an open-source AI-powered web development platform inspired by Lovable.dev, v0 by Vercel, and Stitch by Google Labs. It combines cutting-edge AI orchestration with browser-based execution to deliver the most advanced open-source alternative for rapid frontend prototyping.
Unlike other tools, DaveLovable leverages:
- Multi-agent AI orchestration (Microsoft AutoGen 0.7) with 40+ tools
- Google Gemini-3 Flash Preview (1M input tokens, 64K output) for blazing-fast code generation
- WebContainers (StackBlitz) for true Node.js runtime in the browser
- Visual editor mode with click-to-edit and drag-to-adjust controls
- Full Git version control with LLM-generated commit messages
- Real-time streaming of agent thought processes
Focus: Frontend-only development (React + TypeScript + Tailwind CSS). No backend code generation.
- Quick intro: "Build React apps with AI in minutes"
- Create new project from landing page
- AI generates initial landing page (show chat β agent execution β preview)
- Quick code edit in Monaco editor
- Switch between different device previews (mobile, tablet, desktop)
Visual editing mode in action - click elements directly in the preview, modify styles in real-time with the style panel, and see changes instantly reflected in both the preview and code. Switch to custom prompt mode to use AI for complex style transformations.
Built-in version control with complete commit history, diff viewer, and time-travel functionality. Every AI-generated change creates a commit with descriptive messages. Restore to any previous version instantly.
The main editor interface featuring Monaco code editor with syntax highlighting, multi-file management, and live preview powered by WebContainers. True Node.js running in your browser with instant HMR updates and responsive device modes.
Upload design mockups, screenshots, or PDFs and ask the AI to recreate them. The AI understands images and documents, extracting layouts, styles, and data to generate accurate React components.
| Feature | DaveLovable | Lovable.dev | v0 (Vercel) | Stitch (Google) |
|---|---|---|---|---|
| Open Source | β MIT License | β Proprietary | β Proprietary | β Proprietary |
| Multi-Agent System | β 2 agents (Planner + Coder) | β Single agent | β Single agent | β Single agent |
| Agent Tools | β 40+ tools (filesystem, git, terminal, web) | |||
| Visual Editor | β Click-to-edit + drag controls | β Text-based only | β Text-based only | |
| WebContainer Execution | β Browser-based Node.js | β Server-side preview | β Server-side preview | |
| Git Version Control | β Full git workflow + history | β No git | β No git | β No git |
| LLM-Generated Commits | β Auto-generated from diffs | β N/A | β N/A | β N/A |
| Gemini-3 Flash | β 1M input tokens | β Claude/GPT-4 | β GPT-4 | β Gemini (likely) |
| State Persistence | β Per-project agent memory | |||
| Real-Time Streaming | β SSE with agent interactions | |||
| Multimodal Input | β Images + PDFs | β Images | β Images | |
| Backend Generation | β Frontend-only | β Full-stack | β Full-stack | |
| Authentication | β Full auth | β Full auth | β Full auth | |
| Deployment | β Vercel/Netlify | β Vercel | β Google Cloud |
Legend: β
Full support β’
DaveLovable can generate complete, production-ready React applications in minutes. Here are some examples:
Multi-project workspace where you can manage all your AI-generated applications. Each project includes full Git history, file management, and live preview capabilities.
A fully functional social media platform with modern UI, built entirely by AI in minutes. Features include responsive design, component-based architecture, and Tailwind CSS styling.
Generated features:
- News feed layout
- Post components with interactions
- Navigation sidebar
- Responsive design for mobile/tablet/desktop
- Modern UI with gradients and shadows
Complete rental property marketplace application with search, filters, and property listings. Demonstrates AI's ability to create complex, multi-section layouts.
Generated features:
- Property search and filters
- Card-based listing layouts
- Hero sections with CTAs
- Responsive grid systems
- Professional color schemes
- Node.js: 18+ (for frontend)
- Python: 3.8+ (for backend)
- Git: Latest version
- Google AI API Key: Get from Google AI Studio
git clone https://github.com/davidmonterocrespo24/DaveLovable.git
cd DaveLovablecd backend
# Create virtual environment
python -m venv venv
# Activate virtual environment
# Windows:
venv\Scripts\activate
# Linux/Mac:
source venv/bin/activate
# Install dependencies
pip install -r requirements.txt
# Configure environment
cp .env.example .env
# Edit .env and add your GOOGLE_API_KEY
# Initialize database
python init_db.pycd ../front
# Install dependencies
npm installTerminal 1 - Backend:
cd backend
python run.py
# Backend runs on http://localhost:8000
# API docs: http://localhost:8000/docsTerminal 2 - Frontend:
cd front
npm run dev
# Frontend runs on http://localhost:8080Navigate to http://localhost:8080 and start building!
Create backend/.env with the following variables:
# Required: Google AI API Key (get from https://aistudio.google.com/apikey)
GOOGLE_API_KEY=your_google_api_key_here
# Optional: JWT Configuration (not fully implemented)
SECRET_KEY=your_secret_key_here_change_in_production
ALGORITHM=HS256
ACCESS_TOKEN_EXPIRE_MINUTES=30
# Optional: Database (defaults to SQLite)
DATABASE_URL=sqlite:///./davelovable.db
# Optional: Debug mode
DEBUG=True
# Optional: AutoGen Configuration
AUTOGEN_MAX_ROUND=20βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β FRONTEND β
β React + TypeScript + Vite + Tailwind + shadcn/ui β
β β
β ββββββββββββββββ ββββββββββββββββ ββββββββββββββββ β
β β Monaco Editorβ β Chat Panel β β Visual Editorβ β
β β (Code Edit) β β (AI Chat) β β (Click-Edit) β β
β ββββββββββββββββ ββββββββββββββββ ββββββββββββββββ β
β β
β βββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β WebContainer Preview (Node.js in Browser) β β
β β - Vite Dev Server β β
β β - HMR (Hot Module Replacement) β β
β β - Screenshot Capture (html2canvas) β β
β β - Visual Editor Helper (element selection) β β
β βββββββββββββββββββββββββββββββββββββββββββββββββββ β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β REST API (SSE for chat)
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β BACKEND β
β FastAPI + SQLAlchemy + SQLite β
β β
β ββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β Multi-Agent System (Microsoft AutoGen 0.7) β β
β β β β
β β βββββββββββββββββββ ββββββββββββββββββββββ β β
β β β Planner Agent β β Coder Agent β β β
β β β (Strategy) βββΆβ (Execution) β β β
β β β No Tools β β 40+ Tools β β β
β β βββββββββββββββββββ ββββββββββββββββββββββ β β
β β β β β β
β β βΌ βΌ β β
β β ββββββββββββββββββββββββββββββββββββββββ β β
β β β SelectorGroupChat (Smart Routing) β β β
β β β - Visual Edit: Direct to Coder β β β
β β β - Bug Fix: Direct to Coder β β β
β β β - Complex: Planner β Coder β β β
β β ββββββββββββββββββββββββββββββββββββββββ β β
β ββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β
β ββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β Gemini-3 Flash (Google AI) β β
β β - 1M input tokens, 64K output tokens β β
β β - Custom thought_signature client β β
β β - HTTP-level interception for function calls β β
β ββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β
β ββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β Physical File System β β
β β backend/projects/project_{id}/ β β
β β βββ .git/ (version control) β β
β β βββ package.json (dependencies) β β
β β βββ vite.config.ts (build config) β β
β β βββ src/ (source files) β β
β β βββ .agent_state.json (agent memory) β β
β ββββββββββββββββββββββββββββββββββββββββββββββββββ β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
User Request
β
βΌ
βββββββββββββββββββββββββββββββββββ
β SelectorGroupChat Router β
β (Analyzes request context) β
βββββββββββββββββββββββββββββββββββ
β
ββββ [VISUAL EDIT] tag? βββββββββββΊ Coder Agent (Direct)
β
ββββ [BUG FIX] tag? βββββββββββββββΊ Coder Agent (Direct)
β
ββββ Complex task? ββββββββββββββββΊ Planner Agent
β
βΌ
βββββββββββββββββββββ
β Planner thinks β
β Creates task listβ
βββββββββββββββββββββ
β
βΌ
Coder Agent
β
βΌ
βββββββββββββββββββββ
β Executes tools: β
β - write_file β
β - edit_file β
β - run_terminal β
β - git commit β
βββββββββββββββββββββ
β
βΌ
Files written to disk
β
βΌ
Git auto-commit
β
βΌ
Frontend syncs to WebContainer
β
βΌ
Preview updates (HMR)
- Rapid Prototyping: Build React apps in minutes with AI assistance
- UI/UX Exploration: Iterate on designs with visual editor + AI
- Learning React: AI explains code and best practices
- Component Libraries: Generate reusable components quickly
- Landing Pages: Create marketing pages with Tailwind CSS
- Dashboards: Build admin panels and data visualizations
- Portfolio Projects: Showcase your work with AI-generated code
- Backend Development: No API/database/server code generation
- Production Applications: Authentication and deployment features in progress
- Large Teams: No real-time collaboration (single-user only)
- Enterprise Apps: No multi-tenancy or advanced security features
This project is licensed under the MIT License - see the LICENSE file for details.








