JetBrains/thinkrail
A desktop and CLI IDE host that runs the 'pi' AI coding agent in-process with a Monaco editor and worktree-based workspaces.

ThinkRail is a JetBrains incubator project that wraps the ‘pi’ coding agent in a thin host application. It provides a mobile-first UI with a tabbed Monaco editor, git worktree workspaces, terminals, and concurrent chat sessions for the agent. The agent owns models, skills, compaction, and session state, while the app handles the workspace, editor, and wire protocol. It ships as a native desktop installer and a self-contained CLI that opens the same app in a browser.
Frequently asked
- What is JetBrains/thinkrail?
- A desktop and CLI IDE host that runs the 'pi' AI coding agent in-process with a Monaco editor and worktree-based workspaces.
- Is thinkrail open source?
- Yes — JetBrains/thinkrail is open source, released under the Apache-2.0 license.
- What language is thinkrail written in?
- JetBrains/thinkrail is primarily written in TypeScript.
- How popular is thinkrail?
- JetBrains/thinkrail has 500 stars on GitHub.
- Where can I find thinkrail?
- JetBrains/thinkrail is on GitHub at https://github.com/JetBrains/thinkrail.