Who it is forA personal finance or product developer who wants a chat answer that is a calculator the user can adjust, not a static table.
The problemA loan or split answer in text cannot be adjusted, so users ask again for each change.
The outcomeA chat answer with sliders that recalculate a payment schedule or a split that adds up to the cent, plus a copy button.
What you need first
- Node 24
- An OpenUI Cloud (Gateway) key in THESYS_API_KEY, or any OpenAI-compatible API key set through LLM_BASE_URL, LLM_API_KEY and LLM_MODEL
- Optional: Ollama and enough memory for a local model (the README recommends 32 GB or more for the default)
Steps
- Run
npm run devafter setup and open http://localhost:3000 - Ask for a loan calculator with a slider for the amount and rate
- Check that the answer binds the sliders to $variables and uses @Payment for the monthly amount
- Ask for a bill split and check that @Allocate is used so the parts add up to the total
Prompt for your agent
In thesysdev/open-intelligent-ui, read the function list in src/lib/functions/ and confirm @Payment and @Allocate exist. Then send the request "Make a loan calculator with sliders for amount and rate" to the running chat and report which functions and Slider components the generated OpenUI Lang uses.
Caveat. The README says the model writes the UI, so the result depends on the model and is not a verified financial product; check the math before relying on it.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for thesysdev/open-intelligent-ui and "Build interactive money tools, such as a loan or bill-split calculator"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer