Building a coding agent from scratch: one diagram of the agentic loop
sharpeye_wnl · x · 2026-11-15
Developer sharpeyewnl is building a coding agent without AI assistance to learn context management, memory architectures and tool registries from the inside. The shared TAKUMI architecture diagram covers a local-first agent (extensible to cloud) with a context window manager compacting above 85%, a history manager (cap→strip→fit), an agentic loop with permission-gated tools (readfile/writefile/searchfile/bash), and JSONL session persistence.
More from coding & agent
- 45 days talking to one personal AI agent: "minimum control, minimum friction" wins — perilli · 2026-11-15
- He built a company run by 50 AI agents — here's the Claude Code-powered architecture — Arindam_1729 · 2026-11-15
- T3 Code hype questioned: everyone is rebuilding it, few real wins yet — IndraVahan · 2026-11-15
- Free course maps the 4 ways generative media demos break in production — Al_Grigor · 2026-11-15
- Team builds custom inference engine in 4 days for $500 in tokens, beats SGLang by 15% with 6 prompts — IgorCarron · 2026-11-15
- One prompt line broke an unrelated flow: how do you gate voice agent changes? — that_dude_Zz · 2026-11-15