The Full-Stack Engine
Compiler-Driven Optimistic UI for Rust
Write server-side Rust. The compiler generates instant client-side predictions. Zero hydration. Zero JavaScript complexity. 100% type-safe.
The Fifth Camp: The Optimists
The web is divided into four camps. Azumi leads the fifth.
The Hydrators
Next.js, Svelte, Remix
Send HTML, then send JS to replay the logic. Great UX, bad TTI.
The App-Builders
Leptos, Dioxus
Download the whole WASM world. Great for tools, bad for sites.
The Purists
HTMX, Rails
Wait for the network. Simple model, sluggish feel.
The Optimists
Azumi
Assume success. Server is truth, but predictions are instant.
The Mega Comparison
| Metric | Azumi | Next.js | Astro | Svelte 5 | HTMX | Leptos |
|---|---|---|---|---|---|---|
| JS Size | ~16kb 🟢 | ~80kb 🔴 | 0kb 🟢 | ~15kb 🟢 | ~17kb 🟢 | ~300kb 🔴 |
| TTI | Instant 🟢 | Delayed 🔴 | Instant 🟢 | Fast 🟡 | Instant 🟢 | Delayed 🔴 |
| Click | ~0ms 🟢 | Varies 🟡 | Islands 🟡 | ~0ms 🟢 | RTT 🔴 | ~0ms 🟢 |
| Hydration | Zero 🟢 | O(n) 🔴 | Zero 🟢 | Low 🟡 | Zero 🟢 | High 🔴 |
| Types | 100% 🟢 | ~80% 🟡 | ~80% 🟡 | ~90% 🟡 | 0% 🔴 | 100% 🟢 |
| Security | Signed 🟢 | Trust 🔴 | Trust 🔴 | Trust 🔴 | Opt-in 🟡 | Trust 🔴 |
| AI-Ready | Excellent 🟢 | Poor 🔴 | Good 🟡 | Medium 🟡 | Good 🟡 | Good 🟡 |
The Architecture
User Clicks
Event captured by ~16kb runtime
Instant Prediction
Compiled JS updates DOM immediately
Server Confirms
Real mutation + HMAC verification
Reconcile
Usually a no-op — predictions match
Unique Capabilities
CSS-HTML Co-Validation
No other framework does this. Use a class that doesn't exist? Compile error. Typo in a class name? Did you mean 'button'?
Zero Hydration Tax
Next.js sends HTML then JS to rebuild the same thing. Azumi sends HTML — done. No double-rendering.
Signed State
Open DevTools, edit isAdmin: false to true, click button → 400 Bad Request. Automatic. No code needed.
AI-Native Design
Strict types = AI self-corrects via compiler errors. One language = no context-switching overhead.
The Framework AI Would Build for Itself
In a world where AI writes most of the code, ecosystem size matters less. What matters: strict compilers, type safety, and rigid rules that reduce the search space.
Can I npm install this?
Can Claude write this correctly?
How many GitHub stars?
How strict is the compiler?
Is there a tutorial?
Does the AI need less context?
The Philosophy
Server is truth — no client-side state management
Compiler is the bridge — predictions are generated, not hand-written
HTML is native — no Virtual DOM, no WASM, no hydration
Security by default — signed state, XSS prevention
These aren't limitations waiting to be fixed. They're the design.
Stop Shipping Bugs
Free for individuals and teams under 5.