# Harness as a Language: A Minimalist Agent Framework With Maximal Expressivity

- **ID:** 1072
- **Kind:** paper
- **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
- **Venue:** arXiv / MIT CSAIL
- **Publisher:** arXiv / MIT CSAIL
- **Published:** 2026
- **Source:** arxiv
- **Language:** en
- **Access:** free
- **License:** arXiv perpetual non-exclusive license 1.0; code github.com/jaz-lang/jaz (public)
- **License family:** Other (auto-classified)
- **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
- **Topics:** LLM agents; agent harness; invoke primitive; code-mode; long-horizon memory; continual self-improvement
- **Added:** 2026-09-26
- **Verified:** 2026-09-26
- **Research status:** done
- **Needs deep evaluation:** no
- **Page:** https://papers.projxon.ai/entries/1072

## 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.

## Attributes

- **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)

## From the source (fetched 2026-10-03)

- **Published:** Sep 22, 2026 (arXiv)
- **Last revised:** Sep 30, 2026 (arXiv)
- **arXiv categories:** cs.AI (arXiv)
- **Author comment:** 26 pages, 3 figures; accepted to NeurIPS 2026 TTCL Workshop (arXiv)
- **Citations:** 0 (Semantic Scholar)
- **References:** 43 (Semantic Scholar)

## Abstract

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.

## 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

- [Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memory](https://papers.projxon.ai/entries/549) (paper 2025, #549)
- [GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learning](https://papers.projxon.ai/entries/648) (paper 2025, #648)
- [Agentic Context Engineering: Evolving Contexts for Self-Improving Language Models](https://papers.projxon.ai/entries/947) (paper 2025, #947)

## Similar entries

- [NVIDIA-labs OO Agents: Native Python Object-Oriented Agents](https://papers.projxon.ai/entries/666) (paper, #666)
- [Recursive Language Models](https://papers.projxon.ai/entries/589) (code, #589)
- [AREX-2: Advancing Self-Improving Agents through Long-Horizon Reflective Tasks](https://papers.projxon.ai/entries/866) (paper, #866)
- [AutoCompact: Learning When to Compact Context in Long-Horizon Coding Agents](https://papers.projxon.ai/entries/1211) (paper, #1211)
- [RRSI: Regularized Recursive Self-Improvement of Agent Harnesses](https://papers.projxon.ai/entries/1026) (paper, #1026)
- [Huxley-Gödel Machine: Human-Level Coding Agent Development by an Approximation of the Optimal Self-Improving Machine](https://papers.projxon.ai/entries/539) (paper, #539)
