Replaced Next.js with a custom AI-coded framework, JS size down 99%
maxleiter · x · 2026-09-01
Max Leiter replaced Next.js on his personal site with a bespoke framework architected by Claude's Fable and implemented by Opus subagents.
Workflow:
- Prompted Claude to scope a custom, on-demand framework faster than Next.js for static sites with MDX, deployable to Vercel.
- Coordinated Opus subagents for implementation.
Results:
- JS Bundle: Reduced from 208 KB to 2.3 KB (-99%).
- Performance: Mobile Lighthouse score improved to 100; LCP improved by 46%; total weight reduced by 93%.
- Features: Retained MDX support and static HTML compilation.
More from coding & agent
- YC-backed Struct launches AI Production Engineer for automated monitoring — ycombinator · 2026-09-02
- Coding harness built on OpenAI's 'secret society' of self-organizing agents — floguo · 2026-09-02
- Developers run fleets of AI agents. Why haven't normal people? — fhinkel · 2026-09-02
- Doberman: MCP proxy with allow/auth/block verdicts — Da_Lil_Fu · 2026-09-02
- Auditor finds 54 reward-hacking vulnerabilities across 112 real RL environments — Responsible_Goose535 · 2026-09-02
- Andrew Ng releases 2-hour course on Graph Engineering for multi-agent systems — leslysandra · 2026-09-02