openui

OpenUI let's you describe UI using your imagination, then see it rendered live.

What is openui?

OpenUI let's you describe UI using your imagination, then see it rendered live.

Overview of openui

What it is

OpenUI is an open-source tool that lets you describe a user interface using natural language and see it rendered live. It supports converting the generated HTML to other frameworks such as React, Svelte, and Web Components. The project is developed by Weights & Biases (W&B) and is used internally for testing and prototyping LLM-based applications.

Key features

  • Describe UI components in natural language and see them rendered in real time
  • Supports multiple LLM providers: OpenAI, Groq, Gemini, Anthropic, Cohere, Mistral, and any model compatible with LiteLLM
  • Convert generated HTML to React, Svelte, Web Components, and other frameworks
  • Run locally via Docker or from source with Python and uv
  • Integrates with Ollama for local model inference
  • LiteLLM integration allows connecting to virtually any LLM service

Use cases

  • Rapidly prototyping UI components from textual descriptions
  • Experimenting with different UI designs without manual coding
  • Converting UI code between different frontend frameworks
  • Testing and prototyping tooling for LLM-powered applications

Getting started

To run OpenUI with Docker (preferred), use the following command after setting your API keys:bashexport ANTHROPIC_API_KEY=xxxexport OPENAI_API_KEY=xxxdocker run --rm --name openui -p 7878:7878 -e OPENAI_API_KEY -e ANTHROPIC_API_KEY -e OLLAMA_HOST=http://host.docker.internal:11434 ghcr.io/wandb/openuiTo run from source with git and uv:bashgit clone https://github.com/wandb/openuicd openui/backenduv sync --frozen --extra litellmsource .venv/bin/activateexport OPENAI_API_KEY=xxxpython -m openuiThen open http://localhost:7878 in your browser.

License and pricing

OpenUI is licensed under Apache-2.0 and is open source (free to use).

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/wandbopenui.svg)](https://yunodb.com/tools/wandbopenui?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/wandbopenui?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/wandbopenui.svg" alt="Featured on YunoDB" height="20"></a>