Forge KUI 3.61.7/Windows x64

HTML/CSS.
Native desktop UI.

A native HTML/CSS GUI framework with its own renderer, independent of any WebView. Broad support for modern web UI features helps coding agents build interfaces and inspect running apps through DevTools and MCP.

Forge Workspace
Actual KUI rendering of the native workspace with a virtual list and inspector
HTML / CSS + LuaC++ · C · Go · RustWhy choose KUI

01Modern web layout

Your layout skills.
A native destination.

Use familiar Flex, Grid, selectors, CSS variables, typography and animation. Canvas, SVG and DOM events have dedicated APIs, with individual support details in the reference.

Navigation
Workspace
ListDetails
workspace.css
.workspace {
  display: grid;
  grid-template-columns: 202px 1fr;
  gap: 24px;
}
.asset-row {
  display: flex;
  align-items: center;
  height: 54px;
}

02Native + Lua

A lean engine. Lua for interaction.

KUI ships its own HTML/CSS renderer, without Chromium or a system WebView. Keep business logic in the native host, and use optional Lua for interface interactions.

HTML + CSSInterface
DOM · Layout · RendererKUI
C++ / C / Go / RustHost
Write interactions in Lua
Interface event
clickSaved
interaction.lua
local button = document:getElementById("save")
local status = document:getElementById("status")

button:addEventListener("click", function(event)
  status.textContent = "Saved"
end)

Lua event binding. The host must bind the document and execute scripts.

03Built-in virtual components

10,000 records.
Only the rows in view.

VirtualList, ListView and TreeView are built in. Instantiate rows for the viewport and overscan, with APIs for selection, tree expansion and dynamic data changes.

KUI virtual list after jumping to item 5,000
VirtualList / ListView / TreeView

Virtualization is part of the framework.

Rows remain DOM elements with regular CSS and events. Keep data in the host, and create interface nodes for the current range.

main.cpp
kui::VirtualList list;
kui::VirtualListConfig rows;
rows.totalItems = 10000;
rows.itemHeight = 54;
rows.overscan = 3;
rows.renderItem = renderAsset;

list.setup(container, rows);
list.scrollToIndex(4999);

10,000 is this example’s dataset, not a performance limit.

05DevTools + MCP

Adjust the UI.
Test real interactions.

MCP lets agents inspect and operate a running KUI app. Developers can work directly with DOM, CSS, Lua and performance tools.

06Built for coding agents

Describe a web UI.
Let your agent handle KUI.

You do not need to learn KUI’s features first. Ask your agent to follow HTML/CSS web standards and describe the layout, style and actions. It can consult the SDK docs, handle native integration and inspect the result through MCP.

Scripted demo
Coding agentLocal workspace
You

Based on KUI, follow HTML/CSS web standards to build an Ant Design (Antd)-style desktop file manager with folder navigation, a file list, path bar and inspector. Support file selection and creating folders.

Thinking and reading docs

Use Grid and Flex for navigation, files and the inspector. Check the KUI docs for window and event integration.

↳ Read · layout / DOM / events
Writing UI and events

Build the file manager UI. Connect file selection and the New folder button.

index.en.htmlHTMLapp.cssCSSmain.cppC++
Building, running and checking

Launch the desktop window. Check file details and folder creation.

cmake --build build --config ReleaseBuild succeeded · Native window started
↳ MCP · DOM / Screenshot
✓ The UI is ready. Keep building from here.
Forge Files Ant DesignKUI · Windows x64
Ant Design-inspired desktop file manager rendered by KUI
Captured from a native windowDownload the project ↓
The conversation is scripted; result images come from running KUI. Both visual styles are implemented in HTML/CSS.Read the agent guide ↗

Forge KUI / Windows x64

Start with a real window.

Free precompiled SDKs, complete projects and integration guides. Engine source licensing and commercial services are available separately.

Get SDK