Search papers, labs, and topics across Lattice.
ToFu is an innovative agentic harness designed to enhance research workflows by leveraging large language models (LLMs) for tasks such as code reading, file editing, and command execution. It significantly improves token efficiency and reduces costs while offering multilingual capabilities compared to existing solutions. By providing a white-box framework, ToFu allows researchers to inspect and modify its orchestration logic, ensuring both transparency and high performance in practical applications.
ToFu achieves superior token efficiency and cost-effectiveness in agentic coding, all while empowering researchers with a transparent, modifiable framework.
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. 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.