Learn Harness Security¶
"The LLM is the CPU, the context window is RAM, and you're the operating system." — Andrej Karpathy, framing that's become the standard shorthand for agent infrastructure since mid-2025. By 2026 the sharper version of his argument (reported via a Sequoia masterclass on agentic engineering) was: optimize the harness, not the model.
A course on harness engineering for a specific, under-taught case: running an agent against adversarial, security-benchmark tasks (xbow/xben-style challenges) without the harness itself becoming the thing that gets exploited.
General agent-harness material — see
learn-harness-engineering
for a broad treatment — covers state, verification, scope, and lifecycle
for cooperative tasks, where the agent is trying to succeed and the
harness mostly keeps it honest and on-task. Security benchmarking flips the
assumption: the task itself may try to break out of its sandbox,
"verification" has to independently confirm an exploit worked rather than
trust the agent's report, and scope has to be adversarially sound, not just
a convenience boundary.
This course is built around that case, using an owned reference implementation — HCP, AgentCage, HarnessBench, VerifyLoop, ReceiptLedger, EvoBench — not a fork of any existing course.
Path through the course¶
flowchart TD
L01[L01 — Why security<br/>harnesses are different] --> L02[L02 — Scope as a<br/>security boundary]
L02 --> L03[L03 — Verification<br/>you can trust]
L01 -.beginner on-ramp.-> L04[L04 — Context is not free<br/>general intuition]
L04 --> L02
L03 --> L05[L05 — The four subsystems<br/>as a protocol]
L05 --> L06[L06 — Closing the loop:<br/>EvoBench]
L06 --> L07[L07 — Loop engineering]
L07 --> L08[L08 — Graph engineering:<br/>multi-target campaigns]
L08 --> P01[Project P01 —<br/>Verify, don't trust]
P01 --> E01[Experiment E01 —<br/>Pallas Model Shootout]
P01 --> E02[Experiment E02 —<br/>EvoBench end to end]
New to harness engineering entirely? Start at L04 — Context is not free for the general intuition, then come back to L01.
Already comfortable with context windows and tool calls? Start at L01 and read straight through to L06, then do Project P01 hands-on, then read both experiments — real data and a real passing test, not hypotheticals.
By the end: you'll have built (and run) a scope-enforced sandbox, an independently-verified toy exploit, and seen a real benchmark suite mine its own regression tests from a real failure — plus the vocabulary to reason about what changes when that single run becomes a continuous loop (L07) or a multi-target campaign graph (L08). Working-level familiarity with every piece, not just the theory.
Status¶
Early. 8 lectures, 1 hands-on project, 2 data-backed experiments, a skill, and a frontier harness breakdown. Treat this as a living draft — more is coming as the underlying tools mature.