Skip to content

Repository files navigation

🧸✨ Hermes Agent Harness Plus

Give your Hermes Agent a memory, a map, and a health plan πŸ’–

The cheerful companion toolbox that keeps long agent sessions tidy, searchable, and share-ready β€” without changing Hermes Agent itself.

CI License: MIT Python 3.10+ MCP native Operator controlled PRs Welcome

🌈 Visit the website Β· πŸ“¦ Install guide Β· 🧩 Component catalog Β· πŸ› Report a bug


πŸ˜΅β€πŸ’« The problem

Long agent sessions move fast. A tool call surfaces a golden clue, a test log answers the big question… and ten minutes later it's all buried in scrollback. Your agent forgets, you scroll forever, and nobody can retrace how the answer was found.

πŸ’‘ The fix

Harness Plus wraps a small, friendly harness around Hermes Agent β€” optional adapters, plugins, sidecars, skills, and checklists that build three healthy habits:

Habit What it means Powered by
πŸ—ΊοΈ Keep the map Compact progress notes on a Task Canvas, with raw evidence parked in referenced files context-canvas
πŸ”Ž Find it again Semantic recall over your skills & recent sessions β€” 100% local, on your own Qdrant qdrant_* helpers
🎁 Share cleanly Install notes, release routines, and reusable skills that travel well to other users skills/ + ops-rules/

Everything is opt-in and operator-controlled. Local-state components keep their data on your machine; provider-backed components document what leaves it and fail closed at credential and route boundaries. Take one piece or take them all β€” Hermes Agent itself is never modified. 🀝


🎁 What's in the box

hermes-agent-harness-plus/
β”œβ”€β”€ πŸ“¦ packages/context-canvas/          Task Canvas library + CLI + MCP wrappers
β”œβ”€β”€ πŸ—ƒοΈ plugins/context-canvas-autopilot/ Archived broad-capture experiment
β”œβ”€β”€ πŸ€– plugins/prime-minion/              Prime Agent coding runtime with Hermes-owned Codex auth
β”œβ”€β”€ πŸ”§ scripts/                          Qdrant & Canvas helpers: MCP, indexing, watchdogs
β”œβ”€β”€ πŸ“š skills/                           Teach Hermes when & how to use the harness
β”œβ”€β”€ βœ… ops-rules/                        Release / handoff / scheduled-job checklists
└── πŸ“– docs/                             Website, install guide, technical notes
Component Superpower
πŸ—ΊοΈ Context Canvas Short JSON nodes + evidence refs β€” the agent keeps the shape of the work and a path back to the facts
πŸ›°οΈ Canvas MCP sidecar Native MCP tools: start/read/search/closeout, recover recent canvas IDs with canvas_recent, or atomically attach evidence + a node with canvas_record
πŸ”Ž Qdrant recall kit Index selected skills & recent sessions locally; dry-run previews and secret-pattern redaction by default
🩺 Recall watchdog Quiet when healthy, loud when broken β€” validates collections after refreshes, container starts, and restarts
πŸ“š Public skills context-canvas-memory, bounded context-canvas-reflection, and qdrant-recall-sidecar β€” drop-in guidance for any Hermes Agent user
🧭 Delegation calibrator Optional complexity Γ— Bayesian evidence for direct vs luna_max; Baton remains the qualitative dispatch brake and validation authority
πŸ€– Prime minion bridge Run Prime Agent's coding loop with Hermes-owned Codex OAuth, explicit route readback, and optional resumable transcripts across fresh processes

The former Autopilot broad-capture plugin remains as a source archive for historical safety replay. Its production runtime is forced off; it is not an installation option.


⚑ Quick start (60 seconds)

# 1. Grab the toolbox
git clone https://github.com/phenomenoner/hermes-agent-harness-plus.git
cd hermes-agent-harness-plus

# 2. Prove it works on your machine
python -m pip install -e '.[mcp]' pytest
python -m pytest -q

# 3. Start your first Task Canvas πŸŽ‰
PYTHONPATH=packages/context-canvas python -m context_canvas.cli start \
  --session-id demo \
  --goal "Keep evidence for a long Hermes task"

Then wire it into Hermes Agent (full walkthrough in the install guide):

# Hermes Agent config.yaml
mcp_servers:
  context_canvas:
    command: "python"
    args: ["/absolute/path/to/hermes-agent-harness-plus/scripts/context_canvas_mcp_server.py"]
    env:
      HERMES_CONTEXT_CANVAS_HOME: "/home/you/.hermes/context-canvas"

🧭 Design principles

  • 🏠 Local state by default. Canvas, Qdrant, and minion transcripts stay on your machine; provider-backed calls follow the provider you explicitly configured.
  • πŸͺΆ Featherweight. Optional pieces around Hermes Agent β€” zero changes to Hermes itself. Start with an explicit Canvas and add only the helpers you need.
  • πŸ›Ÿ The right failure mode. Observability helpers fail open; credential, route, ownership, and replay boundaries fail closed.
  • πŸ” Separate map from evidence. Concise Canvas nodes stay easy to scan while referenced files retain the verifiable details.
  • 🧾 Evidence or it didn't happen. Every finished note points to a ref you can verify: node summary β†’ evidence ref β†’ original content.

πŸ“š Learn more

Guide What you'll find
🌈 Website The pretty tour
✦ Context Canvas origin story A first-person product diary: the late-night idea, the first live capture, and the repair that made it real
πŸ“¦ Install & enable Step-by-step setup: CLI, MCP, retired-plugin cleanup, Qdrant, skills
🧩 Component catalog Every piece, its purpose, and its safety posture
πŸ—ΊοΈ Context Canvas internals Data model & technical notes
🧾 Autopilot v2 archive Historical broad-capture design, retirement decision, and retained safety replay
πŸ”Ž Qdrant recall internals Indexing, collections & health checks
βœ… Context Canvas awareness Standing selection rule for deliberate task maps and bounded trajectory reflection, without granting task authority
🧭 Delegation calibrator Optional complexity Γ— Bayesian routing evidence; Baton remains the dispatch brake and the main agent owns final judgment
πŸ€– Prime minion bridge Install, route, resume, inspect, and close Prime Agent minion sessions while Hermes keeps Codex credentials
🧠 Prime minion internals Credential boundary, route readback, process lifecycle, and interrupted-session contract
βœ… Prime minion PMO routing Standing authority, execution, review, and fallback rule for a PMO stance
πŸš€ Release manifest What ships in each bundle

🀝 Contributing

Found a bug? Have a helper that made your Hermes life better? We'd love it! πŸ’Œ

Read CONTRIBUTING.md first β€” the golden rule is share-ready: no secrets, no machine-specific paths, copy-pasteable install steps. See also our Code of Conduct and Security policy.

πŸ“œ License

MIT β€” see LICENSE and NOTICE for third-party pointers (Hermes Agent, Qdrant, MCP SDK, FastEmbed πŸ’•).


Pick the pieces you need, leave the rest β€” and may your agent never lose a clue again. 🧸✨

Built as a companion toolbox for Hermes Agent users.

About

🧸✨ Hermes Agent companion toolbox for task evidence, local recall, reusable skills, and optional Prime minion orchestration.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages