Follows Claude Code logins
Reads the macOS Keychain or the Linux credentials file. Sessions switch on their next request.
- BBbuild-box now on gmailClaude Code, on its next request
- AVagent-vm now on gmailClaude Code, session kept running
Swap accounts on your laptop with cswap, /login or codex login. Sessions on your agent VM, build box and herdr remote switch on their next request.
Open source, MIT or Apache-2.0. Pairing takes one 10-minute ticket.
The main machine is the source; every other machine follows it. agentferry status on any of them shows the account, the token and the harnesses. See how pairing works
Pairing
agentferry pair prints a ticket that lasts 10 minutes and works once. Run agentferry follow with it on the other machine; from then on the two know each other by key.
Which account the main machine uses, until you swap.
SentFull scope, renewed while the main machine is up.
Hours, renewedOptional: one per account, so followers keep going with the laptop off.
If you add oneIt stays on the main machine.
Never sentEach machine keeps its own.
Never sentA refresh token rotates on every use. Two machines sharing one log each other out, and reuse can revoke the session everywhere. agentferry never sends it.
Reads the macOS Keychain or the Linux credentials file. Sessions switch on their next request.
Sends the ChatGPT login, never its refresh token. Live swapping is still being verified.
A file adapter, set up in settings, follows any harness whose login is a JSON file.
Built on Iroh: QUIC, an ed25519 key per install, encrypted end to end. A tailnet is one more path, and no VPN is needed. Relays only forward ciphertext.
Followers keep what they hold in files only your user can read.
Every message carries one; a follower ignores anything older.
agentferry unpair tells the machine to delete what it holds.
Revoke a standing token on claude.ai at any time.
Followers keep working on each account’s standing token. An account without one works only while the main machine is up.
No. Machines meet on the same network, across the internet or through a relay. A tailnet is one more path.
Yes: /agentferry status, /agentferry follow and a SessionStart hook, so no session starts on stale credentials.
Codex is built in and follows the ChatGPT login. Its live behaviour is still being verified.
agentferry service install sets it up as a launchd or systemd user service on each machine.
Check its terms on machines and concurrent sessions before you pair.