↓ Skip to main content

Posts

2026

Thoughts on Dynamic Intervention in AI Agent Runtimes
AI Technology · 2026-07-27 · 11 分钟

Thoughts on Dynamic Intervention in AI Agent Runtimes

Thoughts on Dynamic Intervention in AI Agent Runtimes # A few weeks ago, late at night, I stared at the agent logs scrolling through my terminal, frustrated enough to want to smash the keyboard. It was dutifully generating a requirements analysis report — it had been running for a dozen-plus minutes, pulling loads of data and drawing charts, clearly on the verge of wrapping up — when I suddenly realized the requirements were missing a key dimension: “Don’t split by region, split by user age group.” If I interrupted it now, all the context, intermediate results, and tool call state would be thrown away and it would start over. If I didn’t, it would soon produce a wrong report that would cost me just as long to fix by hand.

2265 字 阅读 ➔
AI Agent Skills and MCP: Which Ones Are Worth Installing
AI Technology · 2026-07-20 · 4 分钟

AI Agent Skills and MCP: Which Ones Are Worth Installing

Conclusion first: plenty of tools out there can be installed, but most of them sit there gathering dust after installation. Below is what I filtered out of the things I actually use, sorted into five scenario categories, with a few genuinely used picks in each. First, One All-Rounder Recommendation # If you want a single install that covers most scenarios, take a look at this one:

710 字 阅读 ➔
Agent Interview Questions: Who Has Actually Done the Work
AI Technology · 2026-07-13 · 6 分钟

Agent Interview Questions: Who Has Actually Done the Work

Attachment download: Agent Interview Questions.pdf — handy for printing or offline reading Why Would You Need Multiple Agents # An opening question to separate people who have “read the articles” from people who have “actually built one”. The bad answer: “Multi-agent enables parallel processing, which improves system throughput and robustness.” Every word of that is correct, but if you follow up with “so after splitting into two agents, did throughput actually double?”, they stall. The reality: inter-agent communication has overhead, coordination has complexity, and after the split total throughput may well drop. Adding agents is not like adding CPU cores.

1116 字 阅读 ➔
The Future of AI Coding Tools: From Copilot to Autonomous Agent
Deep Thoughts · 2026-07-06 · 9 分钟

The Future of AI Coding Tools: From Copilot to Autonomous Agent

Twelve articles, from the Think-Act-Observe loop all the way down into the 500,000-line engineering abyss. Now, standing at the end of the series and looking back over the whole evolutionary path, a bigger question surfaces: What will AI coding tools ultimately evolve into? A better Copilot? A more powerful IDE plugin? Or something new that we haven’t named yet? Three Evolutionary Paths # Looking back at the development of AI coding tools, you can see three clear stages of evolution:

1697 字 阅读 ➔
The Silent War in Central-Local Power: Who Serves as the System's Shock Absorber?
Politics · 2026-07-03 · 6 分钟

The Silent War in Central-Local Power: Who Serves as the System's Shock Absorber?

The foundational calculation behind China’s revised petition regulations is a surgical quarantine of political risk. Beijing has sealed the gates to the capital at the provincial and county levels, driving all unresolved social friction squarely back to where it originated. While the central ministries erect procedural firewalls under the banners of “step-by-step appeals” and “local jurisdiction,” county and township officials are trapped in an inescapable vise of dried-up revenues, exploding municipal debts, and zero-tolerance evaluation metrics, serving as the flesh-and-blood sponges that absorb the system’s structural convulsions.

1157 字 阅读 ➔
3,000 vs 500K Lines: The Architectural Abyss From Toy to Product
Deep Thoughts · 2026-07-02 · 8 分钟

3,000 vs 500K Lines: The Architectural Abyss From Toy to Product

The claude-code-from-scratch project implements a “mini Claude Code” in roughly 3,000 lines of TypeScript. It has the Think-Act-Observe loop, a tool system, a system prompt, permission control, memory, Skills, multi-agent, MCP — every core concept we tore down over the previous ten posts. And the official Claude Code source? Roughly 500K lines of TypeScript/TSX. That’s a 100x+ gap between 3,000 lines and 500K. What’s in it? The gap isn’t “number of features”. from-scratch already covers every core concept. The gap is the road each concept travels from “it runs” to “it’s usable” — that road is called productionization.

1518 字 阅读 ➔
The Discrete State Machine of Plan Mode: Decision Tree Pruning, Backtracking Costs, and Diminishing Returns
Deep Thoughts · 2026-06-16 · 7 分钟

The Discrete State Machine of Plan Mode: Decision Tree Pruning, Backtracking Costs, and Diminishing Returns

Autoregressive large language models operating in unconstrained environments suffer from an inherent tendency toward myopic mutation and runaway divergence. Claude Code’s Plan Mode attaches an external discrete Finite State Machine (FSM) that projects the action space onto a strictly side-effect-free subset, using an interactive human barrier to prune catastrophic physical backtracking branches from the decision tree. In disciplined software engineering, experienced developers instinctively value structural planning: mapping dependency graphs, deriving type signatures, and scoping blast radiuses before modifying a single line of code. Large language models possess no such innate restraint. Shaped by reinforcement learning to generate immediate answers, an agent granted unrestrained write permissions will instinctively mutate files without global context, precipitating an architectural cascade across complex repositories.

1397 字 阅读 ➔
The MCP Protocol: USB-C for AI Tool Interconnection
Deep Thoughts · 2026-06-12 · 6 分钟

The MCP Protocol: USB-C for AI Tool Interconnection

Before MCP, every AI tool integration was a custom build. Want ChatGPT to reach a database? Write a plugin. Want Claude to call the GitHub API? Write a Function Calling definition. Want Copilot to access your internal systems? Write a Custom Tool. Every time, the same thing: define an interface, write adapter code, handle auth, manage errors. The wheel, reinvented countless times. The problem MCP (Model Context Protocol) solves is simple: give AI agents a standard protocol for connecting tools. Just as USB-C gave electronic devices a universal connector, MCP gives AI agents a universal tool interface.

1226 字 阅读 ➔
Multi-Agent Architecture: The Art of Fork-Join Collaboration
Deep Thoughts · 2026-06-09 · 8 分钟

Multi-Agent Architecture: The Art of Fork-Join Collaboration

There’s a counterintuitive phenomenon: take the same model, split it into multiple independent instances, and have them collaborate — the result is often better than a single instance. Not more compute (three instances burn more total tokens than one), not more capability (every instance is the same model). The gain comes from role separation — when each agent attends to only one facet of the problem, it works with more focus and more depth than a “do-everything agent”.

1560 字 阅读 ➔
The Nature of Skills: Reusable Encapsulated Expertise
Deep Thoughts · 2026-06-05 · 7 分钟

The Nature of Skills: Reusable Encapsulated Expertise

If you’ve used Claude Code, you may have noticed the /skills command listing installed “skills”. Writing standards, architecture design methods, TDD workflows, code review strategies — it sounds like a plugin marketplace. Skills are not plugins. That’s the first and most important thing to understand about the Skill system. A plugin is code — it extends what the program can do. A Skill is a prompt — it extends what the model knows.

1459 字 阅读 ➔