Skip to content

Latest commit

 

History

2,338 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AgentRejoin

Rejoin your coding-agent sessions from anywhere

Find existing Claude Code and Codex conversations on your servers,
resume them from web or mobile, and keep working without starting over.

Open Web App · Website · 简体中文

AgentRejoin running on desktop and mobile

What AgentRejoin does

  • Find existing sessions - browse coding-agent conversations already stored on connected servers.
  • Resume in context - reopen a Claude Code session or Codex thread with its original working directory and history.
  • Continue from any device - read progress, reply, approve tools, and switch between web, mobile, and terminal.
  • Stay informed - receive notifications when an agent needs permission or finishes a task.
  • Keep conversations private - messages are end-to-end encrypted before they reach the relay.
  • Self-host when needed - run the relay and web app on your own infrastructure.

Quick start

Install the AgentRejoin CLI and connect this machine:

npm install -g agentrejoin
agentrejoin auth login
agentrejoin daemon start

Run an agent through the connected CLI:

agentrejoin claude
agentrejoin codex
agentrejoin gemini       # deprecated upstream; prefer agy
agentrejoin openclaw
agentrejoin agy          # Antigravity CLI
agentrejoin acp opencode # any supported ACP agent
Agent CLI Start and control remotely Discover existing local history
Claude Code Yes Yes
Codex Yes Yes
Gemini Yes Yes
OpenClaw Yes No
Antigravity (agy) Yes No
ACP-compatible agents Yes No

Existing-history discovery is currently available for Claude Code, Codex, and Gemini. The other integrations expose live sessions, not a stable on-disk history format.

Resume a known AgentRejoin session from the terminal:

agentrejoin resume <session-id>

For the remote control CLI:

npm install -g agentrejoin-agent
agentrejoin-agent auth login
agentrejoin-agent machines
agentrejoin-agent list
agentrejoin-agent resume <session-id>

How it works

The server daemon indexes supported coding-agent sessions on that machine. The web or mobile client requests a resume through the encrypted relay; the daemon then reattaches the underlying Claude Code session or Codex thread and streams new messages back to the client. The relay handles encrypted synchronization but cannot read conversation content.

Repository

  • packages/agentrejoin-app - Expo web and mobile client, plus the Tauri desktop shell
  • packages/agentrejoin-cli - coding-agent runtime and machine daemon
  • packages/agentrejoin-agent - remote session control CLI
  • packages/agentrejoin-server - encrypted synchronization relay
  • packages/agentrejoin-server-self-host - self-hosted relay and bundled web app

Development

pnpm install
pnpm --filter agentrejoin-app web

Run focused checks before submitting changes:

pnpm --filter agentrejoin-app typecheck
pnpm --filter agentrejoin typecheck
pnpm --filter agentrejoin-agent typecheck

License

GNU AGPL v3. Third-party copyright notices are preserved in NOTICE.

About

Resume Claude Code and Codex sessions from web or mobile, with end-to-end encryption and self-hosting.

Resources

Contributing

Stars

21 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages