MemoHarness: Optimizing the Agent Harness
omarsar0 · x · 2026-07-17
This paper focuses on optimizing the agent harness—the external control layer that turns a base LLM into an executable agent.
The core method, MemoHarness, decomposes the harness along the inference process into 6 editable control planes: context, tools, generation, orchestration, memory, and output. Without relying on test-time labels, feedback, gradient updates, or additional search, the system adapts to new cases by retrieving similar historical cases based on diagnostics and cross-case patterns.
It achieves a score of 0.806 on the shell-agent benchmark, outperforming the strongest fixed harness baseline at 0.722, while maintaining a lower per-task cost than the most powerful commercial baseline compared in the text.
More from coding & agent
- Travel MCP Server adds flight, hotel, weather and budget tools for agents — modelcontextprotocol · 2026-07-21
- OpenAI hackathon project stalls as Codex struggles on voice, while Claude spots the issue — ColleenMBrady · 2026-07-21
- Douyin Video Analysis MCP turns share links into structured video summaries — modelcontextprotocol · 2026-07-21
- An indie builder open-sourced 50+ AI apps and says users should only pay for tokens — matchaman11 · 2026-07-21
- Shared agent workspaces fail in a fixed order, from stale reads to zombie writes — mrvladp · 2026-07-21
- pi 0.81.0 adds first-class integration with llama.cpp server — huggingface · 2026-07-21