Kokon
一款免费的本地化方案,可替代 Nano Banana 和 Generative Fill。涂抹区域,输入更改,由您自己的 GPU 进行编辑。提供 Windows、Mac 和 Linux 的单一安装程序。
AI 翻译
Native, GPU-accelerated interface design tool built in Rust. Opens and saves .fig files, runs your own coding agent on the open file, ships an MCP server. FREE + source-available (PolyForm Shield).
翻译准备中
正在加载完整 README。
查看完整 README ↗design-os-studio)Native GPU-accelerated interface design studio in Rust. It opens and writes .fig files with no Figma app installed, runs your own coding agent CLI in an Agents panel on the open file, and ships a Model Context Protocol server (designos-mcp) so agents can edit a .fig headless.
Open a .fig, edit it, and write it back — in the Studio window, or without a window through designos FILE --inspect-json, --export-fig, --scan-design-system and --codegen, or through designos-mcp. Studio draws the canvas on the GPU with wgpu (Metal, DirectX 12 or Vulkan). The Agents panel runs Claude Code, Codex, Grok, Antigravity or Gemini CLI as a live session on the open file with your own sign-in, so Studio needs no API key. Work with variables and modes, select matching layers with Multi-Edit (Q), and read Dev Mode code in eight languages (CSS, Tailwind, React, SwiftUI, UIKit, Compose, Android XML and HTML). Saving a .fig has known issue #834.
Studio's own interface is kept as a design system in a Studio file, design/studio-ui.designos: foundations, component sets, Studio surfaces and editor screens on six pages. These captures open that file in the 0.7.7 release build with designos-studio --screenshot (2x); click an image for full size.
Browser-based design tools keep your files on a vendor's servers and give coding agents little more than a REST export. design-os-studio is a local-first studio written in Rust. It reads and writes .fig files on your disk, runs your own agent CLI in an Agents panel, and serves the open file to agents through a local MCP server.
| Dimension | DESIGN:OS Studio | How to check |
|---|---|---|
| Rendering | Native Rust canvas: wgpu on Metal, DirectX 12 or Vulkan, with a tiny-skia CPU renderer for headless captures. It requests no repaint while the view is idle (FrameKey frame reuse). | Open a file, leave it still, and read the process CPU time twice with ps -o time= -p <pid>. |
| Large files | A spatial index of 2048-unit grid cells (SceneIndex) limits work to the viewport, and repeated shapes share one mesh (GeomCache). The 336 MB Untitled UI PRO kit opens as one document of 207,601 nodes. | designos <file> --inspect-json prints the node count. |
.fig files | Reads .fig containers (fig-kiwi, DEFLATE or Zstd) and writes container version 106, in a ZIP with meta.json and images/. Known issue in 0.6.0: saving a .fig drops numbered-list formatting and writes inherited or variable-bound paints on instances as fixed values. | Export a file, then read the version from the canvas.fig header (see below). |
| Agents | The Agents panel starts your own agent CLI (Claude Code, Codex, Grok, Antigravity or Gemini CLI) as a live session on the open file, and keeps a file's sessions across restarts. Each CLI uses its own sign-in, so Studio needs no API key. | designos-studio <file> --panel agents |
| MCP server | designos-mcp serves its tools over stdio: see the design, read its design system, write in one step (designos_apply_batch) and lint the result (designos_lint). | Send tools/list to designos-mcp --workspace <dir>. The tool table below is generated from that list. |
| Variables |
To read the container version of an exported file, run unzip -p out.fig canvas.fig | head -c 12 | xxd. The header starts with fig-kiwi and ends with 6a00 0000, which is 106 in little-endian.
Where hosted tools win, and it is not close: real-time multiplayer with live cursors, enterprise cloud administration with SSO and SCIM, and hosted comment notifications by email or Slack. Studio has none of these. If your workflow needs real-time cloud multiplayer without local file ownership, use Figma (paired with our live bridge
design-os-figma-plugin) or a hosted Penpot instance instead.
以上为 README 的开头部分。其余内容请阅读原文。 查看完整 README ↗
Color, number, string and boolean variables in collections with modes. A frame can pin its own mode per collection, and modes round-trip through .fig. Import and export Figma JSON and W3C Design Tokens (DTCG). |
designos <file> --export-variables <out> |
| Dev Mode | Built-in Dev Mode (Shift+D) with code in CSS, Tailwind, React, SwiftUI, UIKit, Compose, Android XML and HTML. | designos <file> --select <layer> --codegen react |
| Privacy and license | No telemetry. Studio makes these network requests: open-licensed font downloads from the Fontsource API when a file uses fonts you do not have, a public status-page check after an agent provider error, a connection check when you click Retry connection, and a plugin download from GitHub when you install a plugin. The agent CLIs you start use the network under their own terms. Source-available under PolyForm Shield 1.0.0. | git grep -n 'ureq::' -- crates lists the HTTP calls. The Figma REST client in designos-fig is a cargo feature that is off by default. |