Prerequisites
Before you begin, make sure you have:
- Bun v1.3.5 or later (the JavaScript runtime CodePiper is built on)
- tmux v3.0 or later (provides the terminal sessions your agents run inside)
- At least one AI coding CLI: Claude Code or Codex
Check everything with a single command:
codepiper doctorInstall
npm i -g codepiperOr install from source:
git clone https://github.com/g3ortega/codepiper.gitcd codepiperbun installbun linkStart the daemon
The daemon is the long-running process that manages sessions, stores data, and serves the web dashboard.
codepiper daemon --webOn first run, you’ll see output like this:
✓ Daemon started on /tmp/codepiper.sock✓ Web dashboard at http://127.0.0.1:3000✓ Bootstrap password: k8f2-mN9x-pL3qSave the bootstrap password. You’ll need it to log in for the first time.
Complete onboarding
Open http://localhost:3000 in your browser. You’ll be prompted to:
- Enter the bootstrap password printed in your terminal
- Set a permanent password for future logins
- Set up MFA: scan the QR code with any authenticator app (Google Authenticator, 1Password, etc.) and enter the verification code
MFA is mandatory. Every session and secret is stored locally on your machine, and MFA ensures only you can access them.
Create your first session
From the web dashboard
- Go to Sessions in the sidebar
- Click Create Session
- Choose your provider (e.g. Claude Code)
- Set the working directory to your project (e.g.
~/projects/my-app) - Click Create
From the CLI
codepiper start -p claude-code -d ~/projects/my-appYou’ll get back a session ID:
✓ Session a1b2c3d4 started (claude-code)Interact with your session
Web terminal. Click on the session in the dashboard to open a live terminal view. Type directly, paste images, and watch your agent work in real time.
CLI attach. Jump into the session’s terminal from any shell:
codepiper attach a1b2c3d4Send a prompt. Fire off a message without attaching:
codepiper send a1b2c3d4 "What is this project and how is it structured?"Stop or resume
codepiper stop a1b2c3d4 # graceful stopcodepiper start --resume a1b2c3d4 # pick up where you left offSessions persist across daemon restarts. Stop your laptop, reboot, restart the daemon. Your sessions are still there.
What’s next
- Installation: Platform-specific setup, system requirements, and troubleshooting
- Your First Session: Deep dive into the full session lifecycle
- Web Dashboard: Page-by-page walkthrough, themes, mobile PWA
- Architecture: How the pieces fit together under the hood
- Multi-Device Setup: Access your sessions from any device, anywhere