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
Traces an embedded agent request from lifecycle-scoped orchestration through the prepared loop, runtime-plan construction, and prepared attempt execution.
The public entry captures the run lifecycle generation and invokes the internal runner with the selected configuration.
A narrow execution boundary hands the fully prepared request to the controlled run loop.
A normalized attempt either returns its completed result or carries prompt, usage, and replay state into the next loop iteration.
The next attempt receives a runtime plan built from the model, harness, prepared authentication, configuration, and workspace context.
The execution phase receives the prepared bootstrap, bundled tools, session runtime, system prompt, tool base, and tool catalog.