# ThinkRail

Open-source agentic IDE from JetBrains, built around the pi coding agent. Every chat gets its own git worktree, and the agent keeps project intent in a graph of living SPEC.md files.

**Type:** tool
**Added:** 2026-10-29
**Source date:** 2026-10-18
**Author:** [JetBrains](https://github.com/JetBrains)
**Link:** https://thinkrail.ai/
**Repo:** https://github.com/JetBrains/thinkrail
**Topics:** AI Coding, Dev Tools, Open Source
**Tags:** agents, typescript

---

A lightweight IDE wrapped around [`pi`](https://pi.dev), which runs in-process and handles models, skills, compaction and cost. Open a git repo as a project and cut workspaces from it as `git worktree`s, each with its own branch, terminals and chats, so several agents work in parallel without touching your checkout. Around them: Monaco editor tabs, a files tree with live git marks, a diff view with anchored review comments you can send back to the chat, and a topbar that takes the branch through push, PR, CI checks and merge via your own `gh`.

Specs are the ground truth. A connected graph of `SPEC.md` files lives beside the code, and the agent reads, searches and maintains it through dedicated `spec_*` tools, so intent survives the session. It also reads your existing Agent Skills and `pi` config, connects MCP servers from `mcp.json` and asks before calls that aren't marked read-only, and asks you structured multiple-choice questions instead of guessing. The questions and diagram tools are published as plain `pi` packages too.

Sign in with JetBrains AI or bring any provider through `pi`; ThinkRail has no accounts of its own. It ships as a desktop app for macOS, Windows and Linux or as a `thinkrail` CLI that opens the same app in the browser. A JetBrains incubator project, Apache-2.0, currently v0.2.0.

---

## Links

- Directory entry: https://andrey-markin.com/directory/thinkrail
- All directory entries: https://andrey-markin.com/directory
- Contact: https://andrey-markin.com/#contact
