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.
- Venue
- arXiv / MIT CSAIL
- Publisher
- arXiv / MIT CSAIL
- Source
- arxiv
- Access
- free
- License
- arXiv perpetual non-exclusive license 1.0; code github.com/jaz-lang/jaz (public)
- License family
- Other
- Language
- en
- Purpose
- Show a minimal agent loop with one primitive (invoke) can replace specialized memory and self-improvement harnesses via prompting alone.
- Scale
- StuLife 1284 tasks (939 graded; 207 far-recall); AppWorld test-challenge 417 tasks; GPT-5.4 nano long-horizon / GPT-5.4 meta + nano solvers for CSI; n=3 StuLife, n=6 AppWorld CSI; 25 pages
- Domain
- LLM agents; agent harness; invoke primitive; code-mode; long-horizon memory; continual self-improvement
- Used for
- Minimal code-mode agent harness design; long-horizon recall via tail-recursive delegation; continual self-improvement meta/solver split; hook-based constraints
- Time period
- arXiv 2609.26891v1 published 2026-09-22; X @omarsar0 2026-09-26T12:40:02Z; cataloged 2026-09-26
- Author type
- academia (MIT CSAIL; Independent Researcher coauthors)
- Added
- Sep 26, 2026
- Verified
- Sep 26, 2026
- Research status
- done
From the source
- Published
- Sep 22, 2026
- Last revised
- Sep 30, 2026
- arXiv categories
- cs.AI
- Author comment
- 26 pages, 3 figures; accepted to NeurIPS 2026 TTCL Workshop
- Citations
- 0
- References
- 43
Abstract (from arXiv)
Modern language-model agents are built around the agent loop: the LLM is placed in an environment exposing a set of tools, and the LLM has full control over the workflow by alternating between tool calls and observing their output. However, certain capabilities such as long-term memory and self-improvement currently require specialized systems beyond the agent loop itself. We built an LLM agent framework, JAZ, to explore the extent to which a minimal harness that is little more than the agent loop itself can accomplish tasks these specialized systems are built for. JAZ exposes a single LLM-based primitive `invoke` and provides a set of built-in hooks that allow the programmer to apply constraints and perform monitoring. Generalizing existing code-mode agent loops, `invoke` is the simplest loop that satisfies two defining properties: (1) the LLM can write arbitrary executable code that can include recursive `invoke`; (2) everything visible to the LLM - all inputs to `invoke` as well as its interaction history with the code environment - are variables in the code environment. We motivate our design from first principles, viewing `invoke` as a language primitive representing a function whose implementation is provided at runtime by an LLM every time it is called. To validate the design of our core `invoke` primitive, we evaluate `invoke` - with only prompting, no manually designed tools, harness, or external systems (e.g., memory or the file system) - on workflows traditionally implemented through specialized harnesses. On long-horizon workflows requiring recall far beyond the context window, JAZ `invoke` outperforms Letta (MemGPT) by 8% at half its cost on the recall-heavy portion of StuLife. On continual self-improvement, JAZ `invoke` outperforms ACE by 4% at a lower cost on AppWorld.
Tags
Topics
LLM agents; agent harness; invoke primitive; code-mode; long-horizon memory; continual self-improvement
Research notes
- Hudson user-fed 2026-09-26. X https://x.com/omarsar0/status/2103826930181308720 (@omarsar0 / elvis; created 2026-09-26T12:40:02.000Z). note_tweet links Paper https://arxiv.org/abs/2609.26891 and DAIR explore page; photo media_key 3_2103826926624464896. Dump /workspace/curator/research/jaz-agent-omarsar0-2103826930181308720-20260926/ (NOTES.md, thread.txt, meta.json, arxiv_api.xml, arxiv_abs.html, paper.pdf, photo.jpg). Dedup clean for 2609.26891 / JAZ harness-as-language / omarsar0 / status id. Note 1489 is Coding Agent Harnesses (2609.20804) — different paper.
Cites, within this collection
Similar entries
- Paper NVIDIA-labs OO Agents: Native Python Object-Oriented Agents
- Code Recursive Language Models
- Paper AREX-2: Advancing Self-Improving Agents through Long-Horizon Reflective Tasks
- Paper AutoCompact: Learning When to Compact Context in Long-Horizon Coding Agents
- Paper RRSI: Regularized Recursive Self-Improvement of Agent Harnesses
- Paper Huxley-Gödel Machine: Human-Level Coding Agent Development by an Approximation of the Optimal Self-Improving Machine