28 chapters · 6 layers · upstream@47f9438

Read an agent harness
as a transferable architecture skill

Start with why this is more than a while loop, then travel through Cordis composition, turns and steps, event truth, guarded tools, compaction, projections, subagents, workflows, and finally your own safe extensions.

Plain intuitionReal event flowAuditable sources
Six modular capability islands connected to a central reasoning core
Research baselinedeepseek-harness@47f94382026-08-13 · developer preview
01

Not a source paraphrase

We explain why the design exists before tracing events, boundaries, and trade-offs.

02

Not a floating snapshot

Every claim is calibrated to upstream 47f9438: 49 package families and 324 docs.

03

Not passive reading

Every chapter has an interactive mechanism, invariants, failure modes, a check, and an explicit bridge.

ARCHITECTURE ATLAS

See the system before the files

Forty-nine package families are not forty-nine islands. Six planes put complexity into understandable drawers.

Six-plane architecture atlas SOURCE ALIGNED
Profile · Bundle · Patch · Cordis

Composition plane

Decides which plugins exist, how they layer, and how they unwind.

bootbundlepresetextensions
GUIDED CURRICULUM

One conceptual step per chapter, without staying shallow

View the learning route
01
Explain the boundary between model, agent, and harness

Build the mental model

Understand the problem before studying how complexity is divided.

4 chapters
02
Read why a real plugin tree can mount, replace, and unwind

Learn the composition grammar

Read the system through Cordis contexts, effects, services, events, scopes, and config trees.

5 chapters
03
Explain a complete model request event by event

Trace the agent spine

From agent creation through SessionEvent, turns, steps, prompts, LLMs, and tools.

6 chapters
04
Judge whether the system stays trustworthy under denial, crashes, cancellation, and long context

Understand safety and durability

Approval, sandboxing, filesystem policy, compaction, persistence, projections, and invariants.

5 chapters
05
Separate state, delegation, orchestration, and long-running work

Scale beyond one agent

Goals, plans, todos, subagents, jobs, workflows, schedules, and capability discovery.

4 chapters
06
Ship a capability without patching the agent loop

Build and ship extensions

Turn understanding into tools, adapters, client surfaces, profiles, and bundles.

4 chapters
FROM READER TO BUILDER

Trace one run, explain every boundary, then build your own composition.

Chapter one takes twelve minutes and starts by separating a harness from an agent loop.

Start deep dive
Learn DeepSeek Harness

An independent learning project. Explanations derive from source; upstream remains authoritative.