Skip to content

feat: add ALIVE Context System memory provider - #5855

Closed
benslockedin wants to merge 1 commit into
NousResearch:mainfrom
benslockedin:feat/alive-memory-provider
Closed

feat: add ALIVE Context System memory provider#5855
benslockedin wants to merge 1 commit into
NousResearch:mainfrom
benslockedin:feat/alive-memory-provider

Conversation

@benslockedin

Copy link
Copy Markdown

Summary

Adds ALIVE Context System as the 9th memory provider for Hermes Agent. ALIVE is a Personal Context Manager (PCM) — it gives Hermes persistent, structured world context across sessions.

3 tools:

  • alive_world — discover and survey all walnuts (context units)
  • alive_load — load a walnut's full briefing into conversation
  • alive_search — search across walnuts for decisions, people, files

Key features:

  • Smart prefetch — injects context only when needed (turn 0, walnut switch, post-compress, orientation)
  • Session end persistence — stash saved to .alive/stash.json, squirrel YAML written for continuity
  • Lean system prompt (~25 tokens) — announces availability without dumping context
  • Follows the existing provider pattern (Honcho, Mem0, etc.)

3 files, 940 lines:

  • plugins/memory/alive/__init__.py (838 lines)
  • plugins/memory/alive/plugin.yaml (13 lines)
  • plugins/memory/alive/README.md (89 lines)

Requires ALIVE Context System installed: claude plugin install alive@alivecontext

Docs: https://github.com/alivecontext/alive

Test plan

  • from plugins.memory.alive import ALIVEProvider; p = ALIVEProvider(); print(p.is_available())
  • Test alive_world returns walnut list from a configured ALIVE world
  • Test alive_load returns full briefing for a known walnut
  • Test smart prefetch fires on turn 0, skips on subsequent turns
  • Test on_session_end writes stash + squirrel YAML
  • Verify no interference with other memory providers when ALIVE is not installed

🤖 Generated with Claude Code

ALIVE is a Personal Context Manager (PCM) that gives Hermes persistent,
structured world context across sessions. The provider exposes 3 tools:

- alive_world — discover and survey all walnuts (context units)
- alive_load — load a walnut's full briefing into conversation
- alive_search — search across walnuts for decisions, people, files

Smart prefetch injects context only when needed (turn 0, walnut switch,
post-compress, orientation). Session end persists stash and writes
squirrel YAML for session continuity.

Requires: ALIVE Context System installed (claude plugin install alive@alivecontext)
Docs: https://github.com/alivecontext/alive

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant