JetBrains

thinkrail

ThinkRail is JetBrains' agentic IDE built around the pi coding agent, combining isolated git-worktree workspaces, a Monaco workbench, a SPEC.md knowledge graph and a GitHub PR flow so parallel AI work stays organized.

v0.5.0-nightly.14
Published at
21h ago
8,464
Stars
394
Download
Synced at
8h ago

Latest release

v0.5.0-nightly.14Nov 26, 2026, 06:54 AMPre-release
Downloads slow? Switch the source anytime above

README

Project Overview

ThinkRail is incubated by JetBrains and built around the pi coding agent. Each task runs in its own git worktree workspace with a separate branch and directory, while a connected graph of SPEC.md files carries project intent into later sessions. The desktop app and the thinkrail CLI share the same engine host, app state lives under ~/.thinkrail, and the source is open under Apache-2.0.

Item Value
Platform macOS, Windows, Linux, plus a browser mode
Language TypeScript
Agent engine The pi coding agent (npm package)
Project knowledge SPEC.md graph maintained through spec_* tools
License Apache-2.0

Every task runs in its own worktree, and living specs keep the project's intent in reach.

Key Features

  • Isolated workspaces: any git repo can be cut into multiple git worktree workspaces with their own branches and directories, settling onto a project shelf when done
  • Workbench: splittable Monaco editor tabs, a Files tree, a Changed view, terminals and documents, all scoped to the active workspace
  • Concurrent sessions: several pi sessions per workspace, each with its own model and live token and cost readout
  • Spec graph: SPEC.md files form a connected graph that the agent reads, searches and maintains through dedicated spec_* tools
  • PR flow: the topbar shows the branch against origin plus CI checks and review decisions, and can hand failing checks or diverged branches to the agent
  • Command palette: ⌘K or a double Shift press finds chats, workspaces and projects and runs app commands
  • Extensions and skills: existing Agent Skills are read in place, and Settings → Extensions installs pi packages from npm, git or a local folder
  • MCP and custom models: connect servers from mcp.json; Custom servers accept OpenAI-compatible endpoints such as LiteLLM, vLLM and Ollama
  • Languages and themes: English, Japanese, Russian, Simplified Chinese and Spanish are built in, with dark, light, minimal and high-contrast themes

Interface and Workflow

  • Projects pane: lists workspaces per project, with finished or dormant ones settled onto a shelf
  • Topbar: shows where the branch stands against origin and offers the next step: publish, push or open a PR
  • Specs tool: renders the spec tree read-only and shows the selected spec in the editor
  • Settings sections: Updates, Privacy, Extensions, Providers, Appearance, Environment and Language are separate pages
  • Extensible folders: a translated en.json in ~/.thinkrail/locales applies on save, *.theme.json files go in ~/.thinkrail/themes, and fonts go in ~/.thinkrail/fonts

Target Audience

  • Developers running several AI tasks in parallel
  • Existing users of the pi coding agent
  • Teams that drive development from specification documents
  • Enterprises that connect their own model gateways

Quick Start

Desktop

  1. Download the thinkrail-desktop-* package for your platform
  2. On macOS 14+ choose thinkrail-desktop-darwin-arm64.dmg or thinkrail-desktop-darwin-x64.dmg
  3. On Linux extract the setup tarball and run its installer; on Windows extract the setup ZIP and run the executable in place
  4. Connect JetBrains AI or your own provider on first launch, then create a project or clone a repository

Command Line

  1. Run install.sh from the repository (or install.ps1 on Windows); it verifies the SHA-256 checksum and puts thinkrail on PATH
  2. Open a repo: thinkrail ~/code/my-repo
  3. Install nightly: append --channel nightly, or set THINKRAIL_CHANNEL on Windows
  4. Update or uninstall: thinkrail update, thinkrail uninstall (add --remove-data to delete ~/.thinkrail)

System Requirements

Item Requirement
OS macOS 14+, Windows x64, Linux x64/ARM64
Linux libraries glibc 2.38+, GTK 3, WebKitGTK 4.1, Ayatana AppIndicator 3 and librsvg 2 (Ubuntu 24.04 or newer)
Required tool git on PATH
Model source JetBrains AI sign-in, or any provider supported by pi
Browser mode Launched by the thinkrail CLI on the same engine host

Notes

  • Linux packages: install libgtk-3-0, libwebkit2gtk-4.1-0, libayatana-appindicator3-1 and librsvg2-2
  • State directory: app state lives in ~/.thinkrail; uninstall keeps it unless --remove-data is passed
  • pi config location: read from ~/.pi/agent by default; Settings → Environment can change it, but PI_CODING_AGENT_DIR at launch wins
  • Self-update precondition: the updater works only for packages carrying a valid HTTPS feed identity, so older installs need one manual install first
  • Signing differences: the Windows CLI and desktop setup are signed by JetBrains, the macOS CLI is signed but not notarized, and Linux artifacts are unsigned

Release history

Sort