Eitherway’s architecture enables “AI with real, executable control over a full-stack development environment, entirely within the browser.” It functions as a live, sandboxed operating system.
Frontend Stack
Component
Technology
Framework
Remix (React + TypeScript)
Editor
CodeMirror 6 (multi-language, AI autocomplete)
Styling
Tailwind CSS + shadcn/ui (60+ components)
Preview
Real-time interactive application testing
Terminal
xterm.js
Execution
WebContainer API
State
Nanostores
Web3
Wagmi + Viem + WalletConnect/AppKit
Backend Stack
Component
Technology
Framework
Fastify 4.25+ (Node.js)
Database
PostgreSQL 14+ (56 tables)
Real-time
WebSocket streaming
Auth
Privy (Web2 + Web3 unified)
File Upload
Multipart (200MB per file)
AI Orchestration Layer
The system follows four key steps:
Prompt Parsing - Understand user intent and requirements
BuildPlanning - Generate structured plan with dependencies and folder organization
CommandExecution - Direct execution within WebContainer VM
IterativeRefinement - Adjust based on running preview feedback