Skip to content

feat: add local session daemon MVP#23516

Open
CompoundingWealth wants to merge 2 commits into
NousResearch:mainfrom
CompoundingWealth:feat/daemon-mvp
Open

feat: add local session daemon MVP#23516
CompoundingWealth wants to merge 2 commits into
NousResearch:mainfrom
CompoundingWealth:feat/daemon-mvp

Conversation

@CompoundingWealth

Copy link
Copy Markdown

Summary

  • add a profile-local Hermes daemon with Unix socket JSON-lines protocol
  • support ping, session.list, session.create, session.get, and shutdown methods backed by SessionDB
  • add CLI commands for daemon serve/start/stop/restart/status/sessions/create-session
  • document the daemon MVP architecture

Tests

  • pytest tests/hermes_cli/test_daemon.py -q -o 'addopts='\n- py_compile hermes_cli/daemon.py hermes_cli/main.py tests/hermes_cli/test_daemon.py\n\n## Notes\n- This is the conservative foundation for jcode-style daemon-owned sessions and thin clients. It does not yet run daemon-owned agent workers or stream events.

@CompoundingWealth

Copy link
Copy Markdown
Author

Added second commit 6b00adcd7 on the PR branch.

New slice:

  • session.send starts daemon-owned background agent runs
  • run.get returns run status/result/error
  • session.events returns bounded in-memory event stream
  • CLI: hermes daemon send ... and hermes daemon events ...
  • tests expanded from 3 to 5 daemon tests

Verification:

  • TMPDIR=/tmp ~/.hermes/hermes-agent/venv/bin/python -m pytest tests/hermes_cli/test_daemon.py -q -o 'addopts=' → 5 passed\n- ~/.hermes/hermes-agent/venv/bin/python -m py_compile hermes_cli/daemon.py hermes_cli/main.py tests/hermes_cli/test_daemon.py → passed

@alt-glitch alt-glitch added type/feature New feature or request P3 Low — cosmetic, nice to have comp/cli CLI entry point, hermes_cli/, setup wizard labels May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/cli CLI entry point, hermes_cli/, setup wizard P3 Low — cosmetic, nice to have type/feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants