# Repository Briefing: runloom/pier
> Source: https://repoforai.com/repo/runloom/pier (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/runloom/pier
- **Official Docs / Website**: https://pier.codes
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: TypeScript
- **License**: AGPL-3.0
- **Engineering Health**: A (82/100 · Maintenance 35/35 · Adoption 16/25 · Releases 20/20 · License 11/20)
- **Latest Release**: v0.1.66 (2026-11-26) — https://github.com/runloom/pier/releases
- **Review Snapshot**: 2026-12-03
- **Deployment / Stack Signals**: MCP, CLI
- **Momentum**: 927 ★ total (+0 24h / +47 7d) · 78 forks
- **Topics**: `ai`, `claude-code`, `codex`, `developer-tools`, `electron`, `ghostty`, `git`, `macos`, `runloom`, `terminal`
- **When to Use**: Best for: Mac developers running several CLI coding agents across Git worktrees who want to see which session needs attention and review changes without leaving the workspace. Skip if: You need Linux or Windows desktop support, remote agent control, automatic scheduling, mature Canvas dashboards, or a replacement for a full IDE.

## Overview
```text
### Architecture & Core Mechanics
Pier is a TypeScript/Electron desktop workbench organized around native terminal sessions, not a replacement agent runtime. A project folder or Git worktree provides the working directory; the existing agent CLI runs there, and Pier surfaces its session state alongside the editor and Git views. The workspace uses Dockview panels, with CodeMirror dependencies for editing and a `build:libghostty` script in the native build toolchain.

The `pier` binary is a separate local control entry point: it can locate windows and panels, open terminals, send input, and query agents and worktrees. Plugins currently come from the built-in set or an official channel with signing, verification, and version management. The local command interface is documented; the presence of `.mcp.json` does not establish an external MCP service or a general-purpose extension protocol.

### Key Capabilities & Differentiators
Pier's main workflow is to run Claude Code, Codex, OpenCode, or another CLI in a project or worktree and monitor session states from one place. A running, blocked-on-user, or failed session can be opened directly in its original terminal. Running terminals remain usable across a UI reload. Separate Git worktrees give concurrent tasks distinct working directories, but they are not a security sandbox.

The workspace combines file editing and previews for Markdown, images, and other supported project files with diff review, file- or hunk-level staging, and Git operations such as commits, pushes, branch changes, and stashing. Tabs, splits, and floating panels are saved automatically. Canvas can already store pages per project, but dashboards and run diagrams composed from terminals and session status are still in development.

### Trade-offs & Limitations
Compared with separate terminal windows or a terminal multiplexer, Pier trades a narrower, terminal-only interface for session status, Git review, and lightweight editing in one persistent layout. Compared with adopting a chat-first coding environment, it preserves the agent CLI and account setup you already use. It is better evaluated as a companion to a full IDE than as a substitute for deep code navigation or refactoring.

The main constraints are macOS-only desktop support, local-only CLI control, a limited plugin channel, and no built-in task ledger or automatic scheduler. Evaluate overhead with your normal mix of concurrent agents and builds rather than assuming an Electron workspace costs the same as a terminal-only setup. Source is AGPL-3.0-only; closed-source redistribution, white-labeling, enterprise support, or rights outside the AGPL require a separate commercial agreement.

### Hardware & Deployment Guide
The simplest installation path is a GitHub Releases build for Apple Silicon or Intel macOS. Open the app and choose a project folder; the release attempts to make `pier` available on `PATH` where writable. The CLI can also be installed from terminal settings or invoked at `/Applications/Pier.app/Contents/Resources/bin/pier`. The packaged CLI starts the desktop app if needed, then controls it locally. Agent authentication and backend connectivity remain with the individual CLI tools.

A source checkout needs Node.js `^24.15.0`, pnpm `>=11.12.0` (pinned to `11.18.0`), Xcode Command Line Tools, Homebrew, and `zig@0.15`. Run `pnpm bootstrap` followed by `pnpm dev`; for an existing Git worktree, run `pnpm setup:worktree` on first use. The listed release history advances from `v0.1.64` to `v0.1.66`, but without release notes there is no basis for assigning specific changes to those versions.
```

## Key Capabilities
```text
- Terminal lifecycle: Running terminals remain usable after a UI reload; this does not imply recovery after an app quit or machine restart.
- Agent attention: Running, needs-attention, and error states link back to the original terminal instead of introducing a separate chat session.
- Worktree workflow: Open terminals in separate Git worktrees so concurrent tasks edit different working directories.
- Git review: Inspect diffs and stage by file or hunk; use the command palette for commits, pushes, branch operations, and stashes.
- Local automation: `pier . --json` opens the current project; the CLI can also target panels and send text or keystrokes to terminals.
- Extension boundary: Built-in and officially distributed plugins are supported, with signing, verification, and version management for the official channel.
```

## Quick Start / Clone
```bash
git clone https://github.com/runloom/pier.git
cd pier
pnpm bootstrap
pnpm dev
```
