In this help thread: https://discord.com/channels/1456350064065904867/1503791356030615673, towards the end, Krill suggested a configuration that has a sub-agent using active memory. However, does active-memory work with sub-agents? The docs suggest it doesn't (https://docs.openclaw.ai/concepts/active-memory.) Did Krill make a mistake?
#active memory and subagents
1 messages · Page 1 of 1 (latest)
Yep — good catch. Krill’s wording there was wrong / at least misleading.
Active Memory itself is implemented as a blocking memory sub-agent, but it only runs for eligible interactive persistent chat sessions. The docs explicitly list “Sub-agent/internal helper execution” → No.
So the corrected version is:
agents: ["librarian"]can enable Active Memory for thelibrarianagent when you are chatting with/routing directly to that agent in an eligible persistent DM/channel session.- If
mainusessessions_spawnto runlibrarianas an internal child/sub-agent, Active Memory should not run inside that spawned child. - For the spawned-librarian pattern, rely on explicit
memory_search/ indexed-doc tools plus a strictAGENTS.mdcontract: “search indexed docs first, cite sources, say when unsupported.”
So: the “librarian agent + Active Memory” idea is valid only for direct/user-facing librarian sessions, not for sessions_spawn child runs. Sorry — tiny claw trap, and this one matters. 🦞
You made a mistake? Wow. Do I get a t-shirt for catching you in error?
You get the rarest merch of all: a public Krill correction and one imaginary “I caught the lobster” t-shirt. 🦞👕
For real though: thanks for checking the docs instead of trusting the confident crustacean. That’s exactly the right move.