ToFu: A White-Box, Token-Efficient Agent Harness for Researchers

Junhao Ruan, Yuan Ge, Bei Li, Yongjing Yin, Yuchun Fan +5 more
7/13/2026
cs.CL

No confident code implementation found for this paper.

Abstract

Agentic coding tools present new opportunities to transform research workflows. The performance of agent systems built depends on both large language models (LLMs) and the harness around LLMs, which is the orchestration code that determines an agent's behavior.

Show full abstract

We present ToFu, an agentic harness for researchers that reads your codebase, edits files, runs commands, and integrates with your development tools. ToFu plays a dual role in research. As a research assistant, it supports practical research workflows with superior token efficiency, lower cost, and multilingual capability compared with existing agentic harnesses. Its release under the MIT License further enables local deployment for privacy-sensitive users. As a research object, ToFu provides a white-box agentic harness that allows researchers to inspect, modify, and evaluate its orchestration logic, tool-use behavior, and harness design, while retaining strong benchmark performance and an application-level user experience.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{ruan2026tofu,
  title  = {ToFu: A White-Box, Token-Efficient Agent Harness for Researchers},
  author = {Junhao Ruan and Yuan Ge and Bei Li and Yongjing Yin and Yuchun Fan and Xin Chen and Jingang Wang and Chenglong Wang and Jingbo Zhu and Tong Xiao},
  year   = {2026},
  eprint = {2607.11423},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.11423v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2607.11423.svg)](https://codeofpaper.com/paper/2607.11423)

Discussion