MatOS: An Agent Operating System for Materials Research

Dingyang Lyu, Jing Gao, Zhonghao Chang, Jingjie Huang, Xiangran Cheng, Xin He, Yongda Huang, Zefeng Li, Jiahui Liu, Jian Wen, Feng Yu, Bonan Zhu, Yongheng Li, Hongwei Du, Baole Wei, Ziheng LuarXiv 2026 · arXiv

TL;DR

MatOS is a novel "agent operating system" that treats materials research capabilities—data, tools, and workflows—as modular, reusable, and evolving "scientific assets." By providing a stateful runtime with explicit scientific checks, it enables LLM agents to reliably execute long-horizon research tasks and continuously improve their own methods through experience.

What Problem Does This Paper Address?

Modern materials science is a multi-disciplinary marathon. A single study might involve scouring literature, running high-throughput density functional theory (DFT) simulations, and performing experimental characterization—a process that can span days or weeks.

While Large Language Model (LLM) agents have shown promise in automating parts of this loop, they face three major hurdles:

  1. Extensibility: Integrating a new simulation code or database usually requires hard-coding new tool functions or rebuilding the entire agent pipeline.
  2. Reliability: In long-running tasks, errors propagate. If an agent drifts off-track on day two of a three-day run, the whole experiment often fails without a way to resume or trace the error.
  3. Evolution: Agents struggle to capture "tacit knowledge"—the unwritten rules of thumb (like specific simulation timescales) that human researchers learn through trial and error.

Methods

The authors propose MatOS, which shifts the paradigm from "building an agent" to "building an operating system for agents." Its architecture is built on three pillars:

  • Layered Scientific Asset Graph: Instead of a flat list of tools, MatOS organizes capabilities into six types: Data (D), Knowledge (K), Tools (T), Skills (S), Roles (R), and Workflows (W). These are linked in a graph where "Roles" (specialized agents) can "mount" specific skills and tools to perform tasks.
  • Stateful Adaptive Workflow: Research tasks are executed as explicit graphs (DAGs or state machines). Crucially, this runtime includes "Guard" nodes that perform scientific checks on intermediate results. Because the state is persistent, long-running tasks can be paused, resumed, and audited.
  • Evidence-Driven Asset Evolution: After a task, MatOS critiques its own performance. If a failure occurred or a better method was found, it proposes an edit to the relevant "Asset" (e.g., updating a Python script or a knowledge guide). These revisions undergo "Dual Acceptance"—a structural check for code validity and a semantic review by an LLM to ensure scientific soundness.
Overview of the MatOS architecture, showing the interaction between the asset graph, the workflow runtime, and the evolution cycle.

Datasets

The system was evaluated across three distinct levels of complexity:

  • ResearchClawBench: A benchmark for end-to-end autonomous research tasks derived from published papers.
  • MatTools: Tests the agent's ability to use specialized materials science software (like pymatgen).
  • SciAgentGym: A multi-step scientific tool-use environment with over 1,700 domain tools.

Additionally, the authors utilized massive external datasets within their "Data Assets," including Materials Project, Alexandria (30 million structures), and MPtrj.

Key Insights and Ideas

  • The OS Analogy: By treating research capabilities like files and processes in an OS, MatOS makes the agent's "brain" modular. You don't need to retrain the LLM to teach it a new simulation technique; you just register a new "Skill" asset.
  • Decoupling Learning from Model Weights: MatOS evolves by updating external assets (code, prompts, documentation) rather than fine-tuning the underlying LLM. This makes the "learning" interpretable and verifiable by human researchers.
  • Scientific Guardrails: The use of explicit "Guard" nodes (see Figure 3) ensures that the agent doesn't just hallucinate progress. It must pass physical or procedural checks before the workflow advances.
The stateful adaptive workflow uses explicit execution graphs and "Guard" nodes to ensure task reliability.

Key Results

MatOS demonstrated significant performance gains over state-of-the-art baselines:

  • Benchmark Performance: On ResearchClawBench, MatOS improved upon the best-performing agent (MIRA) by 11.15% using the same base model. It also outperformed specialized coding agents like Codex CLI and Claude Code on MatTools and SciAgentGym.
  • Cost-Score Frontier: MatOS configurations extended the Pareto frontier, achieving higher research quality scores at lower or comparable execution costs compared to baselines.
  • Real-World Impact: In practical research cases, MatOS:
  • Narrowed 30 million candidate structures down to 97 high-potential solid-electrolyte candidates.
  • Developed an alloy melting-temperature model with 13.6% lower error than the best baseline.
  • Identified 89 halide variants with higher conductivity than their parent structures.
ResearchClawBench results showing MatOS extending the cost-score Pareto frontier.

Limitations and Future Work

While MatOS represents a leap forward, the authors acknowledge several areas for growth:

  • Tacit Knowledge Capture: While the asset evolution system can update code and guides, capturing the full nuance of human experimental intuition remains a challenge.
  • LLM Dependency: The "Critic" and "Semantic Reviewer" components are still LLM-based, meaning the system's ability to self-correct is limited by the reasoning capabilities of the underlying model.
  • Physical Integration: While the "Backend" nodes are designed to connect to lab instruments, the current study focused primarily on computational workflows. Fully closing the loop with autonomous hardware is the next frontier.

For more details, the code is available at https://github.com/DingyangLyu/MatOS.

Summary updated

Abstract

Materials research relies on scattered and growing data, knowledge, and simulation tools, and a single study often spans multi-day workflows across literature analysis, computation, and experiment. Large language model agents can now retrieve materials data, operate simulation codes, and close design-synthesis-characterization loops with autonomous laboratories. However, extending these agents with new capabilities, keeping long-running tasks on track, and letting them learn from past tasks and user feedback remain difficult. Here we present MatOS, an agent operating system for materials research with three core components: (1) a layered scientific asset graph that organizes data, knowledge, tools, skills, roles, and workflows as reusable assets; (2) a stateful adaptive workflow that runs tasks as explicit execution graphs with scientific checks, so that they can be resumed and traced; and (3) evidence-driven asset evolution, which revises these assets from execution records and user feedback. On ResearchClawBench, MatOS improves on the previously best-performing agent by 11.15% with the same base model and extends the cost-score Pareto frontier. With a common base model, it outperforms Codex CLI and Claude Code, exceeding Codex CLI by 2.13% on MatTools and 4.17% on SciAgentGym. In eight research cases, MatOS narrowed more than 30 million candidate structures to 97 solid-electrolyte candidates, identified 89 halide variants with higher computed conductivity than their parent structures, linked the force errors of 11 pretrained interatomic potentials to local atomic environments, and supported two new methods that reduce errors by 3.1% and 13.6% relative to their baselines. These results show that organizing research capabilities as reusable, evolving assets enables agents to carry out long, multistage materials studies. Code is available at https://github.com/DingyangLyu/MatOS.
BibTeX
@misc{lyu2026matos,
  author = {Dingyang Lyu and Jing Gao and Zhonghao Chang and Jingjie Huang and Xiangran Cheng and Xin He and Yongda Huang and Zefeng Li and Jiahui Liu and Jian Wen and Feng Yu and Bonan Zhu and Yongheng Li and Hongwei Du and Baole Wei and Ziheng Lu},
  title = {{MatOS: An Agent Operating System for Materials Research}},
  year = {2026},
  eprint = {2610.34203},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.34203},
}
Figure