# Thinkrail (JetBrains)

> ThinkRail (about 2.3k stars; stable v0.2.0 on 18 October 2026, nightlies such as v0.3.0-nightly.6) is an early JetBrains incubator project. It wraps the open-source pi coding agent in a desktop or browser IDE: each task gets its own git-worktree workspace, with Monaco editor tabs, terminals, diffs, several pi chats, SPEC.md files the agent maintains, Agent Skills, MCP servers and a GitHub PR flow via gh. Models come from JetBrains AI or any pi provider, including local models. No tab autocomplete or cloud agents; usage events and error reports are always sent.

- Repository: https://github.com/JetBrains/thinkrail
- Official docs: https://github.com/JetBrains/thinkrail#readme
- Checked: 2026-10-26

## What it replaces
- Cursor: Code in an AI-first editor, Let an agent plan and edit across many files, Run terminal commands and tests from the agent, Connect tools and data through MCP (partial). An editor with a pi agent that edits files, runs commands and uses MCP in isolated worktrees; no tab autocomplete or cloud background agents, and still early nightly software.
  - Use it instead of paying for Cursor? Personal use: Yes. Business: Yes.

## Facts, with sources

| Question | Status | Answer | Source | Checked |
|---|---|---|---|---|
| Runs on my machine? | Confirmed | Yes, a desktop app or a local CLI host that opens the same app in your browser; models are usually hosted unless you set up a local one in pi | https://github.com/JetBrains/thinkrail#readme | 2026-10-26 |
| Code licence | Confirmed | Apache-2.0; the bundled pi agent is MIT | https://github.com/JetBrains/thinkrail/blob/main/LICENSE | 2026-10-26 |
| Model weights licence | Confirmed | No separate model weights; uses JetBrains AI or the model providers pi connects to | https://github.com/JetBrains/thinkrail#readme | 2026-10-26 |
| Commercial use | Confirmed | Allowed under Apache-2.0 | https://github.com/JetBrains/thinkrail/blob/main/LICENSE | 2026-10-26 |
| Paid services needed? | Partial | The app is free; you need a model provider, such as JetBrains AI, an API key or subscription (Anthropic, OpenAI, Gemini, OpenRouter and many more), or a local model via llama.cpp, Ollama or LM Studio configured in pi | https://github.com/earendil-works/pi/blob/main/packages/coding-agent/docs/models.md | 2026-10-26 |
| Hardware | Partial | No hardware minimum documented; needs git on PATH. Linux desktop builds need glibc 2.38+ with GTK 3 and WebKitGTK 4.1 (Ubuntu 24.04 or newer) | https://github.com/JetBrains/thinkrail#desktop | 2026-10-26 |
| Operating systems | Confirmed | Release assets for macOS Apple Silicon (DMG and CLI), Windows x64 (setup ZIP and .exe CLI) and Linux x64/ARM64 (tarball and CLI); no Intel Mac build | https://github.com/JetBrains/thinkrail#desktop | 2026-10-26 |
| Setup effort | Confirmed | Easy; download the desktop installer or run the one-line install script, then sign in to JetBrains AI or a pi provider | https://github.com/JetBrains/thinkrail#command-line | 2026-10-26 |

GitHub: 8507 stars, 545 forks, last push 2026-12-01, archived: no.

## Alternatives to Thinkrail (JetBrains)
- [Zed](https://repoquarry.dev/projects/zed.md): Fast open-source code editor with a built-in AI agent, MCP support and edit prediction; use your own API keys, Ollama or LM Studio, or Zed's paid models.
- [OpenAI Codex CLI](https://repoquarry.dev/projects/codex-cli.md): OpenAI's open-source terminal coding agent; sign in with a ChatGPT plan or API key, or run local models through Ollama or LM Studio.
- [Gemini CLI](https://repoquarry.dev/projects/gemini-cli.md): Google's open-source terminal coding agent for Gemini models; since June 2026 it needs a paid Gemini API key or a Code Assist licence.
- [OpenHands](https://repoquarry.dev/projects/openhands.md): Self-hosted control center and CLI for AI coding agents, running OpenHands or Claude Code and Codex with any model, including local LLMs.
- [Cline](https://repoquarry.dev/projects/cline.md): Open-source coding agent for VS Code, JetBrains, the terminal and a desktop app, using your own model keys or local models via Ollama or LM Studio.
- [goose](https://repoquarry.dev/projects/goose.md): Open-source AI agent with a desktop app and CLI that runs on your machine, connects to MCP extensions and works with any model, including Ollama.
---
Source: RepoQuarry (https://repoquarry.dev/projects/thinkrail). Data licence: CC BY 4.0. Quotes are from project documentation and belong to their authors.
