What is CodeRail?
CodeRail is a self-hosted remote control for Claude Code and Codex, designed for people who run coding agents on their own computers. It connects a browser or phone to linked machines so users can follow agent sessions, respond to approval requests, work in terminals, inspect Git changes, and open local development servers. A Docker-based server runs on the user’s domain, with a small bridge service installed on each computer.
CodeRail Features:
Agent Sessions: View Claude Code and Codex sessions from linked machines in one sidebar, including plans, tool calls, model details, and effort as they arrive.
Approval Requests: Receive push notifications when an agent wants to run a command or edit a file, then allow it once, always allow it, or deny it.
Persistent Terminals: Use shells running directly on a computer, with scrollback preserved so you can reconnect to the same terminal after closing a laptop or browser tab.
Git Changes: Inspect staged and unstaged changes in split or unified views, then commit, pull, or push on the computer that has the code.
Development Previews: Browse project files and open local development servers through your own domain, with access limited to people who can access that computer.
Self-Hosted Access: Run the server in one Docker container and install a bridge on each computer; users, computers, and history are stored in one data folder.
CodeRail Benefits:
Work From Anywhere: Check on coding sessions and respond to requests without walking back to the computer running the agent.
Keep Work Moving: Agents can continue working on machines that are not in front of you, while requests for approval remain visible remotely.
Review Before Shipping: Inspect code changes and handle Git operations in the same remote workspace, making it easier to check work before it leaves the machine.
Retain Control: Hosting the service yourself and enforcing folder limits on each bridge keeps access tied to your setup and its permitted directories.
Use Cases:
Check Agent Progress: Follow an active Claude Code or Codex task from a browser or phone while away from the computer where the session started.
Approve Remote Commands: Respond to a request to run a test command or edit a file from your browser or phone lock screen.
Reconnect to Tests: Leave a test run in a terminal on a laptop, then reconnect later to inspect its output and scrollback.
Review a Git Diff: Check staged and unstaged changes on the machine with the project, then commit the work or pull and push changes.

