JetBrains is developing an agent-based IDE: ThinkRail provides a dedicated Git worktree for each AI conversation, creating a "private" workspace.

JetBrains is developing an agent-based IDE: ThinkRail provides a dedicated Git worktree for each AI conversation, creating a "private" workspace.

2 weeks ago
duguying
20 views
Source: GitHub

JetBrains' incubated project, thinkrail, has reached the Trending section: a true IDE built around a pi coding agent, using git worktree to isolate concurrent sessions and SPEC.md to maintain project intent across sessions. It currently has 1,818 stars and is steadily gaining popularity.

Related tags

#GitHub#Trending#IDE#JetBrains

JetBrains Introduces Agentic IDE: ThinkRail Provides a Dedicated “Room” for Each AI Conversation

AI coding agents often find themselves crammed together in the same workspace, leading to common frustrations. JetBrains’ solution isn’t another terminal tool, but an entire “house.” Today’s trending entry on JetBrains/thinkrail is Agentic IDE, incubated by JetBrains, built around the open-source coding agent pi, currently with 1,818 stars.

Core Concept: One Conversation, One Worktree

ThinkRail’s most distinctive feature is isolating workspaces: it divides any Git repository into multiple Git worktrees, each with its own branches and directories, allowing agents to work in parallel without interfering with each other—merging useful branches while discarding the rest. It also supports mounting existing worktrees or working directly within the project directory.

This is complemented by a “shelving” mechanism: completed or paused workspaces are automatically moved into separate “settled” shelves for each project—PRs can be merged, closed, or archived after a week of inactivity, and they’ll reappear when you need them. The top bar displays the status of active branches relative to origin and PRs in real-time, allowing you to publish, push, or create PRs with a single action. When a PR is opened, you can also see CI checks and review conclusions, and failed or forked branches can be directly returned to the agents for processing.

Intent Persists Across Conversations

Another long-standing problem with agent tools is losing context when switching conversations. ThinkRail’s solution is called “living specifications”: a SPEC.md file is maintained alongside each code repository, which agents use to read, search, and maintain it through dedicated spec_* tools, ensuring that project intent persists across sessions. The workspace also presents an immutable tree view. Pre-built agent skills for other coding agents can be read and reused directly within the environment.

As a full IDE, ThinkRail also offers: a split Monaco editor workspace, a file tree with real-time Git change highlighting, a terminal, and documentation, all isolated by their respective active workspaces; the ability to anchor review comments on files and diffs, and easily send them as structured context into chat.

Parallel Conversations, Transparent Billing

Each worktree can support multiple concurrent pi sessions, each choosing its own model, and displaying real-time token usage and costs. Running sessions can be paused or redirected mid-stream; tasks can be delegated to sub-agents; shared plans are updated by agents and edited by you, allowing you to submit and review individual steps independently.

The next step, as previewed in the README, is complete extension support—allowing ThinkRail to generate tools based on your actual workflow. For developers accustomed to IntelliJ-based IDEs, this may be JetBrains’ first offering in the agentic era.

Repository: https://github.com/JetBrains/thinkrail

More News

Want to see more quality content?

Browse all news