Text-to-App Platform | Build applications at the speed of thought
CodeGenesis is a production-ready, open-source platform that uses a multi-agent AI swarm to autonomously plan, code, test, and deploy full-stack applications from natural language descriptions.
- Text-to-App Generation: Describe your app in plain English, get a complete codebase
- Multi-Agent Swarm:
- Architect Agent: Plans file structure and tech stack
- Engineer Agent: Writes code for each file
- TestSprite Agent: Generates Playwright tests automatically
- OpenLovable Editor: Click-to-edit visual interface
- Live Preview: See your app running in real-time
- Production Ready: Clerk authentication, Supabase data collection, Admin dashboard
- Node.js 18+ and npm
- Python 3.10+
- Google Gemini API Key (Free tier available)
git clone https://github.com/yourusername/CodeGenesis.git
cd CodeGenesiscd backend
python -m venv venv
# Windows
venv\Scripts\activate
# Linux/Mac
source venv/bin/activate
pip install -r requirements.txtCreate .env file in backend/:
GEMINI_API_KEY=your_gemini_api_key_here
SUPABASE_URL=your_supabase_url
SUPABASE_KEY=your_supabase_anon_keycd ../frontend
npm installCreate .env.local file in frontend/:
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=your_clerk_publishable_key
CLERK_SECRET_KEY=your_clerk_secret_key
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
NEXT_PUBLIC_API_URL=http://localhost:8000cd backend
venv\Scripts\activate # or source venv/bin/activate
uvicorn main:app --reload --port 8000cd frontend
npm run devVisit http://localhost:3000
- Sign Up: Create an account using Clerk authentication
- Dashboard: Click "New Project" to start
- Editor: Describe your app in the chat (e.g., "Create a todo list with add/delete")
- Watch: The AI agents plan, code, and test your app in real-time
- Preview: See the generated app running live
CodeGenesis/
├── frontend/ # Next.js 14 + Tailwind + Clerk
│ ├── app/ # Pages (Landing, Dashboard, Editor, Admin)
│ ├── components/ # UI Components (Chat, Code Editor, Preview)
│ └── lib/ # API Client, Utils
├── backend/ # FastAPI + LangGraph
│ ├── agents/ # Architect, Engineer, TestSprite
│ ├── orchestrator.py # LangGraph Workflow
│ ├── vfs.py # Virtual File System
│ └── main.py # API Endpoints
└── docs/ # Documentation and Guides
CodeGenesis is optimized for deployment on Vercel.
- Push to GitHub: Push your code to a GitHub repository.
- Import to Vercel: Go to Vercel and import your repository.
- Environment Variables: Add the following environment variables in Vercel project settings:
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEYCLERK_SECRET_KEYNEXT_PUBLIC_CLERK_SIGN_IN_URLNEXT_PUBLIC_CLERK_SIGN_UP_URLNEXT_PUBLIC_API_URL(URL of your deployed backend)
- Deploy: Click "Deploy".
Note for Development Deployment: If you are deploying a development branch or preview, ensure your Clerk keys are for the correct environment (Development vs Production).
- Create a new Web Service on Render.
- Connect your GitHub repository.
- Set Build Command:
pip install -r requirements.txt - Set Start Command:
uvicorn main:app --host 0.0.0.0 --port $PORT - Add environment variables from
.env.
We welcome contributions! Please see CONTRIBUTING.md (coming soon) for details.
- Fork the repo
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
MIT License - Free to use for personal and commercial projects.
Final Year CSE Project 2025 - Showcasing cutting-edge AI agent orchestration.
Made with ❤️ using LangGraph, Gemini, Next.js, and FastAPI