AI-Powered Web Application Builder inspired by modern AI development platforms.
Planner โ Coder โ Reviewer
๐ Try PromithicAI โข โญ GitHub
| Feature | Description |
|---|---|
| ๐ค Multi-Agent Workflow | Planner โ Coder โ Reviewer pipeline |
| โก Live Code Streaming | Real-time AI generation simulation |
| ๐ป Monaco Editor | VS Code-like editing experience |
| ๐ฅ Firebase Authentication | Email & Google Sign-in |
| โ๏ธ Supabase Sync | Cross-device project history |
| ๐ Dark / Light Theme | Persistent theme switching |
| ๐งฉ Live Sandbox Preview | Execute generated apps safely |
| ๐ฅ HTML Export | Download production-ready HTML |
| ๐ One-click Deployment | Deploy generated applications |
| ๐ฑ Responsive Design | Desktop & mobile optimized |
| Category | Technologies |
|---|---|
| Frontend | HTML5, CSS3, Vanilla JavaScript (ES6+) |
| Editor | Monaco Editor |
| Authentication | Firebase Authentication (Email/Password, Google OAuth) |
| Database | Supabase PostgreSQL (REST Client) |
| Deployment | Vercel, GitHub Pages |
| Architecture | Multi-Agent Workflow, Client-Side Rendering |
| Styling | CSS Variables, Flexbox, Grid, Glassmorphism |
PromithicAI/
โโโ assets/
โ โโโ banner.png # Repository Banner
โ
โโโ screenshots/
โ โโโ landing.png
โ โโโ builder.png
โ โโโ login.png
โ โโโ settings.png
โ
โโโ index.html # Marketing / Landing Page
โโโ builder.html # Main IDE Console Workspace
โโโ settings.html # API Configuration & Engine State
โโโ login.html # Firebase Authentication
โโโ signup.html # User Onboarding & Signup
โโโ vercel.json # Vercel Clean URL Redirects
โโโ README.md # Project Specification
โโโ LICENSE # MIT License
โโโ .gitignore # Version Control Filters
โ
โโโ css/ # Styling Architecture
โ โโโ base.css
โ โโโ variables.css # Global Theme & Color Tokens
โ โโโ animations.css # Core Layout Transitions
โ โโโ components.css
โ โโโ landing.css
โ โโโ auth.css
โ โโโ settings.css
โ โโโ builder.css
โ โโโ brand-story.css # PromithicAI Brand Segment Styling
โ โโโ fx.css # Cursor spotlight, magnetic, and dynamic glows
โ โโโ polish.css # v1.1 Micro-Interaction Polish (logo pulse, shimmers, active glows)
โ
โโโ js/ # Vanilla JS Logic Components
โโโ theme.js # Light/Dark Mode Persistence
โโโ router.js # Fade-In Client-Side Routing
โโโ firebase.js # Firebase SDK Wrapper (Email/Password, Google OAuth)
โโโ supabase.js # Supabase REST Client
โโโ auth.js # Session Detection & Navbar Badge Render
โโโ editor.js # Monaco Editor & Fallback API
โโโ streaming.js # AI Token Output Simulation
โโโ history.js # Hybrid Local/Supabase Persistence Sync
โโโ agent.js # Multi-Agent Workflow Logic
โโโ fx.js # Intersection Observers & Mouse FX
> ๐ The project follows a modular architecture, separating UI, styling, business logic, authentication, and deployment configuration for better maintainability and scalability.
PromithicAI follows a client-side multi-agent workflow that transforms natural language prompts into production-ready web applications through planning, code generation, review, sandbox execution, and export.
User Prompt
โ
โผ
Planner Agent
(Requirement Analysis)
โ
โผ
Coder Agent
(HTML โข CSS โข JS Generation)
โ
โผ
Reviewer Agent
(Validation & Optimization)
โ
โผ
Monaco Code Editor
(Live Source Code Editing)
โ
โผ
Sandbox Preview
(Secure iframe Execution)
โ
โโโโโโโโโโโโโโดโโโโโโโโโโโโโ
โผ โผ
Download HTML Deploy Application
User
โ
โผ
Firebase Authentication
โ
โผ
Authenticated Session
โ
โผ
Supabase Database
โ
โผ
Build History Synchronization
- Planner Agent analyzes the user's request.
- Coder Agent generates HTML, CSS, and JavaScript.
- Reviewer Agent validates and improves the generated code.
- The generated code is loaded into the Monaco Editor.
- A secure Sandbox Preview renders the application.
- Users can download or deploy the generated application.
PromithicAI is a serverless, front-end-heavy development console. When a user input is received (e.g., "Build me a Pomodoro timer"), the system initiates a structured multi-agent loop:
[User Prompt] โโ> ๐ค Planner Agent โโ> ๐ค Coder Agent โโ> ๐ค Reviewer Agent โโ> ๐ฅ๏ธ Sandbox Preview
The app features full code streaming, live sandboxed previews, theme toggles, and cloud-synced compilation history, making it both an educational workspace and a framework for AI agent developers.
- High-Fidelity AI Orchestration Visualization: It demonstrates how complex multi-agent pipelines (Planner โ Coder โ Reviewer) communicate state and hand off tasks asynchronously.
- Zero-Setup Prototyping: Allows developers and designers to test interactive widget layouts instantly, completely inside the browser.
- No-Dependency Code Editing: Integrates the full VS Code Monaco editor directly via CDN, offering instant linting and syntax highlighting without massive
node_modulesconfigurations. - Immediate Exportability: Renders applications into sandboxed previews, providing single-click options to copy the clean HTML or download a production-ready
.htmlfile that runs offline.
Building a stateful agent system purely on the client-side using Vanilla JavaScript brought several complex implementation challenges:
- Concurrency & Stream Cancellation:
Handling stateful, asynchronous streaming loops inside the single-thread model of a browser meant that if a user canceled a build or submitted a new prompt mid-generation, overlapping text streams could corrupt the editor model. This was solved in
js/streaming.jsandjs/agent.jsby implementing cancelable promise wrappers and an explicit external abort polling system (getAbort()). - Resilient Monaco CDN Integration:
Embedding a heavyweight code editor requires robust script loading. If the CDN load of Monaco fails (e.g., offline usage or blocked domains), the app's core feature breaks. To address this,
js/editor.jsimplements a self-healing fallback mechanism that automatically constructs a lightweight, customizedtextareareplicating Monaco's editor interfaces (getValue,setValue,appendCode) to ensure zero-downtime operation. - Secure Sandboxing of Generated Code:
Injecting arbitrary JavaScript and CSS from AI outputs into the parent page's DOM would corrupt global styles, leak local storage credentials, and trigger cross-site scripting conflicts. To ensure safe execution, generated apps are dynamically injected via the
srcdocproperty of an<iframe>configured with a strictsandbox="allow-scripts"directive, thereby completely isolating the generated workspace. - Hybrid Storage Boundaries: Managing local history (up to 30 past builds containing full source code and prompts) in local storage pushes the limits of the browser's standard 5MB limit. To support multi-device access and persistent storage, we implemented a hybrid cloud sync strategy: local builds write immediately to local storage and queue up for asynchronous replication to Supabase when a user signs in.
- Grid Layouts without UI Libraries:
Structuring an IDE-style interface (adjustable columns, sliding history drawers, terminal console logs, iframe previews, and modal popups) while maintaining a premium glassmorphic appearance required complex CSS variables and media query orchestration in
css/builder.cssandcss/components.csswithout relying on Tailwind or Bootstrap.
- Firebase Authentication Integration: Integrated native authentication flows supporting traditional Email/Password credentials and Google OAuth Single-Sign-On (SSO) popup windows.
- Supabase Cloud Sync DB: Engineered a lightweight REST-based database synchronization protocol sending and loading builds directly using Supabase PostgreSQL databases, resolving the single-device 5MB local limits.
- Visual Micro-Interaction Polish: Created a comprehensive
polish.csssystem including:- Gradient logo text transitions and pulsing glow mechanics on brand badges.
- Non-intrusive sweeping light beams animating versioning stickers.
- Interactive tactile key compression scales (
scale(0.97)) on click/touch actions. - Staggered structural layout transitions for loaded sidebar history blocks.
- Fluid error panel animations sliding down on authentication failure.
- Brand Rebirth: Cleaned all instances of "AI Web App Builder" and converted them to PromithicAI.
| Version | Planned Feature | Status |
|---|---|---|
| v1.2 | Custom API Keys (Send queries directly using user key) | Next Up |
| v2.0 | LangGraph Orchestration & Python FastAPI Backend | Planned |
| v2.1 | MCP Sandboxed local execution capabilities | Planned |
| v2.2 | Push to GitHub & deploy directly from the IDE | Planned |
| v3.0 | Voice-to-App live streaming | Planned |
- Log in to Vercel using your GitHub account.
- Select "Import Project" and choose the
PromithicAIrepository. - Keep the framework preset as Other and the root directory as
./. - Click Deploy. Vercel will build the project using the static configuration in
vercel.jsonfor clean URL routing.
- Go to the Firebase Console.
- Select your project and navigate to Authentication -> Settings.
- Under Authorized domains, click "Add domain" and add your Vercel deployment URL (e.g.,
promithic-ai.vercel.app). - Ensure Email/Password and Google are enabled under the Sign-in method tab.
Run the following query in the SQL Editor of your Supabase dashboard to create the synced builds table:
CREATE TABLE IF NOT EXISTS public.builds (
id TEXT PRIMARY KEY,
user_id TEXT NOT NULL,
prompt TEXT NOT NULL,
code TEXT NOT NULL,
template TEXT DEFAULT 'custom',
provider TEXT DEFAULT 'claude',
created_at TIMESTAMPTZ DEFAULT NOW()
);
CREATE INDEX IF NOT EXISTS idx_builds_user_id ON public.builds(user_id);
CREATE INDEX IF NOT EXISTS idx_builds_created_at ON public.builds(created_at DESC);
ALTER TABLE public.builds DISABLE ROW LEVEL SECURITY;If you found PromithicAI useful or interesting, you can support the project by:
- โญ Starring the repository
- ๐ด Forking the repository
- ๐ Reporting bugs by opening an Issue
- ๐ก Suggesting new features or improvements
- ๐ข Sharing the project with fellow developers
Every contribution, suggestion, and star helps make PromithicAI better and motivates future development.
I appreciate your support! โค๏ธ
This project is licensed under the MIT License.
You are free to use, modify, and distribute this software in accordance with the terms of the license.
See the LICENSE file for complete details.
Computer Science & Engineering Student
- ๐ผ GitHub: https://github.com/Shashwatss10
- ๐ Live Demo: https://promithic-ai.vercel.app/
Made with โค๏ธ using HTML, CSS, JavaScript, Firebase, Supabase & Monaco Editor.




