ThinkRail

An agentic IDE built around pi that isolates work in git worktrees, keeps a living spec graph, and improves as you use it.

Stars
★ 8.3k
Last updated
7d ago
FARS reviewed
Nov 16, 2026
License
Apache-2.0
Primary language
TypeScript

At a glance

How it runs
Desktop appCLI
Works with
Universal · cross-platformOpenAI API
Cost
Free software; you pay for model usage
Setup effort
Low · running in minutes
You'll need
gitBun 1.4.4Node.js >= 22.23.4model providerShell / CLINetwork accessLocal filesystemMCP Server
Typical use
A developer wants to try several AI-generated changes in parallel without touching the main checkout, so they create separate worktree workspaces and merge only the results they want.
Not a fit if
  • Users on macOS 13 or older Linux desktop environments
  • Developers who want a lightweight terminal-only agent, not an IDE
Website
thinkrail.ai ↗ set on GitHub
Maintenance
Commits in the last 30 dayslast commit 2026-11-16

What does this agent do, and when should you use it?

ThinkRail is a JetBrains incubator agentic IDE delivered as a desktop app and a thinkrail CLI that opens the same UI in a browser; both embed the same engine host. It is a thin host that runs the pi coding agent in-process: pi owns models, skills, compaction, cost, and session state, while ThinkRail owns workspace management, the GUI, and versioned contracts between engine and GUI. Each project can create isolated git worktree workspaces with their own branch and directory, and each workspace can run several concurrent chats while agents edit code and run terminals. A connected graph of SPEC.md files lives beside the code and is maintained through dedicated spec_* tools, while pi skills, imported Claude/Codex skills, and MCP servers extend what the agent can do. The stack includes a Bun.serve HTTP+WS engine in packages/server, typed contracts in packages/contracts, a React 19 + Zustand + Tailwind v4 GUI in apps/web, and the apps/cli and apps/desktop hosts. It is Apache-2.0 licensed but requires your own model provider (JetBrains AI or any provider supported by pi), and it collects basic usage events while always sending error reports.

After opening a git repository as a project, ThinkRail can create git worktree workspaces, each with its own branch and working directory, and run multiple concurrent chats per workspace with one in-process pi session per chat. The agent reads and writes files through a Monaco editor and file tree, runs commands in terminals, and returns diffs that can be reviewed, merged, or turned into a pull request from the topbar; once a GitHub PR is open, ThinkRail shows CI checks and review decisions and can mark it ready, merge, reopen, or delete the remote branch. A read-only Specs tree renders the project's SPEC.md graph, while the agent reads, searches, and maintains that graph through spec_* tools such as spec_search. Artifacts the agent produces land in the workspace's git-ignored .thinkrail/context/ folder and appear in the Artifacts tool newest first. ThinkRail loads pi skills, imports skills from Claude/Codex and other coding agents, connects MCP servers from mcp.json, and can call @thinkrail/pi-ask-user-question for structured multiple-choice questions or @thinkrail/pi-visualize for Mermaid diagrams and interactive mockups. Model access goes through pi auth to JetBrains AI or any provider, and custom OpenAI-compatible servers such as LiteLLM, sglang, vLLM, Ollama, LM Studio, or llama.cpp can be added in Settings → Providers → Custom servers.

  1. A developer wants to try several AI-generated changes in parallel without touching the main checkout, so they create separate worktree workspaces and merge only the results they want.
  2. A team keeps product intent in SPEC.md files beside the code and wants an agent that reads, searches, and updates that spec graph as it changes code.
  3. An engineer already has a library of pi, Claude, or Codex skills and wants one IDE that can load, import, and manage them per project.
  4. A company routes models through an internal LLM gateway or runs local models with Ollama, vLLM, LM Studio, or llama.cpp and needs an OpenAI-compatible custom server path.
  5. A maintainer wants to review the agent's diff, commits, PR, CI checks, and review decision end to end before merging or closing the work.
  6. A user wants to ask questions or draft a plan without a repository, then use Continue in workspace to turn the chat into a real workspace with a handoff summary.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • curl -fsSL https://raw.githubusercontent.com/JetBrains/thinkrail/main/install.sh | bash
Config files
mcp.json
Runtime
Bun 1.4.4 · Node.js 22.23.4+
Install notes cover
Windows · macOS · Linux

How do you install or deploy this agent?

Desktop: download the thinkrail-desktop-* asset for your platform from thinkrail.ai/#install or the GitHub Releases page. macOS 14+ uses the DMG, Windows x64 extracts the setup ZIP and runs the executable, and Linux x64/ARM64 extracts the setup tarball and runs installer. Linux desktop builds need glibc 2.38+, GTK 3, WebKitGTK 4.1, Ayatana AppIndicator 3, librsvg 2, and libnotify-bin. The CLI installer downloads the matching binary, verifies its SHA-256 checksum, and puts thinkrail on PATH; git must be on PATH and a model provider is required.

macOS / Linux (Windows under Git Bash also works):

curl -fsSL https://raw.githubusercontent.com/JetBrains/thinkrail/main/install.sh | bash

Windows (cmd or PowerShell):

powershell -c "irm https://raw.githubusercontent.com/JetBrains/thinkrail/main/install.ps1 | iex"

After installation, run thinkrail with an optional git repository path to open it as a project.

For development from source, install Bun 1.4.4 and Node.js >= 22.23.4:

git clone https://github.com/JetBrains/thinkrail.git
cd thinkrail
bun install
bun run dev

How do you use this agent?

Start ThinkRail with a repository path:

thinkrail ~/code/my-repo

On first launch, connect a model provider by signing in with JetBrains AI or using your own pi credentials; for local or company models, open Settings → Providers → Custom servers, enter the OpenAI-compatible server URL, and use Find models. Open a project, create a workspace, type a task in a chat or queue a follow-up, and watch tool steps in the center while diffs and the Specs tree appear on the right. Press ⌘K to search chats, messages, workspaces, files, specs, plans, and commands, and ⌘⇧F to search text inside workspace files. When the work is ready, publish the branch, create a PR from the topbar, and use CI checks and review status to merge, reopen, or delete the remote branch. Skills are enabled in Settings → Extensions or the project Skills dialog, and MCP servers are configured in Settings or mcp.json.

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

External MCP tool bridge

Inherits capabilities of connected MCP servers; audit third-party servers before enabling.

What are this agent's strengths and limitations?

Pros
  • Isolates every task in a git worktree workspace with its own branch and directory, plus a Settled shelf and PR lifecycle actions (publish, push, create, merge, reopen, delete remote branch), which supports parallel agent work.
  • The spec graph is operational, not static documentation: SPEC.md lives beside the code and the agent maintains it through dedicated spec_* tools, while the Specs tree and # palette search locate sections by natural-language questions.
  • Model access is flexible: sign in with JetBrains AI, use pi's own auth, or connect custom OpenAI-compatible servers such as LiteLLM, sglang, vLLM, Ollama, LM Studio, and llama.cpp.
  • The desktop app and thinkrail CLI share one engine, with the CLI opening the same UI in a browser; Monaco editor tabs, terminals, Markdown previews, and extensive keyboard navigation cover the full development loop.
  • It reuses the pi skill and extension ecosystem, can import skills from Claude/Codex, and extends agent-human collaboration with MCP servers, structured questions, Mermaid diagrams, and interactive mockups.
Limitations
  • You must bring a model provider: ThinkRail has no accounts of its own, so cost and availability depend on the JetBrains AI or third-party model service you choose.
  • Desktop platform requirements are explicit: macOS 14+, and Linux desktop needs glibc 2.38+, GTK 3, WebKitGTK 4.1, and other system libraries, so older systems are excluded.
  • Telemetry has hard boundaries: basic usage events are collected by default, error reports are always sent, and --no-analytics only turns off additional sharing, not error reporting.
  • It is a full IDE-like application rather than an embeddable library, and the README documents no headless server API, so scripted automation or embedding in another system needs extra work.
  • The project is a JetBrains incubator with a nightly channel, and signing/publishing details differ by platform, so production adoption should account for release maturity.

How does this agent compare with similar options?

The README positions ThinkRail as a rich host around pi and explicitly notes that its question, diagram, and preview tools are also published as standalone pi packages so a vanilla pi in the terminal gets the same tools. It also supports importing skills from Claude, Codex, and other coding agents, but does not claim full runtime compatibility with those products.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
ThinkRail This agent 58 · Major gaps Desktop appFree + model costs ★ 8.3k 7d ago TypeScript OpenAI API
zerostack 69 · Some gaps CLIFree + model costs ★ 1.8k 4d ago Rust OpenAI API · Claude API
DSCode Coding Agent 63 · Some gaps CLIFree + model costs ★ 369 1mo ago TypeScript OpenAI API · Claude API
Synara 57 · Major gaps Desktop appFree + model costs ★ 2.3k 1d ago TypeScript Codex · Claude Code

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Major gaps
58/ 100 5-point scale 2.9 / 5
Trust 17/29
Reliability 8/14
Adaptability 12/18
Convention 11/18
Effectiveness 7/13
Verifiability 3/8
Why each dimension lost points
Trust17 / 29 · 2.9/5

README states MCP non-read-only calls require in-chat confirmation, repo-defined servers stay off until approved, mockup scripts run in a no-network sandbox, analytics exclude prompts/code/credentials, and the installer verifies SHA-256 — supporting least_privilege, user_confirmation, data_flow_transparency and sensitive_data_handling at 2. However AGENTS.md admits pi runs in-process with accepted crash isolation loss, and error reports are sent unconditionally (classifier fields only), weakening external_effects to 1. Rollback is supported by worktree isolation, settled workspaces, uninstall --remove-data and update channels, giving 2. Source attribution is limited to README mentions of pi and @earendil-works packages with no NOTICE or third-party attribution list, deducted to 1.

Reliability8 / 14 · 2.9/5

AGENTS.md and README agree on architecture, id model, streaming semantics and agent_settled, giving self_consistency 2; dependencies are pinned exactly in the catalog with a check:deps gate, giving dependency_availability 2. Failure messages are only implied via CodedError and logger conventions with no user-facing error copy or recovery guidance, deducted to 1.

Adaptability12 / 18 · 3.3/5

README covers desktop/browser/CLI, localization, themes, custom model servers and project-less chats, giving audience_and_scenarios and environment_fit 2; choosing-a-workflow SKILL.md defines routing and non-applicable cases, giving capability_boundaries and trigger_precision 2. Platform limits (Linux glibc 2.38+, macOS not notarized) are only partially documented but not further deducted.

Convention11 / 18 · 3.1/5

Install notes are thorough (desktop/CLI, checksums, channels, uninstall), giving install_notes 3; LICENSE is full Apache-2.0, giving license 3. Information architecture is clear and naming is stable (@thinkrail scope, catalog pinning) at 2 each; changesets and release scripts support versioning, giving versioning_changelog 2. Examples and FAQ are only inline in README, giving examples_and_faq 1; known limitations are scattered in AGENTS.md rather than user docs, giving known_limitations 1; maintenance responsibility rests only on a JetBrains incubator badge and Discord with an unverified publisher, giving maintenance_responsibility 1.

Effectiveness7 / 13 · 2.7/5

README shows a complete workflow (workspaces, chat, diff, spec tree), giving output_usability and marginal_value 2; but e2e:full spends real tokens, analytics are on by default, and prompt-cache warming must be manually disabled, deducting cost_benefit to 1.

Verifiability3 / 8 · 1.9/5

README capability claims mostly lack corresponding code or test references, giving claim_traceability 1; the sampled SKILL.md and source only partially corroborate each other, giving cross_source_corroboration 1; docs blend philosophy and fact without marking inference, giving fact_inference_separation 1.

Risks and how to mitigate them
  • Publisher identity is unverified; the JetBrains badge and branding in README are not evidence of trustworthiness.
  • AGENTS.md admits pi runs in-process and fatal faults can take down the host, with no crash isolation.
  • Error reports are sent unconditionally and analytics are on by default; users must opt out via --no-analytics or Settings.
  • The installer pipes a remote script through curl | bash; SHA-256 is verified but the script should still be reviewed.
  • README capability claims are largely narrative with little traceable code or test reference.
Evidence confidence: Low Reviewed Nov 16, 2026 Reviewed revision f1e459861c45
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/thinkrail.svg)](https://followagents.com/en/agents/thinkrail)
<a href="https://followagents.com/en/agents/thinkrail"><img src="https://followagents.com/badge/thinkrail.svg" alt="FARS review"></a>

FAQ

Do I need a JetBrains AI account to use ThinkRail?
No. You can sign in with JetBrains AI or connect any provider through pi's own auth; ThinkRail has no accounts of its own. For local or company models, add an OpenAI-compatible server in Settings → Providers → Custom servers.
Does it send my prompts, code, or file paths to analytics?
Usage analytics never include prompts, code, files, credentials, or account identity. Error reports include the error type, code, and where in ThinkRail's own code it happened, but never error messages, file paths, names, URLs, or project content. Additional usage sharing can be turned off during first-run setup or in Settings → Privacy.
Can I run the desktop app on Linux?
Yes, with caveats: official desktop builds require glibc 2.38+, GTK 3, WebKitGTK 4.1, Ayatana AppIndicator 3, and librsvg 2, with Ubuntu 24.04 or newer recommended, plus libnotify-bin for notifications. Linux artifacts are unsigned.
Can ThinkRail run fully offline?
You can point it at a local or intranet OpenAI-compatible server, but ThinkRail still sends error reports, checks for updates, and collects basic usage events by default. Teams that require fully offline operation and no telemetry should not adopt it as-is.
Can I use it without a git repository?
Yes. Chats support ask, plan, and draft sessions without a project, each with its own scratch folder. When a chat turns into real work, Continue in workspace writes a handoff summary and starts a new workspace chat; Start a new project can also create an empty git repository.
Is ThinkRail free?
The software is free, but ThinkRail calls an AI model, and you pay that model provider for usage (or run a local model).
Is ThinkRail open source?
Yes. The source code is on GitHub (JetBrains/thinkrail) under the Apache-2.0 licence.
Is ThinkRail safe to use?
FollowAgents' FARS review (Nov 16, 2026) scored ThinkRail 17/29 on trust and safety. None of the eight safety controls the review checks for was missing outright.
Is ThinkRail still maintained?
Yes. The latest commit on GitHub is from 2026-11-16, within the last 30 days.
Who makes ThinkRail?
ThinkRail is published on GitHub by the account JetBrains. FollowAgents has not verified which person or company is behind that account.
What is ThinkRail's official website?
The project's GitHub repository lists https://thinkrail.ai/ as its website. That link is set by the repository owner; the source code itself is on GitHub (JetBrains/thinkrail).
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts