KingsCode
Health Uyari
- License — License: NOASSERTION
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 5 GitHub stars
Code Gecti
- Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Gecti
- Permissions — No dangerous permissions requested
Bu listing icin henuz AI raporu yok.
Fast, local desktop app for AI coding agents (Claude Code, OpenCode) over ACP. Rust daemon + Tauri v2, UI forked from T3 Code.
KingsCode
A fast, local desktop app for working with AI coding agents. KingsCode runs agents such as Claude Code, Codex, Antigravity and OpenCode on your own machine through the Agent Client Protocol (ACP), and gives you a focused place to chat with them, review their tool calls, and approve or deny what they do.
It pairs a Rust daemon with a Tauri v2 desktop shell.
Status: early alpha. KingsCode is under active development. Expect rough edges, and parts of the interface that are not wired to the daemon yet (see What works today).
Download
Get the latest build from GitHub Releases:
- Stable: latest release
- Beta: all releases (pick the newest
v…-beta.Nrelease, marked "Pre-release")
| Platform | File |
|---|---|
| macOS, Apple Silicon | KingsCode-<version>-macos-arm64.dmg |
| macOS, Intel | KingsCode-<version>-macos-x64.dmg |
| Windows (x64) | KingsCode-<version>-windows-x64-setup.exe |
| Linux (x64) | KingsCode-<version>-linux-x64.AppImage, .deb or .rpm |
Checksums for every file are in SHA256SUMS.txt on each release.
Stable vs Beta. Stable releases are the tested builds. Beta releases are prerelease builds from main, versioned like 0.2.0-beta.3, and may be rougher. KingsCode checks for updates automatically; switch tracks in Settings → Update track.
Unsigned builds. The macOS and Windows builds are not code-signed yet, so your OS may warn on first launch:
- macOS (Gatekeeper): right-click the app and choose Open, or run
xattr -dr com.apple.quarantine /Applications/KingsCode.app. - Windows (SmartScreen): click More info, then Run anyway.
What works today
- Projects and threads stored locally in SQLite (with >64 KiB payload spilling & message attachments in an atomic blob store), live streaming replies, archived threads list, and reconnect replay
- Agents: Claude Code (run natively over the
claudeCLI's stream-json protocol), and over ACP Codex (throughcodex-acp), Antigravity (throughagy acp) and OpenCode, plus any local ACP command you add - Real model lists, slash commands (
available_commands_update), effort and mode options read from each agent, and persisted/applied to your turns - Sign-in status and in-app sign-in through each agent's own login command
- Tool-call timeline (with full and live command output), approve/deny cards, and "always allow" rules
- Images tools return (browser/MCP screenshots, image files the agent reads) show inline in the tool call, survive restarts and forks, and are stored per thread
- Runtime modes per thread: Full access (the default), Auto-accept edits, or Supervised; edits inside
.gitalways ask - Plan mode with a proposed-plan card, and answering questions agents ask mid-turn
- A KingsCode MCP server every agent session can call (Claude Code, and ACP agents that support HTTP MCP): agents can ask you for a secret in a private card (saved to an owner-only file, never into chat or the log), send you messages, and list, read, start, message and interrupt other threads in their project; the agent's own MCP servers still load
- Interrupting a running turn, force-stopping a stuck agent, queued and steered follow-ups, and checkpoint rollback
- Forking a thread, switching it to another agent with the conversation carried over, AI-written thread titles, and pinning, settling and snoozing threads
- Context-window meter, Claude subagent cards, and usage for Claude Code, Codex, OpenCode and Antigravity
- Usage limits: when an agent stops because you hit a usage limit, the thread shows "limited" with the reset time, and you can snooze it until then or have KingsCode resume it automatically after the reset, even across a restart (per thread, or with "Resume after usage limits" in Settings)
- Git status, branch switching, commit/push, live diffs, debounced workspace watchers, and locked managed worktrees under
~/.kingscode/worktrees - Pull requests and issues through the GitHub CLI: create a PR from your changes, check out a PR into a thread, and a full review page (diffs, checks, activity, comments and review threads, reviews, labels, reviewers, merge/close); GitHub issues (list, read, create, comment, edit, close/reopen); clone, create (
~/KingsCode Projects) and publish repositories - First-run setup that walks you through installing and signing in to an agent and opening a project
- Confined workspace file viewing/editing and file/content search (
ignore+regex) - Embedded PTY terminal drawer (
crates/ptyover binary WebSocket frames with credit flow control and scrollback replay) - In-app browser preview (native Tauri child webviews per thread with isolated IPC, URL bar, navigation/zoom/DevTools/color scheme/cache clearing, and automatic discovery of local dev servers started by a thread's terminals, project actions, or agents)
Not yet available: pull request review guides and reactions, issue trackers other than GitHub (such as Linear), delegating tasks to other agents, workflows, scheduled tasks, simulator/emulator devices, voice input, and the cloud, mobile, and sharing features.
Requirements
These are for building from source; the downloads only need an agent on your PATH.
- macOS 13.3 or later, Windows x64, or Linux x64
- Rust stable (edition 2024, Rust 1.85 or later), plus Xcode Command Line Tools on macOS or the Tauri prerequisites on Linux and Windows
- Node.js 22 or later and pnpm 12 (
corepack enable) - At least one agent on your
PATH:- Claude Code: install the Claude Code CLI and sign in. KingsCode runs
claudedirectly; no ACP adapter is needed. - Codex: install the Codex CLI, sign in, then install the ACP adapter:
npm install -g @agentclientprotocol/codex-acp - Antigravity: install the Antigravity CLI (
agy); KingsCode runsagy acp. - OpenCode: install OpenCode; KingsCode runs
opencode acp. - SubQ (no CLI needed): add SubQ in Settings → Providers → Add provider and paste an API key from console.subq.ai. KingsCode calls SubQ's API itself and runs the agent loop (file tools, shell commands and approvals) in the app. Savant models only; Snap models are decision models and can't chat.
- Claude Code: install the Claude Code CLI and sign in. KingsCode runs
Getting started
git clone https://github.com/Derrickkoko1234/KingsCode.git
cd KingsCode
pnpm install
pnpm tauri:dev
Then:
- Open a project folder from the sidebar.
- Check Settings → Providers: each agent shows whether it is installed and signed in. Use Sign in if it is not.
- Start a new thread, pick a model, and send a message.
KingsCode finds agents through your login shell's PATH, so a CLI that works in your terminal works in the app. Use the refresh button in Settings → Providers after installing a new agent.
To build a release app bundle:
pnpm tauri:build
Development
| Command | What it does |
|---|---|
pnpm tauri:dev |
Run the desktop app with hot reload |
pnpm dev:web |
Run only the web UI dev server |
pnpm check |
Protocol drift check, web build, Clippy, and Rust tests |
pnpm test:rust |
Rust tests |
pnpm --filter @kingscode/web test |
Web unit and browser tests |
pnpm test:e2e |
Playwright Chromium E2E smoke test against kingscode-daemon-test + fake-acp-agent |
pnpm protocol:generate |
Regenerate the TypeScript protocol types from crates/protocol |
Rust code avoids unwrap, expect, and ?; Clippy enforces this (see Cargo.toml and clippy.toml).
Repository layout
apps/
desktop/ Tauri v2 shell (window, native menus, daemon bootstrap)
web/ React UI, plus the KingsCode adapter in src/client
crates/
daemon/ Local WebSocket/HTTP server with token auth & binary PTY transport
agents/ ACP agent sessions, probing, and sign-in
core/ SQLite store, blobs, crash reconciliation, and the thread event bus
git/ Hardened Git runner, managed worktrees, confined workspace FS, and watcher
pty/ OS-thread portable-pty sessions, 512 KiB scrollback buffer, and PGID teardown
env/ Login-shell environment and CLI detection
protocol/ Wire types shared with the UI (exported to packages/protocol)
packages/ TypeScript workspace packages
docs/ Design notes
Contributing
See CONTRIBUTING.md. Please read the Code of Conduct, and report vulnerabilities privately as described in SECURITY.md.
Acknowledgements
KingsCode's interface would not exist without T3 Code. Thank you to the T3 Tools team and everyone who has contributed to T3 Code. The web UI and TypeScript packages started from T3 Code v0.1.13; see NOTICE.md for exactly what was forked.
License
KingsCode is released under the MIT License. It includes code from T3 Code, Copyright (c) 2026 T3 Tools Inc., under the same license. KingsCode is not affiliated with or endorsed by T3 Tools, Inc.; see NOTICE.md.
Yorumlar (0)
Yorum birakmak icin giris yap.
Yorum birakSonuc bulunamadi