Fluid
Personalized genUI without manual customization
Created on 31st May 2026
•
Fluid
Personalized genUI without manual customization
The problem Fluid solves
• The $200k Custom UI Tax — Forward-deployed engineers at Palantir, Ramp, and Scale charge $200k+ per customer to manually reshape UIs. This proves the market exists but isn't scalable beyond Fortune 500 companies.
• Combinatorial Explosion — With 5 preference dimensions × 4 options = 1,024 different layouts to hand-design. Static UIs force you to pick 3-5 "personas" but real users don't fit into boxes.
• "GraphQL for Frontend Personalization" — GraphQL solved "every client needs different data" with flexible queries from one schema. Fluid solves "every user needs a different UI" the same way.
• Current Personalization is Superficial — Today's "personalization" means recommended content or A/B testing button colors. Nobody dynamically restructures entire information architecture per user because it requires rebuilding the frontend for each variation.
• Static Personas Don't Scale — A sales manager who's technical wants a hybrid view that doesn't exist in your preset options. Users need personalization at the individual level, not role-based templates.
Challenges we ran into
• The IR (Intermediate Representation) as Security Boundary — If LLMs emit React/HTML directly, you're executing untrusted code. Our breakthrough: a sandboxed JSON tree that can only reference declared schema entities. The LLM produces data; your renderer controls what it becomes. This is our moat.
• Getting LLMs to Output Valid Structured JSON — Built a multi-stage parsing pipeline (direct parse → strip fences → extract balanced braces) plus retry-with-tagged-feedback that tells the LLM exactly what failed (schema-violation vs invalid-json vs invalid-ir).
• Preventing Runaway Costs & Abuse — LLM calls cost $0.03-0.15 each. Implemented rate limiting (20 req/min), single-flight deduplication (concurrent identical intents share one call), 90s timeouts with AbortController, and client disconnect detection.
• Semantic Validation Beyond JSON Shape — Zod validates structure but doesn't know if Task.unknownField exists. Built checkIRAgainstSchema—a walker that verifies every entity/field/enum reference resolves, enforces depth limits (max 16), and caps nodes (max 256) to prevent renderer attacks.
Tracks Applied (1)
Open Innovation
Technologies used
