Surge
From Wave Wiki — the open reference for the Wave OS ecosystem.
1. About
Surge is an AI-powered code editor built into the Wave OS shell. It lives in the main Wave OS app at app.oswave.io under the Surge section. Use case: Users describe an app or feature in plain language and Surge generates production-ready code through a 5-layer pipeline — Design System, Tech Stack Matrix, Template Library, Quality Enhancement, and Code Guardian. A built-in Monaco editor lets users review and refine generated code directly in the browser.
Surge also includes a Smart Contracts panel offering 8 Solidity templates for common patterns (token, NFT, escrow, marketplace, and more), letting users scaffold and customize contract code without leaving the editor. This panel absorbs what was previously a separate app called "Mesh" — Mesh is no longer a standalone product and is now just the Smart Contracts panel inside Surge.
2. Tech Stack
Built as a native Wave OS app using the Base44 platform. Code editing is powered by the Monaco editor (the same engine behind VS Code). Generated projects are stored via the CodeProject entity (fields covering project files, prompt history, and generation metadata).
The 5-layer generation pipeline: (1) Design System — establishes visual/UX conventions; (2) Tech Stack Matrix — selects appropriate frameworks and libraries for the request; (3) Template Library — pulls proven boilerplate patterns; (4) Quality Enhancement — refines naming, structure, and readability; (5) Code Guardian — validates output for correctness and security issues before it reaches the editor.
The Smart Contracts panel offers 8 Solidity templates for scaffolding on-chain logic. BYOK (Bring Your Own Key) is supported — users can connect their own LLM API key for generation instead of using Wave credits.
3. Install
Pre-installed with Wave OS. No separate installation needed. Navigate to app.oswave.io and open the Surge section from the navigation. Difficulty: N/A (pre-installed).
4. Pricing & Credits
Uses Wave credits for AI code generation by default. BYOK users can connect their own LLM API key to generate code without spending Wave credits. Free tier includes a limited number of generations per day.
5. Known Limitations & Roadmap
Mesh has been fully folded into Surge as the Smart Contracts panel — it is no longer available or maintained as a separate app. The Smart Contracts panel currently covers 8 Solidity templates; additional templates and chains are planned.
6. Privacy & Data
Generated projects and prompt history are stored in the Wave OS database via the CodeProject entity, scoped to the user's account. BYOK API keys are stored securely and used only to route the user's own generation requests — they are never shared with other users.
7. Published by
Published by xBuildy. Part of Wave OS main release. No separate GitHub repository — Surge is built into the Wave OS Base44 app.