Repositories / OpenClaw
Focused tour of agent execution, memory search, and tool orchestration; not a whole-project map.
Select a flow to inspect its ordered source evidence.
Traces an embedded agent request from lifecycle-scoped orchestration through the prepared loop, runtime-plan construction, and prepared attempt execution.
Follows memory_search from deadline-bounded manager setup through agent-scoped resolution, the built-in vector path, and hybrid score construction.
Shows how one attempt chooses a tool construction plan, selects tool categories, filters them through policy, and blocks denied calls before execution.
Focused flow
Follows memory_search from deadline-bounded manager setup through agent-scoped resolution, the built-in vector path, and hybrid score construction.
Within the tool deadline, memory_search resolves backend configuration and requests a manager context for the active agent and purpose.
The shared runtime loads the manager factory and forwards the configured agent identity, request purpose, and optional host hooks.
When QMD is not selected, the factory returns the built-in memory manager and identifies the backend as built-in.
The built-in manager queries vector candidates within the selected source scope and returns the bounded vector path when hybrid search is unavailable.
Hybrid ranking combines vector relevance with lexical ranking or path relevance using the configured weights.