# Open Generative UI

An open-source showcase that uses CopilotKit and LangChain Deep Agents to let an AI agent generate interactive UI, such as algorithm visualizations, 3D animations, charts and diagrams, rendered live in a sandboxed iframe.

Open Generative UI is an open-source example application for building generative UI with AI agents. Instead of returning only text, the agent produces interactive visual components: algorithm visualizations such as binary search and graph traversal, interactive 3D and WebGL/CSS3D scenes, charts and diagrams, and interactive widgets such as forms and simulations. Every visual renders as live HTML or SVG inside a sandboxed iframe with automatic light and dark theming and responsive sizing.

The project runs a Next.js frontend, a LangGraph agent and an MCP server together, and depends on a strong language model such as Claude to produce well-structured HTML and SVG output in one pass; weaker models tend to produce broken layouts.

Website: https://opengenerativeui.copilotkit.ai/
