Kibo is a lightweight, native (Swift/SwiftUI) Mac app for running coding agents, built primarily around Claude Code:
- Split panes & git workflow: Run sessions in split panes or pop-out windows (per project or git worktree), with diff review, staging, commits, and side-by-side Markdown/file editing.
- Zero-startup history & agent handoff: Reads existing Claude Code (
~/.claude/projects), transcripts straight from disk—and lets you hand off a chat to another agent from History. - Built-in
localhost browser with Pick Element: An isolated WKWebView tab that sends CSS selectors, bounding boxes, and markup straight into your active chat composer. - Native Swift bridge (no Node adapter): Drives
claude CLI directly over stream-json locally, and over claude CLI on SSH hosts and containers too. - Remote & mobile: Pair with another Mac running Kibo (Remote Kibo), run scheduled automations with Keep Awake, track Claude/Codex plan usage in the menu bar, and use the iPhone companion app to follow sessions and answer permission prompts on the go.
It also supports Codex (via app-server), Pi, OpenCode 2, Copilot, Kiro CLI, and more.
Why I replaced the Node adapter with native Swift 6.4
Normally, talking to Claude Code over ACP requires claude-agent-acp (a Node adapter). With Swift 6.4 bringing Subprocess 1.0 for streaming processes, I built an in-process Swift bridge by reverse-engineering the undocumented stream-json control protocol from claude-agent-sdk-python.
Keeping ACP v2 as the boundary above it meant the UI and iPhone app needed zero changes, while unlocking features the Node adapter hid:
- No extra Node process per chat (Claude starts on the first prompt—not when opening a tab—and idle processes stop after 30 min, resuming seamlessly on your next prompt).
- Cache-aware compaction: Long sessions (200k+ tokens) on a 1h prompt cache automatically compact at 54 minutes, before the cache expires, instead of paying for a cold re-read later.
- Prompt suggestions & background tasks: Claude Code’s predicted next prompt shows in the composer (Tab to accept), and background tasks appear above it with individual stop buttons.
Memory footprint (Activity Monitor process list totals, idle shell)
Comparing the native SwiftUI shell against three Chromium/Electron-based desktop coding apps on Mac:
| App | Stack | Processes | Memory | Real Mem | Private Mem |
|---|
| Claude Desktop | Electron | 9 | 885.6 MB | 1,776.8 MB | 1,111.7 MB |
| Codexia | Tauri | 5 | 240 MB | 593 MB | 210 MB |
| Kibo | Native Swift / SwiftUI | 2 | 90 MB | 230 MB | 69 MB |
(Summed from each app's Activity Monitor process list; excludes the claude CLI session process itself, which is ~200 MB regardless of front end. Not a knock on Claude Desktop or the others, which bundle broader web/desktop surfaces—just a huge difference when you keep panes open all day.)
I also maintain Codexia, an open-source cross-platform agent workspace built with Tauri v2, Rust, and React. Tauri is already much lighter than Electron, yet moving to pure Swift/SwiftUI for Kibo still gave an instant cold launch—skipping WebView startup and JS bundle initialization altogether, while cutting the idle footprint down to ~99 MB (65 MB private) across just 2 processes.
How I built it with Claude Code (~53k lines of Swift, ~300 commits since Nov 26)
- A short
AGENTS.md on boundaries, not specs: Protocol/state in KiboCore, shared views in KiboUI, Mac in Kibo, iOS in ios/. - Scoped docs +
docs/layout.md index: Claude only loads the note for the module it's editing. - Strict verification: Putting
"Don't claim a build or test passed unless you ran it" word-for-word in instructions stopped false-positive passes, paired with cheap live protocol runs (KIBO_LIVE_CLAUDE=1 swift test) on Haiku.
A few honest lessons learned
- Never auto-start agents just to list history: An early build spawned every installed agent on launch and froze my Mac. Disk transcripts are the single source of truth.
- I actually stopped using git worktrees: Kibo supports shared worktree paths, and everyone loves parallel worktrees, but syncing
.env, dependencies, and dev ports added more friction than value for my daily flow. - Symbolicate
.ips crash logs first: SwiftUI ordering hangs slip past tests; reading ~/Library/Logs/DiagnosticReports saved hours of guessing. - Claude is great at "make it consistent," bad at knowing when to stop: Several commits are just me removing extra settings it helpfully invented.
Pricing & Download (just shipped v1.7.0)
Happy to go deeper on the stream-json control protocol or share the AGENTS.md! Curious how others balance multi-session setups on Mac—sticking with worktrees day-to-day or back to a single checkout?
On Windows/Linux or prefer MIT open-source? Check out my cross-platform Tauri Agent workspace Codexia (macOS / Linux / Windows).