# Repository Briefing: 0-AI-UG/cate
> Source: https://repoforai.com/repo/0-AI-UG/cate (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/0-AI-UG/cate
- **Official Docs / Website**: https://cate.cero-ai.com
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: TypeScript
- **License**: MIT
- **Engineering Health**: A+ (90/100 · Maintenance 35/35 · Adoption 15/25 · Releases 20/20 · License 20/20)
- **Latest Release**: v2.1.3 (2026-11-28) — https://github.com/0-AI-UG/cate/releases
- **Review Snapshot**: 2026-12-01
- **Deployment / Stack Signals**: CLI
- **Momentum**: 2,267 ★ total (+3 24h / +11 7d) · 147 forks
- **When to Use**: Best for: Developers and small teams juggling several CLI agents across Git worktrees who want review and trusted cross-device control of the same running workspace. Skip if: You need read-only collaborator roles, remote startup of stopped workspaces, or just a lightweight editor and a few shell sessions.

## Overview
```text
### Architecture & Core Mechanics
Cate is a TypeScript/Electron desktop IDE backed by a per-workspace background runtime. Opening a folder defines a workspace without a project configuration file. Terminals, Git, search, and agents execute where that folder lives: on the local machine, an SSH host, or in WSL. Paired clients share live panels, editor buffers, agent conversations, and canvas layouts rather than merely exchanging files.

The dependency manifest includes React and Zustand for UI and state, Monaco and xterm for editing and terminals, and Yjs with y-monaco and y-protocols for collaborative editing. The in-terminal `cate` CLI is an automation surface: it can open files, manage panels, drive a browser panel, read another terminal, and start or prompt an agent. The evidenced integration is through terminals and the CLI; an MCP server interface or plugin API is not established.

### Key Capabilities & Differentiators
Cate makes parallel work visible by pairing Git worktree creation with colored canvas regions. A worktree can start from a local branch, a remote branch, or an open PR. Supported agent CLIs expose turn boundaries and permission prompts, which Cate turns into panel status and notifications. Claude Code and Codex can run in Cate terminals alongside other agent CLIs, but terminal compatibility alone does not guarantee status integration. On reopening a project, Cate restores scrollback and reattaches agents using their resume commands.

The workspace supports floating, docked, and detached panels for terminals, Monaco editors, browsers, and PDF, image, or DOCX viewers, plus nested canvases. Review tools include multi-repo Git views, side-by-side diffs, and ripgrep search. A shared runtime maintains prompt queues with file and photo attachments, while the usage view separates token usage and API-equivalent cost by time, agent, and model and shows Claude Code and Codex subscription limits.

### Trade-offs & Limitations
Compared with a tabbed editor and a standalone terminal multiplexer, Cate brings branch setup, agent status, review, and spatial layout into one workspace. That is most useful when several agent sessions overlap; for a single branch and shell, the extra runtime, panels, and lifecycle controls may not pay off. Git worktrees separate working directories and branches, not security permissions or host resources. Agent turn reporting and resumption also depend on the particular CLI integration.

Pairing is a full-access trust decision, not a read-only review link: a paired device can control files, terminals, and agents. Revocation disconnects a device immediately, and end-to-end encryption protects the connection, but neither provides granular permissions for paired users. The desktop’s resource needs depend on the mix of Electron panels, while build and agent concurrency drive the workspace host’s needs. MIT licensing covers Cate, not external agent services or their subscriptions.

### Hardware & Deployment Guide
For daily use, install a prebuilt desktop release: DMG or ZIP on macOS (arm64 or x64), NSIS or ZIP on Windows (x64), and AppImage, DEB, or tar.gz on Linux (x64). macOS also has a Homebrew cask. Source development is gated by the package’s Node engine range, `>=22.16 <23`. Opening an SSH or WSL folder installs the workspace runtime there. Devices can pair over the same network or through Cate Connect with end-to-end encryption.

Configure workspace availability before relying on unattended access: closing the desktop can stop the runtime, let existing work finish before stopping, or leave it running. A paired client can reconnect but cannot start a stopped workspace. Client and runtime must use the same Cate version; older runtimes update automatically when idle or ask first if work is active. Compatibility version remained 2 across v2.1.1–v2.1.3, but does not replace the version-matching requirement. Those patches addressed Git-related workspace crashes, paginated Agent Review diffs, and fixed mouse input after terminal reattachment, respectively.
```

## Key Capabilities
```text
- Runtime locality: Terminals, Git, search, and agents execute on the machine holding the workspace files, including SSH and WSL environments.
- Branch separation: Create a branch and worktree from a local branch, remote branch, or open PR, then give it a distinct area on the canvas.
- Agent lifecycle: Supported CLIs surface running, waiting, and finished states; reopening restores terminal scrollback and reattaches agents with their resume commands.
- Shared prompt queues: The runtime holds per-panel queues, including pending and failed prompts; users can send file or photo attachments from the app or CLI.
- Review workflow: Agent Review in v2.1.2 groups edits by terminal and file, pages large diffs, and preserves the terminal filter when opened from a terminal.
- Device access: Pair by QR or code and connect over the same network or via Cate Connect; each paired device has full workspace access and can be revoked.
```

## Quick Start / Clone
```bash
brew install --cask cate
```
