A spatial desktop IDE with an infinite canvas for code, terminals, browsers, documents, AI agents, and git.
Current source version: v1.0.3
Cate is an Electron desktop app for arranging development tools in freeform space. Mix floating canvas panels with docked tabs and splits, detach panels into standalone windows, and keep multiple workspaces synced across sessions.
Open any folder to create a workspace β Cate restores your canvas layout, panel positions, and open terminals every time you come back. Right-click the canvas to add panels, press Cmd+K
for the command palette, or drag panels onto the dock to create tabs and splits.
No configuration files, no project setup β just point Cate at a directory and start working.
Alt-tab works fine β until you have 12 terminals, 6 files open, docs in another window, and notes scattered across desktops. At that point switching windows becomes the actual bottleneck.
Cate replaces that pile of windows with one persistent canvas per project. Terminals, editors, browsers, and notes sit where you put them, grouped how you think about them, and they're still there when you come back the next day.
Cate is
not a window manager replacement. Tiling/scrolling WMs (Hyprland, Niri, GlazeWM, KDE) are great if you mainly want to arrange OS windows. Cate is a spatial canvas around a single project's tools β closer to Figma's infinite canvas than to a WM.
Infinite canvasβ zoom, pan, and arrange panels anywhere in freeform space. Pan with two-finger drag or right-click drag; zoom withCmd+scroll
or the canvas controls.Dock systemβ drag floating panels onto the dock to create tabs and splits. Each dock zone (center, left, right, bottom) can hold multiple tabs with type-colored icons.Detached windowsβ pull panels or full dock layouts into separate OS windows.** Saved layouts**β name, save, load, and delete canvas arrangements (nodes and regions) from an in-app modal (Cmd+K β "Saved Layoutsβ¦"
).Multi-workspace sessionsβ keep several projects open and restore them on restart. Switch between workspaces from the sidebar.
Monaco Editor panelsβ full VS Code-grade editing with syntax highlighting, multi-cursor, find/replace, diff support, and Markdown Preview/Source mode with GFM rendering. Scratch editors persist unsaved content across sessions.Persistent editor buffersβ file-backed models are reused across panels, and scratch editor content persists with the session.** Document panels**β native canvas viewers for PDFs, DOCX files, and images, with file type detection backed by magic-byte checks.** Native terminals**β xterm.js with WebGL rendering, backed bynode-pty
PTYs rooted in the active workspace. Shell auto-detection with graceful fallback if the configured shell is unavailable.Browser panelsβ embedded webview panels for previewing documentation, dev servers, or any URL. Context-isolated with hardened security settings.
Git-aware file explorerβ file tree with live filesystem watching, tracked/untracked dimming, search, and copy/paste for files and folders with collision-safe renaming.Source control sidebarβ stage/unstage, branch management, worktrees, commit history, and inline diff views. Git monitor polls and surfaces changes automatically.Project-wide searchβ full-text search across workspace files with instant results.
Pi Agent panelβ run an in-app coding agent powered by@earendil-works/pi-agent-core
, with chat threads, per-chat model restore, and workspace-aware panel placement.Provider auth & modelsβ connect OAuth providers such as Anthropic, OpenAI Codex, and GitHub Copilot, or API-key providers such as OpenAI, Google Gemini, OpenRouter, Groq, Mistral, DeepSeek, and more.Marketplace & plan modeβ install Pi extensions from the marketplace and use Cate's bundled plan-mode helper for agent-guided implementation planning.
Canvas-wide search(Cmd+Shift+F
) β Spotlight-style overlay that searches workspace files, live terminal scrollback, and open panel titles/paths in one place. Recent-focus ranked results with colored type-tile icons.Panel switcher(Ctrl+Space
) β compact keyboard overlay for jumping between open canvas panels and centering the selected node.Command palette(Cmd+K
) β quick access to commands, open panels, and workspace files. Unified Spotlight-style chrome across all overlays.
Auto-save & session restoreβ all panel state, positions, and open files persist automatically.** Optional macOS native window tabs**β group Cate windows in the system tab bar.** Auto-update checks**β checks GitHub releases and notifies when a new version is available.** Crash resilience**β Sentry diagnostics, session restore validation, shell fallback banners in the PTY, and guarded update/restart flows help prevent noisy or looping crash states.
If you just want to use Cate, download a prebuilt release β don't build from source. This repository currently targets v1.0.3.
| Platform | Formats | Link |
|---|---|---|
| macOS | DMG, ZIP (arm64 , x64 ) |
|
x64
)Latest releasetar.gz
(x64
macOS note:release builds are notarized and configured for hardened runtime. Unsigned local or test builds may require:
xattr -cr /Applications/Cate.app
Linux note:on Steam Deck or other read-only-root distros, prefer thetar.gz
portable build. If the AppImage fails to launch, try--no-sandbox
as a fallback (e.g../Cate.AppImage --no-sandbox
).
The steps below are for
contributorsβ use the prebuilt release above for daily use.
Node.js20 or 22 LTS (see.nvmrc
). Node 23+ is not supported;node-pty
has no prebuilds and native compilation will fail.- npm >= 9
- Python 3 and a C++ compiler (for
node-pty
native module)- macOS: Xcode Command Line Tools (
xcode-select --install
) - Debian/Ubuntu:
sudo apt install build-essential python3
-
Fedora/RHEL:
sudo dnf install @development-tools gcc-c++ make python3 -
Arch:
sudo pacman -S base-devel python -
Windows: Visual Studio Build Tools(select the "Desktop development with C++" workload)
-
macOS: Xcode Command Line Tools (
git clone https://github.com/0-AI-UG/cate.git
cd cate
npm install
npm run dev
This starts the Electron app with hot reload via electron-vite.
npm run typecheck
npm test # unit tests (vitest)
npm run test:e2e # Playwright integration tests
For the Electron smoke test harness:
npm run test:smoke:electron
npm run build
npm run package
npm run package:mac
npm run package:win
npm run package:linux
Packaged binaries will be in the release/
directory.
Cate uses a context-isolated preload bridge for all IPC communication. Filesystem access is scoped to registered workspace roots, browser panels use hardened webview settings with disabled node integration, and the updater falls back to opening the GitHub release page when a verified installer path is unavailable. Workspace-scoped allowedRoots
validation prevents terminals from spawning outside approved directories.
src/
βββ agent/ # Embedded Pi coding-agent integration
β βββ main/ # Agent process manager, auth, marketplace, session files
β βββ renderer/ # Agent panel UI, chat thread, providers, model prefs
β βββ extensions/ # Bundled Cate plan-mode Pi extension
βββ main/ # Electron main process
β βββ ipc/ # IPC handlers (filesystem, git, terminal, menu, drag)
β βββ analytics # Update/app event analytics helpers
β βββ appContext # Shared main-process app state
β βββ featureFlags # Runtime feature flags
β βββ shellEnv # Login-shell environment capture
β βββ shellResolver # Shell path resolution with fallback chain
β βββ workspaceManager# Workspace lifecycle and session persistence
β βββ workspaceRoots # Allowed-roots registration and validation
β βββ windowRegistry # Window management (main, dock, detached)
β βββ webSecurity # Webview hardening and CSP
β βββ auto-updater # Update checks and release fetch
β βββ sentry # Sentry integration
β βββ store # electron-store persistence
β βββ jsonFileStore # JSON-backed file persistence helpers
β βββ menu # Application menu
β βββ sessionTrust # Session restore validation
βββ preload/ # Context-isolated bridge exposed to the renderer
βββ renderer/ # React 18 application
β βββ assets/ # Renderer images and asset declarations
β βββ canvas/ # Infinite canvas rendering, drag, resize, placement
β βββ docking/ # Tabs, splits, detached dock windows, drag/drop
β βββ drag/ # Cross-window drag-and-drop runtime and state
β βββ panels/ # Terminal, Editor, Browser, Document, Git, Explorer,
β β # Projects, Canvas panel registry/components
β βββ sidebar/ # Workspace, File Explorer, Source Control,
β β # Parallel Work, Project List, fileClipboard
β βββ dialogs/ # Saved layouts and post-update feedback dialogs
β βββ settings/ # Settings window sections and shortcut recorder
β βββ ui/ # CommandPalette, GlobalSearch, NodeSwitcher,
β β # WelcomePage, ShortcutHintOverlay
β βββ shells/ # Main, panel, and dock window shells
β βββ stores/ # Zustand stores (canvas, app, dock, settings,
β β # shortcut, status, ui, update, url prompt)
β βββ hooks/ # Custom React hooks (shortcuts, canvas interaction)
β βββ lib/ # Utilities (coordinates, routing, terminal registry)
β βββ workers/ # Monaco/editor workers
β βββ styles/ # Tailwind/global styles
βββ shared/ # IPC channel definitions and shared TypeScript types
Electron 41β desktop shell (Chromium + Node.js)** React 18**β UI framework with functional components and hooks** Zustand 5**β lightweight state management (no Redux/Context)** Monaco Editor 0.52**β code editing (VS Code's editor component)** xterm.js 5.5 + node-pty 1.0**β terminal emulator with WebGL renderer**@earendil-works/pi packages**β embedded coding-agent runtime, provider auth, and extension marketplace** pdf.js + mammoth**β native PDF and DOCX document rendering** react-markdown + remark-gfm**β Markdown preview with GitHub Flavored Markdown** simple-git 3.27**β git operations** chokidar 4.0**β filesystem watching**@phosphor-icons/react**β app iconography** Tailwind CSS 3.4**β styling** electron-vite 5.0**β bundling with HMR** electron-builder 26**β packaging and distribution** electron-updater 6.8**β update checks** Sentry Electron 5**β crash reporting and diagnostics** Playwright**β end-to-end integration tests** Vitest**β unit test runner
Cate is under active development. For a detailed history of what changed in each release and a sense of where things are headed, see the CHANGELOG.
See CONTRIBUTING.md for guidelines.