JetBrains builds a thin shell around someone else's agent
ThinkRail is a mobile-first IDE whose entire engine is the pi coding agent, run in-process and scoped to git worktrees.

What it does
ThinkRail is a JetBrains incubator project: a desktop and mobile client for the pi coding agent. It’s deliberately a thin host — pi owns models, skills, compaction, cost, and session state, while the app owns the workspace, editor, and the wire protocol between them. Open a git repo, spin up workspaces as git worktrees (each with its own branch and cwd), and work across a tabbed Monaco editor, a git Changes view, terminals, a read-only spec-graph viewer, and multiple concurrent pi chat sessions, all scoped to the active worktree.
The interesting bit
The architecture is three cleanly separated rings: an engine host (packages/server), a types-only versioned protocol (packages/contracts), and a mobile-first React UI that depends only on the contracts — never the server — which is what lets the UI ship independently and dial into a host over the network. The repo itself is developed spec-first, with a co-located SPEC.md per module and a rule that boundary changes update the spec in the same commit.
Key highlights
- Runs
pifully in-process via@earendil-works/pi-coding-agent, oneAgentSessionper tab - Ships as a native desktop installer (Electrobun) or a self-contained CLI that opens the same app in a browser
- Mobile-first UI: React 19, Zustand, Tailwind v4
- Releases published with
SHA256SUMS; Windows CLI and setup executable are JetBrains-signed - Includes a portable
piextension (packages/spec-graph) withspec_*tools and a skill
Caveats
- macOS CLI is signed but not notarized; older DMGs may be blocked by Gatekeeper, and Linux artifacts are unsigned
- No Intel macOS desktop build (Electrobun limitation), and no Intel macOS prebuilt CLI
- Basic usage analytics (launches, chats, provider connections) to PostHog EU are always on in desktop, CLI, and source runs
- Requires
giton PATH and an authenticatedpiprovider — it runs against your real credentials
Verdict
Worth a look if you want a lightweight, worktree-centric front end for pi that follows you onto a phone or tablet. If you’re not already invested in pi as your agent, there’s not much here for you — the app is honest about being glue, and that’s its charm.
Frequently asked
- What is JetBrains/thinkrail?
- ThinkRail is a mobile-first IDE whose entire engine is the pi coding agent, run in-process and scoped to git worktrees.
- Is thinkrail open source?
- Yes — JetBrains/thinkrail is open source, released under the Apache-2.0 license.
- What language is thinkrail written in?
- JetBrains/thinkrail is primarily written in TypeScript.
- How popular is thinkrail?
- JetBrains/thinkrail has 8.4k stars on GitHub and is currently cooling off.
- Where can I find thinkrail?
- JetBrains/thinkrail is on GitHub at https://github.com/JetBrains/thinkrail.