Credentials. Your model API key sits in apps/agent/.env or the chat header, so keep it out of commits.
Who it is forA product engineer evaluating generative UI for an internal assistant.
The problemPlain text answers are hard to explore and compare.
The outcomeA local chat interface that renders interactive answers.
What you need first
- Node.js with pnpm
- Python with uv for the agent
- An OpenAI API key (or keys entered in the chat header)
Steps
- Run
git clone https://github.com/CopilotKit/OpenIntelligentUI.gitandcd OpenIntelligentUI - Run
make setup - Set OPENAI_API_KEY in apps/agent/.env or enter keys in the chat header
- Start everything with
make dev
Prompt for your agent
Set up CopilotKit/OpenIntelligentUI with `make setup` and `make dev`, ask it to compare <two options>, and confirm the answer renders as an interactive comparison rather than text.
Caveat. It expects a model plus a visualization router to be connected before answers render fully.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for CopilotKit/OpenIntelligentUI and "Run a chat app that answers with interactive UI"
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