GO TO A SECTION

↑ ↓ to navigate · Enter to openExplore all sections →
FDEInterviews logo
RecentarXiv preprint

Architectural Design Decisions in AI Agent Harnesses

A source-reading survey of 70 public agent projects that names the five decisions every harness makes. Its vocabulary is useful; several of its headline statistics cannot be reproduced.

Breakdown by FDE Interviews · 14 min read · Updated

About the original · 2026
AUTHORS
Hu Wei
FROM
No affiliation stated
PUBLISHED
Apr 2026 · arXiv preprint
CITED BY
5Semantic Scholar · Oct 2026
IN THIS BREAKDOWN · 10 SECTIONS

You can read 15% of this breakdown.

01

The paper in one minute

An agent is a model plus a great deal of ordinary software: code that registers tools, decides when to spawn a helper, keeps or compresses the conversation, runs commands somewhere safe, and sequences the work. This paper calls that layer the harness and asks a plain question. When you look at many real projects side by side, which design decisions keep coming up, and which ones travel together?

The author, Hu Wei, assembled 70 publicly available agent projects, froze the list on 23 March 2026, and read each one under a written protocol covering 14 modules, from the runtime loop to sandboxing and memory. The corpus includes OpenHands, Codex CLI, Gemini CLI, Cline, Goose, Docker's docker-agent, many smaller "claw" projects, and one source snapshot of Claude Code that the paper describes as leaked. LLM agents helped navigate repositories, and a human checked every coding decision against the code; a second review of 15 projects agreed on 94% of fields at first pass.

The result is a vocabulary of five dimensions: subagent architecture, context management, tool system, safety mechanisms and orchestration. For each, the paper reports how the 70 projects split. Then it reports which options appear together, which expected links do not appear, and five recurring project patterns. The vocabulary is the durable part. The statistics need care, for reasons covered further down.

THE IDEA, VISUALLY
FIVE DECISIONS EVERY HARNESS MAKES share of 70 projects choosing each option, as reported (Tables 4 to 9) Subagents none 30% then orchestrator-worker 19% Context hybrid 27% then files 23% Tools registry 34% then MCP-first 14% Isolation process 45% then container 31% Planning ReAct loop 50% then plan, then execute 35% ISOLATION IS COMMON, ACCOUNTABILITY IS NOT share of projects, as reported (Tables 7 and 8) isolate execution at all 83% isolate in containers or WASM 38% structured or tamper-evident audit 25% no audit trail at all 40% Container-isolated projects all had a policy engine; 23% of the rest did. Capability and governance travel together often, but not reliably. Descriptive survey, frozen 23 March 2026; the coded data behind the shares is not published.
Across 70 public agent projects, the common choices were no subagents, hybrid context, an explicit tool registry, process-level isolation and a ReAct loop. Most projects isolate execution somehow; few keep an audit trail you could rely on.
Research notes: the problem, approach and results
70

public agent projects coded from source, frozen on 23 March 2026

40%

of projects kept no audit trail of what the agent did, as reported

0.62

reported support for MCP-first tooling, which only 14% of projects use: a value the stated definition cannot produce

THE PROBLEM

Agent projects differ mostly in the engineering around the model: how they delegate, keep context, register tools, contain execution and sequence work. There was no shared vocabulary for comparing those choices across projects.

THE IDEA

Read the source of 70 public agent projects under a fixed protocol, code each one on five dimensions (subagents, context, tools, safety, orchestration), then look for options that recur together and for patterns of whole projects.

THE RESULT

Five dimensions and five project patterns, from lightweight tools to enterprise platforms. Process isolation was common and strong audit rare. The co-occurrence statistics are descriptive, partly inconsistent with the paper's own definitions, and rest on data that is not published.

02

Why it matters to an FDE

Customers rarely ask "which model?" for long. They ask whether the agent can touch their file share, what it remembers between sessions, who approves a refund, and what record exists when something goes wrong. Those are harness questions, and this paper gives you a checklist for them.

Use the five dimensions as a design review. For any agent you build or buy, write one line for each: does it spawn subagents, where does context live, how are tools registered, how is execution contained and audited, how is work sequenced. Gaps show up immediately.

Match the bundle to the job. The paper's patterns run from a single-loop personal tool to an enterprise platform with containers, policy engines and audit trails. A narrow internal tool does not need the enterprise bundle, and an agent that moves money cannot live with the lightweight one.

Do not assume capability brings controls. Projects with broad execution power did not reliably add approval and audit. Check for them explicitly; in this corpus, 40% of projects kept no audit trail at all, as reported.

Read framework comparisons skeptically. The paper itself shows how easily a comparison of frameworks produces confident numbers that cannot be checked. When a vendor or survey tells you most teams choose X, ask for the denominator and the data.

THE FULL BREAKDOWN

Understand the mechanism. Try it on a real problem.

Unlock this breakdown and 99 more papers.

Premium opens every paper in full, plus every answer, concept, course and guide on the site. One payment for six months of access.

6 months · One payment · No auto-renewal

Get Premium · ₹2,000 / $25
  • ◇1 architecture diagram
  • </>1 runnable code experiment
  • ▦3 results tables
  • ?5 interview questions with answers
  1. 03Key takeaways

    The design space option by option, the five project patterns, and the misreadings to avoid

    Free account
  2. 04How it works

    The protocol, the coding scheme, the co-occurrence metrics and how patterns were assigned

    Premium
  3. 05The numbers that matter

    The reported distributions, the co-occurrences, and which numbers survive a consistency check

    Premium
  4. 06Try it yourself

    Check a survey's tables against its own definitions, and see how noisy a lift is on 70 projects

    Premium
  5. 07Where it breaks

    The limits of a single-author, source-reading survey and what it cannot tell you

    Premium
  6. 08Using it on a deployment

    Turning the five dimensions into a harness review for a customer agent

    Premium
  7. 09Interview angles

    Five questions this paper prepares you for, with answer hints

    Premium
Back to the paper library →