All plugins

ctx_handover

Close the lid, the session goes on: ctx_handover moves a running Hermes session, with the conversation and the project folder it works in, from one machine you own to another and back. /handover to server sends it after work, /handover take brings it to the laptop, and --continue "task" lets the agent keep working on the server if you allow it there; without a connection, /handover export writes one file you carry over. The conversation is copied message by message and checked with hashes on both sides, git projects keep branches, stash and uncommitted work, nothing at the destination is overwritten, and the session on the machine you left is retired only after the other one confirms. Works without ctx. Not the core /handoff. Disclosure — talks only to the gateways you pair (HTTPS; plain HTTP only on loopback or with --allow-insecure); no third-party services, telemetry or update checks. Transcript, tool outputs and working files travel unredacted and handover files are unencrypted; workspace .env files, keys and credential folders stay unless released per path with --include-secret, and Hermes' own credentials always stay. A paired device can take this profile's sessions (pull right) or write sessions and project copies under allow_roots (push right) through Ed25519-signed routes behind the dashboard sign-in. Stores the peer's dashboard token or Basic login, which opens that peer's whole dashboard, and an identity key in the profile .env through Hermes' secret routes. Runs git without a shell and with an allowlisted environment, --version probes of developer tools, and with --continue plus allow_remote_continue one hermes chat --resume turn that never starts while approvals are off. One model call per handover (refine: off disables it). The complete list is in the README and docs/security.md at the pinned commit.

GottZ89Toolsv0.1.1Updated 11 days ago

About

Close the lid, the session goes on: ctx_handover moves a running Hermes session, with the conversation and the project folder it works in, from one machine you own to another and back. /handover to server sends it after work, /handover take brings it to the laptop, and --continue "task" lets the agent keep working on the server if you allow it there; without a connection, /handover export writes one file you carry over. The conversation is copied message by message and checked with hashes on both sides, git projects keep branches, stash and uncommitted work, nothing at the destination is overwritten, and the session on the machine you left is retired only after the other one confirms. Works without ctx. Not the core /handoff. Disclosure — talks only to the gateways you pair (HTTPS; plain HTTP only on loopback or with --allow-insecure); no third-party services, telemetry or update checks. Transcript, tool outputs and working files travel unredacted and handover files are unencrypted; workspace .env files, keys and credential folders stay unless released per path with --include-secret, and Hermes' own credentials always stay. A paired device can take this profile's sessions (pull right) or write sessions and project copies under allow_roots (push right) through Ed25519-signed routes behind the dashboard sign-in. Stores the peer's dashboard token or Basic login, which opens that peer's whole dashboard, and an identity key in the profile .env through Hermes' secret routes. Runs git without a shell and with an allowlisted environment, --version probes of developer tools, and with --continue plus allow_remote_continue one hermes chat --resume turn that never starts while approvals are off. One model call per handover (refine: off disables it). The complete list is in the README and docs/security.md at the pinned commit.

ctx_handover

Close the lid. The session goes on.

ctx_handover moves a running Hermes session, with the conversation
and the project folder it works in, from one of your machines to another, and back. Send it to your server before you
close the laptop. Pick it up again on the road. Or give the agent one more task that it finishes on the server while
the laptop is in your bag.

/handover to server                                        after work: laptop → server
/handover to server --continue "run the tests, fix them"   …and the agent keeps working there
/handover take                                             on the road: server → laptop
/handover export                                           no connection: one file you carry over

Watch the 90-second explainer: Close the lid

What you get

  • The whole session. Every message, tool call and tool output arrives on the other machine, not a summary.
  • Your project as it is. A git project keeps its branches, its stash and the changes you have not committed yet,
    new files included.
  • Nothing is overwritten. If the folder on the other machine has changes of its own, your copy lands in a fresh
    folder next to it.
  • One copy goes on. The session is locked on the machine you left, so you never continue the wrong one by accident.
  • The agent knows what happened. It gets a note: what changed, what did not move, and where the files are now.
  • Only your machines. No cloud service in between, no telemetry. Works without ctx.

How it works

Two machines that run Hermes and that you own, called your laptop and your server here. You pair them once. After
that a handover is one command, and it runs in six steps:

StepWhat happens
1. PlanThe plugin shows what it would move: the project folder and its size, other files the conversation used, and what it leaves out. You say yes.
2. PauseThe session is paused on this machine, so nothing changes while it travels.
3. Copy and checkThe conversation is copied row by row (message by message), and both machines compare hashes of every message. A git project travels as git data, other folders as files.
4. LandThe other machine stores the session and puts the project into a folder. A project that came from there goes back into its old folder when nothing changed there meanwhile.
5. SwitchOnly when the other machine confirms that everything arrived is the session ended and archived here. If anything fails before that, the session here stays usable as before.
6. Carry onYou open the session on the other machine. With --continue the agent there starts on your task by itself.

There are three ways to move a session:

WayCommandUse it when
Send/handover to <device>you sit at the machine that has the session
Take/handover takeyou sit at the machine that should get it
File/handover export, then /handover import <file>the two machines cannot reach each other

The laptop always opens the connection, so it works from behind a home router or a hotel Wi-Fi. The server only needs
an address the laptop can reach: its Hermes dashboard, public or inside a private network such as Tailscale.

Before you start

You need Hermes 0.22.6 or newer on both machines, and git 2.38 or newer if your project is a git repository. Tested
on Linux; macOS and Windows have had no end-to-end runs yet.

What does not work, or only partly:

  • If Hermes Desktop reaches your server only through an SSH tunnel, a Nous/OAuth sign-in or Hermes Cloud, the plugin
    has no sign-in it can use. Then only the handover file works.
  • The laptop always connects to the server, never the other way round. A machine the other one cannot reach over the
    network can only get a handover file.
  • Running programs, subagents and scheduled (cron) jobs do not move. The agent on the other machine gets a note that
    names them.
  • If both copies of a session go on, they are never merged.
  • There is no Desktop page of its own yet. Everything runs through /handover … in a chat or hermes handover … in a
    terminal.

Not the core /handoff, which sends a session to a messaging app, and not the hermes-handoff or session-relay
plugins. Every limit, with the details, is in Limits.

Install

On both machines:

hermes plugins install ctx_handover
hermes plugins enable ctx_handover

In Hermes Desktop: Capabilities → Plugins, once for the server's gateway and once for This device.

Set up once: pair the two machines

  1. Server: tell the plugin the address your laptop uses to reach the server's Hermes dashboard, then restart Hermes
    there.

    hermes config set plugins.entries.ctx_handover.settings.listen_url https://server.example.net
    hermes gateway restart
    
  2. Server, in a chat: /handover setup checks the address and tells you which sign-in the laptop needs: a
    dashboard token, or a user name and password.

  3. Laptop: enter that sign-in under Settings → Plugins → ctx_handover. For a user name and password, also set
    How this machine signs in to the other machine's dashboard (peer_gate) to basic_login.

  4. Server, in a chat: /handover pair --name laptop prints one line that starts with /handover pair ctxh-pair:.
    Paste that line into a chat on the laptop. It is valid for 10 minutes and works once. The answer on the laptop
    starts with "Paired with" and the name the laptop gave the server; use that name where this page writes server.

  5. Both: /handover doctor checks the setup and says what to fix.

The full walk-through, with every option, is in Set up.

Everyday use

You want toWhereCommand
Send the session to the server after workthe laptop session/handover to server
…and let the agent keep working therethe laptop session/handover to server --continue "run the tests and fix what fails"
Hand over as soon as the running answer is donethe sessionadd --wait
Bring a session to the laptopany laptop chat/handover take
Move it as a file, without a connectionfirst machine, then the other/handover export, then /handover import <file>
Take a session backthe locked session/handover reclaim
See what is going onany chat/handover status

Wait for the final message before you close the laptop: the laptop does the copying. The final message names the
session on the other machine and its folder.

--continue needs one switch on the server, allow_remote_continue. That turn runs with nobody there to approve
anything, so every command that would ask for your approval is refused, and the plugin does not start it when it sees
that approvals are switched off on the server. One case it cannot see: a server gateway that gets HERMES_YOLO_MODE
from its environment. Leave allow_remote_continue off there (Limits, Continuation and approvals).

All commands and options: /handover help, and Use.

What moves and what stays

Moves to the other machineStays here
The whole conversation, with tool calls and tool outputsRunning programs, subagents and scheduled (cron) jobs; the note names them
The project folder; in a git project all branches, the stash and uncommitted changesFiles that git ignores, such as build outputs and caches
Large files stored with Git LFS, when git-lfs is installed thereSecret files: .env files, keys, folders such as ~/.ssh, unless you name one with --include-secret <path>
Files outside the project that the conversation used; the plugin asks firstHermes' own credentials, always
A note for the agent on the other machineThe session itself, locked; /handover reclaim unlocks it

Safety in short

  • Nothing is blacked out. The conversation, tool outputs and project files travel as they are. Whatever the agent
    saw, the other machine gets. A handover file is not encrypted.
  • Secret files stay unless you name each one. A general yes never sends them. A secret file that was committed
    to git travels with the project's history.
  • A paired device can take sessions of this Hermes profile, or write project copies into the folders you allow
    (~/hermes-handover by default), depending on the right you gave it. Outside those folders it writes only where a
    project returns to the folder it came from, or into a folder it delivered into before. It never writes into Hermes'
    configuration or into places that hold credentials, shell or autostart settings.
  • The stored sign-in opens the server's whole dashboard, not only this plugin. A reverse proxy that passes only
    /api/plugins/ctx_handover/ limits that. If you lose the laptop, run /handover peers revoke laptop on the server
    and change the dashboard token.
  • Your AI model is asked once per handover which files the work needs. Setting refine to off stops it.

Disclosure

  • Network: HTTPS only to the machines you pair, and only while you pair, check, look at the status or hand over.
    Plain HTTP only on loopback or for a device you mark --allow-insecure. No third-party services, no telemetry, no
    update checks.
  • Sent to the other machine: the session and its files, unredacted, and facts about this machine (system, host and
    user name, folders, versions, free disk space), never the values of environment variables.
  • Inbound: once a device is paired, signed routes under /api/plugins/ctx_handover/v1/, behind the dashboard
    sign-in.
  • Stored credentials: the other machine's dashboard sign-in and the plugin's own identity key, in the profile's
    .env through Hermes' own reader and writer.
  • Commands: git, without a shell and without your provider keys in its environment; version checks of developer
    tools; with --continue, one hermes chat --resume turn on the other machine.
  • Background work: threads per handover, and a cache in the plugin's data folder (up to 5 GiB for 3 days by
    default).

The complete list of what the plugin reads, writes, runs and sends is in Safety and disclosure.

More

DocumentWhat is in it
Set upWhat you need, pairing step by step, sign-in modes, proxies
UseEvery way to hand over, the confirmation, where projects land, all commands and exit codes
Safety and disclosureRights of a paired device, what the lock guarantees, the full disclosure
LimitsWhat does not work, or only partly
ReferenceWords used, settings, troubleshooting
DevelopmentTests and code layout

License

MPL-2.0, part of ctx. ctx is a separate knowledge store; the plugin works without it.
With ctx_checkpoint as memory provider and your consent in /handover setup, each handover is also recorded in ctx.

README from the reviewed commit c61c720; it updates when the author re-pins.

More by GottZ

2 plugins by GottZ in the catalog.

GottZctx_checkpointMemory provider that archives the direct user/assistant transcript into a ctx knowledge store before every compaction, deterministically and with no LLM in the path, and hands the resulting block IDs to the compaction summary so the exact wording stays recoverable. Set up from the Desktop/Dashboard memory form or hermes memory setup ctx_checkpoint (ctx URL and API key, no YAML editing; the Desktop form and the terminal setup test the connection before saving a changed URL or key); checkpoint limits and memory switches sit under Settings → Plugins; over MCP, hermes memory status tests the connection and shows the last checkpoint; compaction thresholds stay Hermes' defaults, which suit 1M-token windows. Best-effort by default; with compression.checkpoint_required (the operating mode the Desktop form and the terminal setup offer) it uses the fail-closed pre-compress checkpoint contract (#94639) and blocks compaction until the checkpoint is durable. Optional memory layer (memory: true, off by default): recall before each turn, ctx_query/ctx_store/ctx_search/ctx_get tools, a mirror of MEMORY.md/USER.md, fact extraction from compacted turns, session digests and a bundled ctx-memory skill, over the same ctx server. Disclosure — the turns about to be compacted (tool results and system prompts excluded; the ctx key the server entry signs in with and credentials in known shapes are masked, while unnamed values, plain-word passwords, card numbers and IBANs pass) and, with the memory layer on, the mirrored memory entries, extracted facts and digests (all redacted the same way) are written through Hermes' MCP dispatch to the ctx server you configure in mcp_servers; setup, when you run it, writes memory.ctx_checkpoint and that mcp_servers entry to config.yaml and the API key to .env as CTX_API_KEY, and compression.checkpoint_required only when you change the operating mode (turning it on needs a passing connection test; otherwise nothing is written); the connection test is Hermes' own MCP probe of that same entry; the plugin never writes compaction thresholds, holds no credentials of its own unless you opt into transport: rest (CTX_KEY in .env; that client redacts the key from every error text it produces and follows no HTTP redirect); to mask the ctx key it reads, through Hermes' config and env lookups (.env included), the key in that mcp_servers entry's Authorization or X-Context-Key header and CTX_API_KEY, and uses them for nothing else; of the other mcp_servers entries it reads only the names and enabled flags, to refuse one whose tool names would collide with its own; it makes no other network calls and has no telemetry; it reads state.db read-only, records the outcome of the last checkpoint and the checkpoint head ID of up to 512 recent sessions in HERMES_HOME/ctx_state/checkpoint-status.state (plus a lock file) and, with the memory layer on, keeps small dedupe state files there; once a session has a checkpoint, its system prompt carries a short pointer to it (head ID, its title and the read tools' names; no transcript text), also with the memory layer off; it imports the core modules agent.memory_provider, agent.redact, agent.secret_scope, tools.registry, tools.interrupt, hermes_constants, utils, hermes_cli.config, hermes_cli.mcp_config (the private _probe_single_server behind hermes mcp test) and plugins.memory.config_schema (the Desktop memory form).Communitymemory89

Developer Mode

Explore built-in Hermes toolsets and actions.

HermesAgent

Developer?

Create a Hermes extension for Desktop or agent workflows.

Developer Section