Run dozens of Claude Code
sessions on one canvas.
Free-form 2D workspace for multi-session AI development. Tauri, Rust, and raw PTY control.
The system.
CodeGrid is a native macOS desktop app that turns multi-agent AI development from a linear, tab-switching chore into a spatial, parallel workflow.
Rust-side PTY management.
The backend, written in Rust using the Tauri v2 command API, manages the full PTY lifecycle for every terminal tile. This is what makes CodeGrid feel native rather than like a web wrapper.
- →PTY spawn with shell inheritance and env passthrough
- →Resize events forwarded from xterm.js to PTY on canvas resize
- →SIGWINCH, SIGTERM, SIGINT forwarding per tile
- →Exit detection triggers worktree teardown and UI update
- →Output streams piped to xterm.js via Tauri event system
Why Tauri v2.
Electron was ruled out immediately, the memory footprint for an app spawning dozens of terminals would be untenable. Tauri v2 ships a code-signed native macOS binary, shares one WebView instance for the React UI, and gives direct access to system APIs from Rust without a Node.js process in between.
Technology.
Need a native desktop tool
built with Rust and Tauri?
We build production-grade desktop apps, native binaries, real system APIs, no Electron bloat.
Start the conversation →
