Skip to content

About

Open-source agent state sync/restore layer starting with Hermes adapters

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

hermes-state-vault

Hermes-first open-source agent-state sync/restore scaffold.

Scope (v0)

  • Export Hermes memories and skills files/metadata into a portable checkpoint manifest.
  • Persist checkpoints in a local filesystem backend.
  • List checkpoints.
  • Produce restore dry-run plans without mutating runtime state.

Why this is not remote SQLite hosting

The project sync unit is a checkpoint bundle + manifest, not a live SQLite file. See architecture rationale in docs/architecture.md.

Install

python -m pip install -e .[dev]

CLI

# Export a checkpoint from Hermes state root
hermes-state-vault --store-dir .hsv/checkpoints export --hermes-root ~/.hermes

# List local checkpoints
hermes-state-vault --store-dir .hsv/checkpoints list

# Restore dry-run only (v0)
hermes-state-vault --store-dir .hsv/checkpoints restore <checkpoint_id> --dry-run

Package layout

  • src/hermes_state_vault/abstractions.py: StateProvider, RemoteStore, shared dataclasses.
  • src/hermes_state_vault/models.py: checkpoint manifest/state model.
  • src/hermes_state_vault/engine.py: SyncEngine export and dry-run restore orchestration.
  • src/hermes_state_vault/adapters/hermes.py: Hermes filesystem adapter.
  • src/hermes_state_vault/backends/local_fs.py: local filesystem backend.
  • tests/: fixture-based tests for models, adapter export, and CLI.

Roadmap

  • Object storage backend for checkpoint bundles.
  • Turso-backed metadata index for lineage/search.
  • Selective restore policies and conflict handling.

About

Open-source agent state sync/restore layer starting with Hermes adapters

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages