Tagged articles

autoCompact

2 articles · Page 1 of 1
James' Growth Diary
James' Growth Diary
Jun 15, 2026 · Artificial Intelligence

Taming Context Explosion: Multi‑Agent Compression Engineering in Claude Code

The article dissects Claude Code’s three‑layer compression system—microCompact, autoCompact, and sessionMemoryCompact—explaining how each layer mitigates the multiplicative token growth of multi‑agent workflows, the compact_boundary bookmark for resume support, cache‑friendly designs, and practical pitfalls.

Claude CodeLLMMulti-Agent
0 likes · 22 min read
Taming Context Explosion: Multi‑Agent Compression Engineering in Claude Code
ZhiKe AI
ZhiKe AI
Apr 19, 2026 · Artificial Intelligence

Claude Code Agent Architecture: 4‑Layer Breakdown & 3 Key Designs from while(true) to Autonomous Decision‑Making

The article dissects Claude Code Agent's four‑layer architecture—interaction, orchestration, execution, and infrastructure—explaining how the perpetual while(true) queryLoop drives LLM streaming, how StreamingToolExecutor enables safe concurrent tool execution, and how the autoCompact four‑stage compression with a circuit‑breaker safeguards context length.

Claude Code AgentLLM tool integrationStreamingToolExecutor
0 likes · 19 min read
Claude Code Agent Architecture: 4‑Layer Breakdown & 3 Key Designs from while(true) to Autonomous Decision‑Making