Sign inSign up
hermes-agent-sessions logo

sbx/hermes-agent-sessions

Verified Publisher

By Docker, Inc

•Updated about 7 hours ago

Retain Hermes Agent session state on the host across sandbox removal

Sandbox Kit
0

2.8K

sbx/hermes-agent-sessions repository overview

Digest

sha256:56b776b72a8e…

Size

1.4 kB

Schema

v3

Pushed

about 7 hours ago

Specificationspec.yaml

MIXIN

Retain Hermes Agent session state on the host across sandbox removal


Arguments
NameRequiredDefaultDescription
versionRequired—
—

CapabilitiesExpand a row to see its full configuration. See the full spec for the complete descriptor.
TypeRequiredDescription
com.docker.sandbox/host-mount@1Required—
com.docker.sandbox/lifecycle@1Required—

Requireshermes-agent

Apply this mixin to a sandbox

sbx run <agent> --kit sbx/hermes-agent-sessions:latest

Make sure you have docker sbx installed

Run the following command to install sbx on your machine.

macOS
brew install docker/tap/sbx
Windows
winget install Docker.sbx
Learn more about docker sbx⁠

⁠Hermes Agent host sessions for Docker Sandboxes

This v3 mixin Kit retains Hermes Agent conversation state and agent-authored resources on the host across sandbox removal. It composes with either the Hermes Agent workload or its agent mixin.

This Kit is built on Docker Hardened Images.

⁠Run

sbx run sbx/hermes-agent:latest --kit sbx/hermes-agent-sessions:latest /path/to/workspace

⁠Kit arguments

This kit has no create-time kit arguments.

⁠Authentication and configuration

The runtime mounts host storage at /home/agent/hermes-history. Each sandbox uses a subdirectory named after that sandbox, so simultaneous sandboxes do not share one writable session store. Reuse the sandbox name to reconnect to its retained state.

The kit retains the declared session data, not account credentials or the agent's complete configuration directory. Conversation history can contain workspace content and tool output. Authentication stays with the composed agent kit.

The install hook refuses to replace existing nonempty session state or unexpected symlinks. Move existing state into the host-backed directory before adding this mixin to an existing environment.

⁠Source and security

For the Kit format and capability contracts, see the Sandbox Kit v3 specification⁠.

For runtime setup, see the Docker Sandboxes documentation⁠. For provenance, SBOM, VEX, and image verification, see the Docker Hardened Images documentation⁠.

Hermes Agent is a project of Nous Research. Product names and logos do not imply sponsorship or endorsement.