Agent Loop
Follow QueryEngine, tool calls, tool results, and follow-up model turns to see why a coding agent is an execution loop, not one answer.
Based on Claude Code v2.1.88 public npm package and source-map analysis. A bilingual course on local agent runtime architecture.
This project is unofficial research material, not an Anthropic source release. Its architectural readings are based on public npm package artifacts, source-map reconstruction, and analysis already present in this repository.
AI coding agents are moving from "chat plugin inside an editor" toward "local runtime near the repository and terminal." A useful coding agent needs file search, code edits, command execution, permission checks, streaming multi-turn progress, and context compaction when sessions get long.
This repository's original value is turning a complex source-map reconstruction into a learnable architecture course: tool loop, permission model, grep/file context, streaming multi-turn architecture, and context compaction.