{
  "id": 1243,
  "kind": "post",
  "title": "The Anatomy of an Agent Harness",
  "summary": "Synthesis of how Anthropic, OpenAI, LangChain, and Perplexity actually structure production agents - identifying 12 production-grade harness components (cited as the canonical reference by projects like Mnemosyne, which audits itself row-by-row against it). Framed the field's three-phase trajectory: competing on model weights, then context engineering, then harness engineering - each stage widening what the practitioner is responsible for shaping. LangChain's Vivek Trivedy formalized the companion distinction: 'If you're not the model, you're the harness.' The harness is the runtime shipped as a product (loop engine, tool registry with schemas/permissions/errors, state/memory persistence, control loop, verification layer, recovery policy, budget manager); you configure it, you don't construct it.",
  "body": "",
  "notes": "Discovery: @akshay_pachaar (Akshay Pachaar, co-founder @dailydoseofds, ex-LightningAI) X quote post 2026-10-04 8:30 AM ET (https://x.com/akshay_pachaar/status/2106723534429184017), 14.9K views | Article also published on dailydoseofds.com (April 6, 2026) | Referenced by: Mnemosyne HARNESS.md audit, ravenclaude concepts docs, twinaatma Claude Code architecture deep-dive | Companion: catalog 920 (The ultimate guide to multi-harness RL) - same post shared that guide again",
  "url": "https://x.com/i/article/2041146899319971922",
  "links": [],
  "authors": [
    "Akshay Pachaar"
  ],
  "tags": [
    "agent-harness",
    "harness-engineering",
    "production-agents",
    "claude-code",
    "codex",
    "langchain",
    "tool-registry"
  ],
  "topics": "agent harness, harness engineering, production agents, Claude Code, Codex, context engineering",
  "venue": "dailydoseofds.com + X Article, Apr 2026",
  "publisher": "",
  "source": "x",
  "language": "en",
  "access": "free",
  "license": "",
  "published_year": 2026,
  "added_at": "2026-10-04T00:00:00.000Z",
  "verified_at": "2026-10-04T00:00:00.000Z",
  "attrs": {},
  "enrichment": {},
  "enriched_at": null,
  "license_class": "unknown",
  "langs": [
    "en"
  ],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "channel": "random-papers",
    "legacy_paper_id": "1552"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-10-04T20:45:45.224Z",
  "updated_at": "2026-10-04T20:45:45.224Z",
  "page": "https://papers.projxon.ai/entries/1243",
  "markdown": "https://papers.projxon.ai/entries/1243.md",
  "api": "https://papers.projxon.ai/api/entries/1243",
  "relations": [],
  "duplicates": [],
  "similar": [
    {
      "id": 839,
      "kind": "post",
      "title": "The ultimate guide to multi-harness RL",
      "summary": "The ultimate guide to multi-harness RL (Adithya S Kolavi / FineEnvs, Hugging Face Space, 2026-10-01). Not a paper: a 33-figure ~60-page interactive research article plus full artifact release documenting how to do RL across multiple agent harnesses without modifying them -- claiming the first public multi-harness agent RL pipeline. Core idea: a 'capture proxy' sits between the agent harness and vLLM, speaks the four API formats coding agents use (OpenAI Chat Completions, OpenAI Responses, Anthropic Messages, Gemini), records exact token ids/logprobs sampled by vLLM, and reconstructs TRL-trainable traces, so the same rollouts run unmodified through 10+ harnesses. Full GRPO runs: LFM2.5-2.6B trained with multi-harness RL on 1,000 SmolDataEnvs data-analysis tasks, evaluated on 250 held-out tasks under four harnesses: base 42.2% -> multi-harness RL 54.2% pass@1 overall (step 1,000; best checkpoint step 700: 54.6%); per-harness OpenCode 49.6%, Claude Code 48.8%, Codex 53.6%, Mini-SWE-Agent 64.8%. OpenCode-only RL (step 900) reached 52.4% overall and won on its home harness (56.0%) but lost to multi-harness RL on Claude Code and Codex. Tool efficiency: correctness-only reward keeps tool calls high; adding a small bonus for fewer calls cut tool calls 31.1% on 356 task/harness pairs solved by both base and model, savings in all four harnesses. SFT comparison: fine-tuning on 3,189 successful Qwen3.8-27B teacher rollouts (17,929 examples, 2 epochs) plateaued -- OpenCode SFT 47.5% (-8.5% calls), multi-harness SFT 43.1% (-24.2% calls), both below RL (54.6%), showing multi-harness RL beats imitation at both performance and efficiency. Setup: async GRPO (TRL Async GRPO), 1,000 steps, reward = correctness x (1 + 0.1x15/(15+tool_calls)), 8 rollouts per GRPO group (one harness each, rotating), on 2xH100 (~32h OpenCode-only, 46h multi-harness); rollouts in E2B sandboxes via OpenEnv + Harbor. OpenEnv is BSD-3-Clause (PR #1036 capture proxy + Harbor, PR #1280 typed TrainingTrace API); TRL PR #6947 HarnessRolloutWorker (on TRL main, not v1.14.1). Trained models (full weights) under LFM Open License v1.0: LFM2.5-2.6B-multiharness-RL, -opencode-RL, -multiharness-SFT, -opencode-SFT, Qwen3.5-2B variants. Caveat from the model card: best-checkpoint selection used the test set (no separate validation set); single-run results on fixed harness versions.",
      "url": "https://huggingface.co/spaces/FineEnvs/multi-harness-rl",
      "authors": [
        "Adithya S Kolavi (FineEnvs / Hugging Face)"
      ],
      "tags": [
        "multi-harness-rl",
        "agent-harnesses",
        "grpo",
        "trl",
        "openenv",
        "vllm",
        "capture-proxy",
        "claude-code",
        "codex",
        "opencode",
        "tool-efficiency",
        "sft-vs-rl",
        "smoldataenvs",
        "harbor",
        "agentic-rl"
      ],
      "venue": "Hugging Face Space, 2026-10-01",
      "source": "article",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-01T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/839",
      "markdown": "https://papers.projxon.ai/entries/839.md",
      "api": "https://papers.projxon.ai/api/entries/839"
    },
    {
      "id": 1221,
      "kind": "paper",
      "title": "RankEvolve: A Reliable Multi-Agent Auto-Research Harness for Evolving Ranking Models",
      "summary": "Auto-research agents (propose/implement/train/evaluate model changes across iterations) are bottlenecked by execution accuracy: a silently leaked eval set, omitted normalization, disconnected gradient, or unwired train/eval flag can invalidate expensive runs and compound errors. RankEvolve's fix: (i) an Executable Operating Protocol (EOP) declaring research phases, gates, branches, and loops, with the runtime enforcing the compiled state machine; (ii) a meta-meta-harness composing complete black-box coding-agent products (Claude Code, Codex) as execution-graph nodes that review and repair each other's work; (iii) a knowledge layer carrying findings, including negative results, across iterations. Budget-matched evaluation: heterogeneous composition raises all-oracle execution accuracy from 45.8% (best single product) to 62.5% (paired +16.7 pts, 95% CI [6.6, 26.7]) with a 10.4% silent critical-defect rate. Twelve-iteration deployment on the open-source HSTU recommender: NDCG@10 0.2192 on MovieLens-20M LARGE (+4.48% over published anchor), 0.1948 on BASE (+2.80%). ExecML-HSTU (seeded by deployment incidents) provides the oracle benchmark; a pre-specified LitGPT transfer split replicates the composition effect (+12.5 pts), and a paired ablation isolates per-step vs full-protocol instruction injection. Directly relevant to the user's agent-harness work and Model Axes eval thinking.",
      "url": "https://arxiv.org/abs/2609.39551",
      "authors": [
        "Zheng Chen",
        "Linfeng Liu",
        "Hong Li",
        "Hong Yan"
      ],
      "tags": [
        "rankevolve",
        "auto-research",
        "harness",
        "multi-agent",
        "execution-accuracy",
        "recommender",
        "claude-code",
        "codex",
        "execml-hstu"
      ],
      "venue": "arXiv:2609.39551 (cs.AI), submitted 30 Sep 2026",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-04T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1221",
      "markdown": "https://papers.projxon.ai/entries/1221.md",
      "api": "https://papers.projxon.ai/api/entries/1221"
    },
    {
      "id": 1249,
      "kind": "paper",
      "title": "Raven: The Harness of Harnesses for Composable Agentic Intelligence",
      "summary": "Open-source multi-agent ecosystem that automatically constructs and evolves modular agent harnesses for specific models and domains, treating each executable model-harness pair as a composable unit of intelligence. Harness components are diagnosed, mutated, and recombined from failures; a candidate replaces the current harness only after passing a statistical check. A Host Agent decomposes goals into a task graph and routes parts to specialized model-harness pairs (research, code, design, on-call); a host archive and EverOS preserve experience across tasks and Skill Forge makes it available as reusable procedures. Theory gives sufficient conditions for composition to expand reliable task coverage beyond the individual agents under a shared resource budget. With DeepSeek-V4-Flash, the research harness scores 69.3% on BrowseComp and 60.0% on Humanity's Last Exam (vs at most 62.4%/43.3% for two other harnesses on the same model); a curated skill library raises SkillsBench Pass@1 from 9.2% to 22.6%.",
      "url": "https://arxiv.org/abs/2609.33439",
      "authors": [
        "EverMind AI"
      ],
      "tags": [
        "multi-agent",
        "agent-harness",
        "harness-evolution",
        "task-decomposition",
        "browsecomp",
        "evermind-ai",
        "composable-agents"
      ],
      "venue": "arXiv 2609.33439 [cs.AI/cs.MA], submitted 27 Sep 2026, preprint",
      "source": "x",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-04T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1249",
      "markdown": "https://papers.projxon.ai/entries/1249.md",
      "api": "https://papers.projxon.ai/api/entries/1249"
    },
    {
      "id": 1072,
      "kind": "paper",
      "title": "Harness as a Language: A Minimalist Agent Framework With Maximal Expressivity",
      "summary": "MIT CSAIL paper (Li/Liu et al.; arXiv 2609.26891v1) introduces JAZ: an agent framework whose sole LLM primitive is invoke — the model writes arbitrary executable code (including recursive invoke) while all inputs and REPL history are REPL variables. With prompting only (no external memory/tools/file system), JAZ beats Letta (MemGPT) by ~8% at half cost on StuLife far-recall (69.9% vs 61.8% pass; $18.3 vs $42.1) and beats ACE by ~4% at lower cost on AppWorld continual self-improvement (TGC 74.2% vs 69.9%). Hooks (budget, return-type, context-window warning, tracing) and dynamic scope add constraints without bloating the core loop. Code: jaz-lang/jaz + jaz-evals.",
      "url": "https://arxiv.org/abs/2609.26891",
      "authors": [
        "Zhening Li",
        "Joshua Liu",
        "Mateja Vukelic",
        "Nicole Shen",
        "Supriya Lall",
        "Amitayush Thakur",
        "Alex Zhang",
        "Omar Khattab",
        "Jonathan Light",
        "Armando Solar-Lezama"
      ],
      "tags": [
        "jaz",
        "invoke",
        "agent-harness",
        "code-mode",
        "codeact",
        "rlm",
        "long-horizon",
        "stulife",
        "memgpt",
        "letta",
        "appworld",
        "ace",
        "self-improvement",
        "mit-csail",
        "solar-lezama",
        "khattab",
        "omarsar0",
        "arxiv-2609.26891"
      ],
      "venue": "arXiv / MIT CSAIL",
      "source": "arxiv",
      "license": "arXiv perpetual non-exclusive license 1.0; code github.com/jaz-lang/jaz (public)",
      "published_year": 2026,
      "added_at": "2026-09-26T15:18:00.000Z",
      "has_dataset_profile": false,
      "license_class": "other",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1072",
      "markdown": "https://papers.projxon.ai/entries/1072.md",
      "api": "https://papers.projxon.ai/api/entries/1072"
    },
    {
      "id": 1262,
      "kind": "paper",
      "title": "SelfSearch: Reward-Free Search for Self-Improving Agents",
      "summary": "Reward-free search procedure in which a coding agent rewrites its own harness (instructions, tools, execution procedures) using records of previous self-improvement episodes, which capture the reasoning, tool actions, and outcomes of earlier modification attempts; the modified agent then becomes the next improver. Avoids the cost and task-tied search of repeated downstream evaluation required by existing self-improvement approaches. Without downstream reward signals during search, population-mean success improves over the initial agent in all six model-benchmark settings, with individual agents gaining up to 11.2 percentage points on Terminal-Bench 2.1. On SWE-bench Multilingual, one evolved agent gains 5.0 percentage points while reducing execution cost by 38.5% on tasks solved by both versions. Achieves competitive success with evaluation-guided search baselines at lower search cost: with only $4.03 in search cost it produces a harness solving 82.0% of Terminal-Bench 2.1 tasks with DeepSeek V4 Flash under a public nine-harness comparison's settings, matching the top-scoring harness Codex.",
      "url": "https://arxiv.org/abs/2609.37968",
      "authors": [
        "Jungwoo Yang",
        "Injin Kong",
        "Yohan Jo"
      ],
      "tags": [
        "selfsearch",
        "self-improving-agents",
        "harness-engineering",
        "reward-free-search",
        "terminal-bench",
        "seoul-national-university"
      ],
      "venue": "arXiv 2609.37968 [cs.AI], submitted 29 Sep 2026, v2 30 Sep 2026, preprint",
      "source": "x",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-05T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1262",
      "markdown": "https://papers.projxon.ai/entries/1262.md",
      "api": "https://papers.projxon.ai/api/entries/1262"
    },
    {
      "id": 1026,
      "kind": "paper",
      "title": "RRSI: Regularized Recursive Self-Improvement of Agent Harnesses",
      "summary": "RRSI regularizes BOTH proposal (annealed L0-style edit budget, evidence-aware credit, structured exploration on stall) AND selection (leakage critic, noise-adjusted floor, Ridge-style cost-aware acceptance, L1-style structural pruning) while keeping the harness fully editable. Evaluated on 8 benchmarks across 3 domains. Key numbers: up to +14.1 evolve (Gemini 3.5 Flash on Terminal-Bench 64.6→78.7); up to +4.7 OOD; ~30% fewer policy tokens than unregularized evolution. Claude Opus 4.8 frozen policy main; SWE-bench Verified 82.0→83.8 OOD; Harvey LAB evolve 90.5, OOD avg JobBench/GDPval/APEX 43.6 vs H0 39.7; ablation removing regularizers raises evolve but hurts OOD. Baselines: Meta-Harness, AHE, TTHE, HarnessX. Code MIT-style at google-research/rrsi.",
      "url": "https://arxiv.org/abs/2609.24972",
      "authors": [
        "Peng Xia (Google Cloud AI Research",
        "Student Researcher)",
        "Rujun Han",
        "Zifeng Wang",
        "Yanfei Chen",
        "Yufan Zhang",
        "Yoonho Lee (Stanford)",
        "Chengsong Huang (WUSTL)",
        "Han Yu",
        "Zhongying CuiZhu",
        "Yifei Ming",
        "Huaxiu Yao (UNC-Chapel Hill)",
        "Burak Gokturk",
        "Tomas Pfister",
        "Chen-Yu Lee (Google Cloud AI Research). Work done while Xia was Student Researcher at Google Cloud AI Research."
      ],
      "tags": [
        "rrsi",
        "recursive-self-improvement",
        "agent-harness",
        "regularization",
        "ood-transfer",
        "google-cloud-ai",
        "terminal-bench",
        "swe-bench",
        "harvey-lab",
        "meta-harness",
        "harnessx"
      ],
      "venue": "Google Cloud AI Research / arXiv / AlphaXiv",
      "source": "arxiv",
      "license": "Code MIT-style (google-research/rrsi); paper arXiv preprint",
      "published_year": 2026,
      "added_at": "2026-09-24T01:58:00.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 2,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1026",
      "markdown": "https://papers.projxon.ai/entries/1026.md",
      "api": "https://papers.projxon.ai/api/entries/1026"
    }
  ]
}
