Tagged articles
6 articles
Page 1 of 1
James' Growth Diary
James' Growth Diary
May 16, 2026 · Artificial Intelligence

MCP Integration Deep Dive: Prompt Cache Stability and Tool Ordering Explained

The article analyzes why connecting an MCP server can triple response latency and token usage, explains how unstable tool ordering breaks Anthropic's prompt cache, and provides detailed code walkthroughs, design insights, common pitfalls, and concrete best‑practice recommendations for building reliable MCP integrations.

AI agent designBest PracticesClaude Code
0 likes · 18 min read
MCP Integration Deep Dive: Prompt Cache Stability and Tool Ordering Explained
James' Growth Diary
James' Growth Diary
May 5, 2026 · Artificial Intelligence

AgentTool Deep Dive: Sub‑Agent Generation and Recursive Safeguards

This article dissects Claude Code's AgentTool, explaining how it spawns full‑featured sub‑agents, routes execution through three distinct paths, shares Anthropic Prompt Cache via Fork, and protects against infinite recursion with a dual‑layer safeguard while isolating worktrees for safe parallel file operations.

AI toolingAgentToolClaude Code
0 likes · 13 min read
AgentTool Deep Dive: Sub‑Agent Generation and Recursive Safeguards
Shuge Unlimited
Shuge Unlimited
Apr 5, 2026 · Artificial Intelligence

How Claude Code’s Speculation Engine Lets AI Finish Your Code Before You Hit Tab

The article dissects Claude Code’s Speculation system, showing how an AI sub‑agent predicts user intent, runs a full edit‑test pipeline in an overlay filesystem, filters results through twelve safety layers, and only commits changes when the user confirms, effectively turning speculative execution into a safe performance boost.

AI agentClaude CodeCopy-on-Write
0 likes · 21 min read
How Claude Code’s Speculation Engine Lets AI Finish Your Code Before You Hit Tab
Shuge Unlimited
Shuge Unlimited
Apr 4, 2026 · Artificial Intelligence

Inside Claude Code: Three‑Tier Compression Enabling Unlimited‑Length AI Tasks

The article dissects Claude Code's three‑level progressive compression system—MicroCompact, SessionMemoryCompact, and Full Compact—showing how it edits cached prompts, maintains background memory files, and generates a structured nine‑section summary to keep AI agents operating over arbitrarily long conversations within a limited context window.

AI agentAuto CompressionClaude Code
0 likes · 17 min read
Inside Claude Code: Three‑Tier Compression Enabling Unlimited‑Length AI Tasks
Shuge Unlimited
Shuge Unlimited
Mar 31, 2026 · Artificial Intelligence

5 Agent Design Patterns Uncovered in Claude Code Source Leak

The article dissects the accidental public release of Anthropic's Claude Code TypeScript source, revealing five concrete AI agent design patterns—including prompt‑cache segmentation, a coordinator‑fork architecture, a four‑layer permission model, file‑system memory, and on‑demand tool loading—while also detailing the underlying tech stack, source‑map exposure, and quirky easter eggs.

AI agentClaude CodeCoordinator
0 likes · 17 min read
5 Agent Design Patterns Uncovered in Claude Code Source Leak
DataFunSummit
DataFunSummit
Mar 16, 2026 · Artificial Intelligence

Why OpenClaw v2026.3.7 Is a Game‑Changer for Enterprise AI Agents

OpenClaw v2026.3.7 introduces Feishu webhook compatibility fixes, prompt‑cache cost reductions, smarter model routing, domestic model connectors, and persistent binding for container deployments, turning the tool from a geek toy into a reliable enterprise‑grade AI‑agent platform.

AI agentsModel routingOpenClaw
0 likes · 10 min read
Why OpenClaw v2026.3.7 Is a Game‑Changer for Enterprise AI Agents