Skip to content
Talk to an engineerRequest access

Val Generative UI

Let your AI answer with real interface. Your team designs components; your model fills them in; your app draws them.

A live component — the answer to “How did revenue do last quarter?”
Let your coding agent set it upOne prompt: it finds your LLM route and chat UI, installs the SDKs and wires them in.
Claude CodeCodexCursorCopilotWindsurf
Set up useval (generative UI) in this app.

useval lets this app's AI assistant answer with interactive components that our team designs. The model never writes UI: it picks a published component and fills in its values with a tool call; the frontend draws it natively.

Work in this order and keep the app's existing behaviour intact:

1. Explore first. Find (a) the backend code that calls the LLM — provider (OpenAI, Anthropic, Vercel AI SDK or other), the chat route and the tool-calling loop — and (b) the frontend that renders assistant replies — React or Flutter. Tell me what you found and your plan before editing anything.

2. Install the SDKs. They ship as archives in the useval release download; ask me for the extracted sdk/ directory if it isn't in the repo.
Consoleyou designuseval servicevalidates · themes · servesYour AIany model, your keysYour appReact · Flutterpublishtool callmarkup + data + theme

Your model and your keys stay on your side. Val holds the components, checks every value the model sends, and hands your app something it can draw. See one request, end to end →