SwitchStation Rail · free and open source
See which AI agent needs you.
Get back to it in one click.
Rail is a small menu bar app for macOS. A thin rail at the edge of your screen shows which Claude Code, Codex and Antigravity sessions are working, done or waiting for you, across every project, IDE and terminal.
Download Rail View the source on GitHub
macOS 14 or later · Apple silicon · Signed by SSS Flow and notarized by Apple · Apache-2.0

1 waiting · 2 done · 2 workingEvery project, one icon each.
video-editor · back in one click

Free and open source. No account, no limits.
Rail is free, with every feature and no limit on projects or sessions. Its source code is public under the Apache-2.0 license: read it, build it yourself, or help improve it.
No network code
The app, the hook bridge and the core contain no networking code, and the export that produces the public repository checks for it. Links in the app open in your browser only when you click them.
No prompts kept
The hook keeps only the session id, the working folder, the event name and a few counts. Prompts, replies, transcripts and tool output are dropped and never stored or sent.
Check it yourself
Every official build comes from the public source tree. The repository records the source commit it was made from, and Settings › About tells an official build from one you built yourself.
How it works
- Your agent reports. Rail adds small lifecycle hooks to Claude Code, Codex or Antigravity. On each event (a prompt, a permission request, the end of a turn), the agent runs Rail's hook bridge.
- Rail shows the state. The hook sends one small packet to Rail over a local socket. Rail shows each session as Waiting for you, Done, Working or Idle. It shows only what the agent reports: no AI summaries, no guessing.
- You click, Rail takes you back. Rail finds the app that runs each agent and brings that exact window to the front: a terminal app, VS Code, Cursor or another editor. No plugin per editor.
The hook always exits successfully and prints nothing, so it never blocks or changes your agent.


Works with your agents
| Agent | Support | What Rail sees |
|---|---|---|
| Claude Code | Full | working, done, waiting for you, background tasks |
| OpenAI Codex CLI | Full | working, done, waiting for you |
| Antigravity | Partial | working, done (no hook for approval requests yet) |
Claude Code and Codex run where you already work: Terminal, iTerm2, Ghostty, Warp, VS Code, Cursor, Antigravity or SwitchStation Workspace. Cursor support is planned. Each agent plugs in through an adapter, so new agents can be added by anyone.
Install
Official build
Download SwitchStation-Rail.dmg, open it and drag Rail to Applications. Then choose Integrations… in the menu bar and install the hooks for the agents you use.
Build from source
git clone https://github.com/sssflow/switchstation-rail-mac.git
cd switchstation-rail-mac
swift build && swift test
scripts/bundle.sh
scripts/install.sh
Swift 6.0 or later, no third-party dependencies.
Rail asks for Accessibility permission only to bring the right window to the front. Without it, a click opens the app only. Notifications are optional.
Optional · SwitchStation Workspace
Works on its own.
Better with Workspace.
Rail needs nothing else. SwitchStation Workspace is a separate app with one light window per project, where you run your agents and act on what Rail shows you.
- Exact column. Click a Workspace session on Rail and you land in its terminal column, ready to type.
- One window per project. Files, previews and a deck of terminals for Claude, Codex and dev servers.
- Prompts ready to send. Write the next prompt while the agent works, then send it to the right column.
- Rail updates. Workspace can update Rail for you. Rail itself downloads nothing.
About Workspace Free plan included.

Questions
Is Rail really free?
Yes. Every feature, no limit on projects or sessions, no account. Licenses and purchases exist only in SwitchStation Workspace.
Does Rail send any data?
No. Rail has no network code and never connects to the internet. The hook keeps only the session id, the working folder, the event name and a few counts, on your Mac. See PRIVACY.md.
How do I update Rail?
Download the new version from this page. If you use SwitchStation Workspace, it can update Rail for you: choose Update Rail in the Rail menu.
Can I add support for another agent?
Yes. Agents plug in through an adapter. See SUPPORT.md and CONTRIBUTING.md in the repository, and open an issue to discuss it first.
How do I remove it?
Open Integrations… from the Rail menu bar icon and uninstall each integration, then move the app to the Trash.
Try Rail today.
Enjoying Rail? Read the field guide Stop Babysitting Your Agents - pay what you want, including $0.