A modern web UI for your agents. Start the server and access your agents anywhere in your browser. Common Agent UI is powered by Claude Code SDK and supports all kind of LLMs with the most powerful agentic tools.
With Node.js >= 20.19.0, start the server:
npx cui-server
or install it globally:
npm install -g cui-server
Open http://localhost:3001/#your-token in your browser (the token will be displayed in the cui-server command output).
Choose a model provider:
settings -> provider and choose a model provider. cui use claude-code-router configurations, supporting different model providers from openrouter to ollama.(Optional) Configure the settings for notifications and dictation.
Start a New Task
cui automatically scans your existing Claude Code history in ~/.claude/ and displays it on the home page, allowing you to resume any of your previous tasks. The dropdown menu in the input area shows all your previous working directories.
Fork a Task
To create a branch from an existing task (only supported for tasks started from cui), navigate to the "History" tab on the home page, find the session you want to fork, and resume it with new messages.
Manage Tasks
Feel free to close the page after starting a task—it will continue running in the background. When running multiple tasks (started from cui), you can check their status in the "Tasks" tab. You can also archive tasks by clicking the "Archive" button. Archived tasks remain accessible in the "Archived" tab.
cui uses Gemini 2.5 Flash to provide highly accurate dictation, particularly effective for long sentences. To enable this feature, you'll need a Gemini API key with generous free-tier usage. Set the GOOGLE_API_KEY environment variable before starting the server. Note that using this feature will share your audio data with Google.
You can receive push notifications when your task is finished or when Claude is waiting for your permission to use tools. Notifications are sent using either ntfy or native web-push. To receive them, follow the instructions in the settings.
More keyboard shortcuts are coming. Currently available:
Enter: Enter a new lineCommand/Ctrl + Enter: Send message/: List all commands@: List all files in the current working directoryAll inline syntaxes like /init or @file.txt are supported just like in the CLI.
~/.cui/config.json to set the server.host (0.0.0.0) and server.port. Alternatively, you can use --host and --port flags when starting the server.~/.cui/config.json file.All configuration and data are stored in ~/.cui/.
config.json - Server and interface settingssession-info.db - Session metadataTo uninstall cui, simply delete the ~/.cui/ directory and remove the package with npm uninstall -g cui-server.
The best way to contribute is to suggest improvements or report bugs in the issues and give us a star ⭐!
Before submitting a PR, please make sure you (or your fellow AI) have read CONTRIBUTING.md.