Skip to content

Repository files navigation

KayG — Open-source Grok Build GUI for Desktop

KayG, an open-source Grok Build desktop GUI by Technodweep

KayG is an independent, open-source Grok Build GUI and cross-platform Grok desktop client from Technodweep. It gives the Grok Build CLI a native visual interface on Linux, macOS, and Windows, powered by Tauri 2, React, Rust, and the Agent Client Protocol (ACP).

Website: kayg.technodweep.com

License: Apache 2.0 Platforms: Linux, macOS, Windows Built by Technodweep

Important

KayG is an independent community project. It is not affiliated with, endorsed by, or sponsored by xAI. Grok and Grok Build are trademarks of xAI.

Grok Build, with a native desktop interface

KayG is a visual shell for the Grok Build coding agent. The Grok CLI remains the brain and continues to own authentication, tools, MCP servers, sessions, and model access. KayG launches grok agent stdio and communicates with it over ACP, adding a desktop workflow without reimplementing the agent.

Unlike a wrapper around grok.com, KayG is designed specifically as a GUI for the Grok Build CLI and its coding-agent workflows.

KayG desktop app  <── Agent Client Protocol ──>  Grok Build CLI  <──>  xAI

See KayG in action

KayG desktop app demo

Click the preview to watch the full-quality video.

Download

Visit the official KayG website for product information, demos, and downloads.

Windows

Download KayG for Windows x64 (.msi)

No administrator privileges required. Windows 10/11.

Note

KayG v0.1.0 is available now. Download the Windows installer above or browse the GitHub release for all platform packages.

Release tags beginning with v automatically build KayG packages for Linux, macOS, and Windows and publish them to GitHub Releases. For source builds, follow the instructions below.

Platform Packages
Linux .deb, .rpm, .AppImage
macOS .app, .dmg
Windows Download x64 MSI installer - NSIS .exe, .msi

Features

  • Chat with streaming replies, thinking, tool cards, plans, and elicitation
  • Permissions (Ask / Auto / Always), plan mode, compact / rewind / fork
  • Sessions: resume / rename / delete; multi-agent dashboard
  • Composer: / commands, @ files, image attach, queue, fuzzy history
  • Hubs: Extensions (MCP/skills/plugins), Agents, Tasks, Memory, Account, Rules
  • Agent terminals (live panel + tool-card embed), workflows / loops / goals
  • Memory (/remember, browse, flush/dream) and media (/imagine gallery)
  • Project AGENTS.md editor and custom model endpoints in config.toml
  • Context and usage, find-in-scrollback, raw Markdown, and themes
  • Login, logout, doctor, and sandbox controls without returning to the TUI

Requirements

Grok Build runtime

  • Grok CLI 0.2.x or newer on PATH (or at ~/.grok/bin/grok)
  • An authenticated Grok session or an XAI_API_KEY
curl -fsSL https://x.ai/cli/install.sh | bash
grok --version

Source-build toolchain

  • Rust stable (rustup)
  • Node.js 22 or newer
  • pnpm

Linux builds also require WebKitGTK, GTK, and the standard Tauri system dependencies listed under Linux development dependencies.

Frequently asked questions

Is KayG an official xAI application?

No. KayG is an independent Technodweep community project. It is compatible with the Grok Build CLI but is not affiliated with, endorsed by, or sponsored by xAI.

Is KayG a wrapper around the Grok website?

No. KayG connects to grok agent stdio over ACP and presents the Grok Build coding agent as a native desktop application.

Does KayG include the Grok CLI or an xAI subscription?

No. Install and authenticate the Grok CLI separately. Any Grok account, subscription, API access, and usage charges remain between you and xAI.

Which operating systems does KayG support?

KayG is designed for Linux, macOS, and Windows. The release workflow builds native packages for all three platforms.

Can KayG use an xAI API key?

Yes. Set XAI_API_KEY, or authenticate by running grok in a terminal before opening KayG.

Build from source

pnpm install --dir apps/desktop
pnpm dev

pnpm dev uses ./scripts/dev.sh, which configures the GTK/WebKit environment when needed. To start Tauri without the helper, use pnpm dev:raw.

Linux development dependencies

sudo apt update
sudo apt install -y \
  libwebkit2gtk-4.1-dev libgtk-3-dev librsvg2-dev \
  patchelf libayatana-appindicator3-dev build-essential \
  curl wget file libssl-dev libxdo-dev pkg-config

If system development packages are unavailable, ./scripts/dev.sh can use dependencies under ~/.local/tauri-deps.

Blank WebKit window on Linux: KayG sets WEBKIT_DISABLE_DMABUF_RENDERER=1 by default. The Vite development URL already uses 127.0.0.1 for better WebKit compatibility.

Local CI

./scripts/ci-local.sh
# or
pnpm ci

Package

# Linux (from the repository root)
./scripts/build-linux.sh
# target/release/bundle/{deb,appimage,rpm}/

# macOS
cd apps/desktop && pnpm tauri build --bundles app,dmg

# Windows
cd apps/desktop && pnpm tauri build --bundles nsis,msi

See the packaging guide for platform-specific details.

Documentation

Repository layout

apps/desktop/          Tauri app (React UI + Rust backend)
docs/                  Architecture, ACP checklist, and packaging
scripts/               Local CI and Linux build helpers
.github/workflows/     CI and cross-platform releases

Configuration

Environment variable Meaning
GROK_HOME Override the Grok config/session root (default ~/.grok)
GROK_BINARY Path to the grok binary
XAI_API_KEY API-key authentication, optional when browser auth exists
RUST_LOG Tracing filter, for example info,kayg_lib=debug

GUI settings such as theme, binary override, and last project live in ~/.grok/gui/settings.json.

Safety

  • The default permission mode is Ask.
  • Client filesystem handlers are sandboxed to the session project directory.
  • Enabling “Always approve tools” explicitly opts new and resumed connections into automatic tool approval.

Contributing

Issues and pull requests are welcome. Please describe the user problem, keep changes focused, and run pnpm ci before submitting a pull request.

Built by Technodweep

KayG is created and maintained by Technodweep. Visit our website to explore our other products and engineering work.

License and trademarks

KayG source code and documentation are licensed under the Apache License 2.0. See NOTICE for attribution.

The KayG name, logo, and application icons are Technodweep brand assets and are covered by the KayG trademark and brand policy, not by the Apache License 2.0. Grok and Grok Build are trademarks of xAI.

About

KayG is an open-source Grok Build GUI and cross-platform desktop client for the Grok CLI, built by Technodweep with Tauri, React, and Rust.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages