kcode
A native Mac coding-agent workspace with isolated worktrees, semantic code search, Side Agent oversight, and a hackable Lua agent loop.
At a Glance
About kcode
kcode is a Mac coding agent workspace made by Oonga Studio. It runs multiple live coding sessions in one window, each with its own model, worktree and browser tile. It is available for Apple silicon Macs, with Windows and Linux waitlists listed on the site.
What It Is
kcode is a desktop coding-agent environment where an AI agent edits code, runs shell commands, tests pages in a browser and delegates to subagents, while the user watches, steers and reviews. It works with hosted model APIs, a ChatGPT or Kimi For Coding plan, or local models such as Ollama, LM Studio, vLLM and llama.cpp. Sessions can be arranged in grid, tab or sidebar layouts and show live status.
How it helps the agent write better code
The site describes local semantic code search that finds existing helpers by meaning, language-server references to trace callers before a signature change, and post-edit diagnostics that surface type and import errors right after each edit. Subagents can inherit the parent conversation and shell state or start fresh for an independent review, with custom Markdown roles and JSON Schema-checked results. Durable memory is recalled by relevance, confidence and recency, and original transcripts remain searchable after compaction. Skills can be Markdown guides or sandboxed Lua programs with typed inputs and outputs.
Control, oversight and automation
Each worktree session gets its own branch, port, *.localhost domain, environment overrides and browser storage. Follow-up prompts can be queued while a turn runs. A Side Agent, running on a separately chosen model, writes catch-up notes and flags unverified claims, missed work or loops, and each flag can be sent to the main agent or dismissed. Session goals, repeating prompts and timers keep work going across turns, and hooks start work from file changes, cron schedules, CLI triggers or authenticated local webhooks.
Extensibility and headless use
Sandboxed Lua plugins can intercept prompt building, tool calls, model requests and compaction, and hot-reload without a restart. MCP servers connect over stdio, HTTP or SSE. A permission system offers Default, Accept Edits, Auto and read-only Plan modes, with project trust gating executable project content. kcode can also run headless from scripts or CI with text, JSON or NDJSON output.
Community Discussions
Be the first to start a conversation about kcode
Share your experience with kcode, ask questions, or help others learn from your insights.
Pricing
Free trial
14-day trial starting when you register kcode on a Mac; no card needed until you buy.
- Starts the first time you register kcode on a Mac
- Nothing charged and nothing deleted when the trial ends
One plan
Single plan with every feature; app only, zero model markup. Bring your own API keys or supported LLM subscription plans.
- Mission Control
- isolated worktrees
- semantic code search
- Side Agent
- executable skills
- Lua plugins
- headless CLI
- Your own keys and plans; no charge for model usage
- Updates for as long as you subscribe
- Requires Apple silicon and macOS 14.0 or later
- Full refunds within 14 days
Groups plan
Per-seat plan for groups, from one seat; every seat has every feature.
- Same plan and every feature for each seat
- One bill for every seat
- Seats can be reassigned
- Several admins
- Seat added mid-period costs the rest of the period
Capabilities
Key Features
- Multiple live sessions in grid, tab or sidebar layouts
- Git worktree sessions with isolated ports, hostnames and browser state
- Subagents with inherited or fresh context and schema-checked results
- Local semantic code search and language-server references
- Post-edit diagnostics
- Durable memory and full session history search
- Executable Lua skills with typed JSON Schema interfaces
- Side Agent oversight with catch-up notes and flags
- Per-session built-in browser tile
- Session goals, loops, timers and event hooks
- Lua plugins and MCP server support
- Mid-turn prompt queueing and steering
- Per-session model switching including local models
- Headless mode with JSON/NDJSON output
- Permission modes and project trust
