ThinkRail
An agentic IDE built around pi that isolates work in git worktrees, keeps a living spec graph, and improves as you use it.
- Source repo
- JetBrains/thinkrail
- Stars
- ★ 8.3k
- Last updated
- 7d ago
- FARS reviewed
- Nov 16, 2026
- License
- Apache-2.0
- Primary language
- TypeScript
- FA score
- 58/100 · Major gaps
At a glance
- How it runs
- Works with
- Universal · cross-platformOpenAI API
- Cost
- Free software; you pay for model usage
- Setup effort
- Low · running in minutes
- You'll need
- 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
- Source review
- 58/100 · Major gaps
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.
- 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.
- A team keeps product intent in
SPEC.mdfiles beside the code and wants an agent that reads, searches, and updates that spec graph as it changes code. - 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. - 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.
- 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.
- 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 | bashWindows (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 devHow do you use this agent?
Start ThinkRail with a repository path:
thinkrail ~/code/my-repoOn 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)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
Inherits capabilities of connected MCP servers; audit third-party servers before enabling.
What are this agent's strengths and limitations?
- Isolates every task in a
git worktreeworkspace 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.mdlives beside the code and the agent maintains it through dedicatedspec_*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
thinkrailCLI 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
piskill and extension ecosystem, can import skills from Claude/Codex, and extends agent-human collaboration with MCP servers, structured questions, Mermaid diagrams, and interactive mockups.
- 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-analyticsonly 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?
Why each dimension lost points
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.
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.
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.
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.
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.
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.
- 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.
FAQ
Do I need a JetBrains AI account to use ThinkRail?
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?
Can I run the desktop app on Linux?
libnotify-bin for notifications. Linux artifacts are unsigned.Can ThinkRail run fully offline?
Can I use it without a git repository?
Is ThinkRail free?
Is ThinkRail open source?
Is ThinkRail safe to use?
Is ThinkRail still maintained?
Who makes ThinkRail?
What is ThinkRail's official website?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.