Architecture Atlas

DeepSeek Harness 地图

The 3D map needs a bigger screen. Same 22 plots, grouped into seven territories.

Architecture Dissection

The Driver

The loop and the handful of services it declares a dependency on. The loop itself is 1,643 lines; the ring around it is the product.

Model & Context

Everything that decides what the model sees: which model to call, what to do when the window fills up, how outside material gets in.

Doing & Delegating

How the agent acts on the world: reading and writing files, running commands, confining processes, sending out sub-tasks.

The Ports

The outward-facing side: typed RPC, editor and external-tool protocols, the browser UI.

Composition & Self-Editing

This is where the product's shape is decided — as data, not code. It's also where the model can edit itself.

Bedrock

The plugin framework itself. 3,830 lines total, and the whole map rests on these two.

Process Island

Not part of the runtime, yet probably the most portable part of all — plus the real bill this architecture runs up.