Reading an agent’s source
Map an agent system from its code before you configure or trust it.
4 notes · updated Nov 24, 2026
Read in this order
- TestedGuideMAF git:15293b0da02e2a831278103c5be8d789018b9b4e, Python 3.14.3How an AI Agent’s Basic Control Loop Runs in PythonInspect one execution of Federico Jan's Minimal Agent Framework at a pinned commit. Follow a local file read/write task from scripted model actions through tool validation, dispatch, state updates and final output; use trace events, deliberate halts and replay to build a worksheet readers can apply to another agent repository.
- ExplainerOpenClaw Architecture Explained: Gateway, Sessions, Memory, and ToolsSkimmable OpenClaw system map covering the gateway, sessions, memory files, heartbeat and cron, and the execution layer from inbound message to action.
- TestedExplainerOpenClaw WebSocket Gateway: Deterministic Routing and the connect.challenge HandshakeHow the OpenClaw WebSocket gateway works, verified on a live 2026.10.10 gateway: the connect.challenge handshake, the 9-step binding cascade that routes every message to one session, and 33 channels.
- Source readSource readOpenClaw Source Code Structure (2026): Core Folders, Gateway & Runtime MappedOpenClaw source code, re-verified 5 Nov 2026 against main and the 2026.10.10 release: the core folder structure in one table, what changed since v1, real command output, and where each subsystem lives.