Skip to content

Agent Harnesses

18 questions
0 of 18 done · 5 unlocked for you
DONEUNLOCKEDLOCKED

Agent Harnesses Interview Questions

The complete runtime around a model: the loop, file and shell tools, permissions, the session log, context management, subagents, skills and hooks. How open harnesses such as DeepSeek Harness are built, how research such as Harness² improves a harness without retraining the model, and how to tell whether a harness change actually helped.

Worked answers that trace the run, put each decision on the right side of the authority line, and end with the follow-ups and scoring a panel applies.

You have 5 free answers unlocked here.Sign in free for 1 more · 12 are premium.
01–08Foundationsthe mechanisms behind this topic, and the terms a panel uses for them0/8 done
09–15Core questionsthe questions this topic is most often tested on, with full worked answers0/7 done
16–18Field scenariosopen-ended designs, incidents and trade-offs where you must state what is missing0/3 done
PRACTICE TESTStudied this track? Prove it: a timed Agent Harnesses test.fresh items every sitting · explanations for every answer · easy items free with an accountStart →

The concepts behind Agent Harnesses

Lessons behind these answers. The opening lessons are free; deeper ones are Premium.

Foundational
Anatomy of an Agent HarnessAn agent harness is the complete runtime around a model: the loop that calls it, tools for files, shells and search, a permission layer that decides which calls run, an append-only session log from which every model request can be rebuilt, context management that clears and compacts history, subagents for isolated work, skills that package procedures, hooks at fixed events, and a sandbox. Coding agents made harnesses visible, and 2026 brought open harnesses such as DeepSeek Harness and research such as Google's Harness², which improves agents by editing the harness rather than the model.
Core
Sign in
DeepSeek Harness and the Everything-Is-a-Plugin DesignDeepSeek Harness, run as dsh, is an MIT-licensed developer preview built on the Cordis plugin framework. Its architecture has no privileged core: the model adapter, tool registry, session log and agent loop are all plugins, grouped into profiles such as web, headless, sdk and acp. A step is one model request plus the tools it calls; a turn is zero or more steps, announced by events from turn start to turn end. The session is an append-only event log, versioned on disk, and every model request must be reconstructable from it.
Advanced
🔒 Premium
Improving the Harness, Not the Model: Harness²Harness² (arXiv 2610.14224, October 2026; Google Cloud AI Research with Northwestern University; Apache-2.0 code, not an officially supported Google product) treats an agent's harness as eight editable components while the model stays frozen. For each task it runs the current harness, proposes a general and a domain-specific candidate, runs both, contrasts trajectories and outputs, and composes the supported edits. A library of harnesses and lessons carries improvements forward. With frozen executors it reported gains such as 64.2 to 75.7 on one benchmark, and it lists limits: run-to-run randomness, shared model biases and extra cost.
Foundational
AGENTS.md and Agent SkillsTwo open formats shape what an agent knows before it acts. AGENTS.md, stewarded by the Agentic AI Foundation and read by many coding agents, is ordinary Markdown with build commands, conventions and boundaries; nested files apply to their subtree and the closest one wins. Agent Skills, developed by Anthropic and released as an open standard, are folders with a SKILL.md (required name and description, optional license, compatibility, metadata and allowed tools) plus scripts, references and assets. Progressive disclosure loads metadata first, the body on activation and files on demand. Both are context, not authority.
Advanced
🔒 Premium
How a Harness Decides What Runs: Permission Rules, Modes and HooksA harness turns each proposed tool call into allow, ask or deny. Hooks can rule first; rules are then checked deny before ask before allow, so a broad deny beats a narrow allow; a compound shell command runs only if every part is allowed; the mode supplies the default when no rule matches; and with nobody to ask, ask becomes deny. Hooks also rewrite input, add context, check results and can refuse to let a turn end. Rules and hooks are policy and feedback, not a boundary: the same effect has many spellings.
Unlock all 18 answers · $25

All 19 topics with every worked answer, all lessons and courses, the full practice bank, and anything new that appears during your access.

6 months · One payment · No auto-renewal