Acknowledgments

Cairn is built on open-source software. This page credits the libraries and tools that shape how the product works, then lists every third-party package the desktop app and this site ship.

The full license texts, with each package's copyright notice, are in the third-party notices. The desktop app carries the same file inside its bundle.

The desktop app

Tauri and wry

Tauri is the desktop shell: a Rust process that owns windows, the system tray, deep links, and updates, and hosts the interface in the operating system's own web view. wry is Tauri's web view layer. Cairn ships a modified copy of wry: upstream grants every camera and microphone request a macOS web view makes, and Cairn's patch decides each one per web view and per origin instead. The patch stays until upstream offers an equivalent hook.

jj

Jujutsu (jj) is the version control layer under every agent branch. It runs on top of the project's own git repository, so commits stay ordinary git objects. Version control explains why Cairn needs jj's model; Cairn ships jj beside the app.

Turso

Turso is the embedded database that holds projects, issues, run state, transcripts, and settings on your machine, and the sync engine behind team replicas. Cairn pins it to a specific revision of its repository rather than a published release.

gitoxide

The gitoxide crates read git objects and pack files inside the Cairn process. Archived sessions and diffs are rendered from them without shelling out to git.

ast-grep and tree-sitter

ast-grep, built on tree-sitter, gives agents structural code navigation: definitions, references, callers, and file outlines, compiled into the app with no language server to install. Cairn carries a copy of ast-grep's outline model, which is not published as a crate.

toks

toks from Actual Computer counts tokens for open-weight models exactly as the model's own tokenizer would. Cairn links its prebuilt static library on macOS (Apple silicon) and Linux, the targets its releases publish; on other platforms Cairn falls back to estimated counts.

whisper-rs

Voice input transcribes speech locally with whisper.cpp through whisper-rs. It runs in a separate speech engine process, so the app itself does not link it.

pprof and inferno

pprof-rs samples the CPU on demand for Cairn's debug profiling endpoint, and inferno draws the result as a flamegraph. inferno is the one dependency under the CDDL, a file-level license like the MPL; Cairn ships it unmodified, and its source is public.

Rust foundations

tokio runs every asynchronous task in the Rust processes. axum serves the local API the interface and agents talk to. rustls provides TLS without OpenSSL. reqwest makes the outbound HTTP calls, from model providers to update checks.

The interface

Pierre's diffs and highlights

@pierre/diffs renders the change views, from a single commit to a whole branch, and @pierre/highlights highlights code in them and in transcripts.

Pretext

Pretext lays out transcript text without touching the page, so the virtualized chat knows how tall each message will be before it renders it. It measures text once and re-wraps it at any width arithmetically, which keeps scrolling and resizing long transcripts steady.

Pele

Pele turns Mermaid diagram blocks in transcripts, issues, and pages into SVG inside the app. Cairn renders with links and images turned off, and colors the result from the app's theme.

xterm.js

xterm.js draws the terminals in the app, for project terminals and for the processes agents start.

React Flow

React Flow is the canvas of the visual recipe and route editors.

TanStack, Motion, Vega-Lite, and the Markdown stack

TanStack Router, Query, and Virtual handle the app's navigation, its cached reads from the backend, and its long virtualized lists. Motion animates the interface. Vega-Lite renders chart blocks. react-markdown with remark-gfm, remark-math, and rehype-katex renders Markdown everywhere, with KaTeX typesetting the math.

The runtimes beside the app

Cairn ships bun and uv with the desktop app, next to jj: bun runs workflows, scripts, and the TypeScript SDK, and uv runs Python with its dependencies resolved on the fly. An executor host also installs Node.js and its npm. Each is pinned to one upstream release; the versions are in the list below.

Every package

The list below is generated from the lockfiles of the desktop app and this site, plus the tools Cairn installs beside itself. It covers what the desktop app and this site ship. It does not separately cover the executor release or the container image, which redistribute some of the same material. Packages used only to build or test Cairn are not listed, because they do not ship.

Show every package

Loading the package list…