Skip to content
Discussion options

You must be logged in to vote

Hey @rockarxiv — you're right, this is a real gap and good catch.

Here's the current state:

Lessons today are pull-based, not push-based.

  • They're written via memory_lesson_save (MCP tool, also auto-extracted by mem::reflect after each session).
  • They're stored in the lessons KV scope with confidence scores + reinforcement.
  • They're retrieved via memory_lesson_recall (MCP tool) — which means the agent has to think to call it. There's no "you should consult lessons before acting" affordance, so it rarely happens unprompted.

Auto-injection (the SessionStart hook path) does NOT include lessons.

If you set AGENTMEMORY_INJECT_CONTEXT=true, the session-start hook calls mem::context and prepends …

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by rohitg00
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@rockarxiv
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants