Documentation

A local-first AI coding assistant with native clients, a background daemon, and optional cloud sync.

Documentation Pages

Unbound is a development tool that pairs a background Rust daemon with native client applications to provide AI-assisted coding sessions.

Internals Highlights

  • Apps - macOS native app (SwiftUI), iOS app, web app (Next.js), database.
  • Daemon Crates - Rust daemon crates under apps/daemon/crates.
  • Packages - protocol (shared message protocol types), crypto (E2E encryption), session (session management helpers).
  • Web Internals - request memoization, RSC data, navigation helpers.

Architecture Snapshot

Clients connect to the daemon over a Unix domain socket using an NDJSON-based protocol. The daemon spawns and manages Claude CLI processes, persists all session data to SQLite, and syncs encrypted messages through two paths.