mlsanityData to 14 Oct 2026

Beyond Executable Models: The Pufibara Agent Harness and the Modelica Agent Workflow Benchmark for Physical System Modeling

arXiv 2608.23653 ↗First posted 24 Aug 2026cs.SE cs.AIcited by 0

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

AI agents are increasingly used for simulation-driven engineering. Physical system modeling presents different requirements from general-purpose code generation in software engineering, because correctness depends not only on syntax and executability but also on physical consistency and scenario-dependent behavior. We study this challenge in Modelica, an equation-based modeling language in which a model may compile and simulate while still violating its intended physics or engineering requirements. Across successive revisions, an agent may lose track of requirements or rely on simulation evidence produced by an outdated candidate. To address this challenge, we present Pufibara, an agent harness that maintains persistent engineering state across revisions, associates execution and simulation evidence with the candidate that produced it, and makes submission an explicit agent action. To evaluate end-to-end Modelica agent workflows, we also propose a source-grounded method for constructing realistic and independently evaluable tasks. We use this method to build the 232-task Modelica Agent Workflow Benchmark, spanning Model Repair, Model Generation, and Model Tuning. Each submitted candidate is scored by a benchmark-owned evaluator outside the agent loop. We compare Pufibara with Claude Code as complete harnesses under two matched large language model (LLM) backends. With DeepSeek v4 Flash, Pufibara passes 202 tasks, compared with 185 for Claude Code. With Claude Sonnet 5, Pufibara passes 202 tasks, compared with 187 for Claude Code. Under the repository-reported token accounting, Pufibara records 76.4%-82.5% lower logical-token totals. Its sequential runtime is 6.1%-58.4% lower. These findings show that, even under matched LLM backends, complete agent harnesses can differ substantially in both task success and resource use for physical system modeling.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 19 of its 31 references that are in the map. First posted on arXiv 24 Aug 2026.

Builds on

19 of 31 references.

Closest ancestors · 4

Same direction, newest first

  1. 2025SimuGen: Multi-modal Agentic Framework for Constructing Block Diagram-Based Simulation Models28 May
  2. 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agents23 Jul
  3. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering6 May
  4. 2024Executable Code Actions Elicit Better LLM Agents1 Feb

Other references · 15

  1. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  2. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
  3. 2025A-MEM: Agentic Memory for LLM Agentscited by 1,063
  4. 2025Evaluating Memory in LLM Agents via Incremental Multi-Turn Interactionscited by 254
  5. 2025FEABench: Evaluating Language Models on Multiphysics Reasoning Abilitycited by 22
  6. 2025Text2Model: Generating dynamic chemical reactor models using large language models (LLMs)cited by 5
  7. 2026SimuAgent: An LLM-Based Simulink Modeling Assistant Enhanced with Reinforcement Learningcited by 5
  8. 2024Metadata practices for simulation workflowscited by 4
  9. 2025ModiGen: A Large Language Model-Based Workflow for Multi-Task Modelica Code Generationcited by 4
  10. 2024Coupled Requirements-driven Testing of CPS: From Simulation To Realitycited by 2
  11. 2026PowerAgentBench-SS: A Benchmark for Agentic AI in Power System Steady-State Studiescited by 2
  12. 2026PowerAgentBench-Dyn: A Benchmark for Agentic AI in Power System Dynamic Studiescited by 2
3 more
  1. 2025Automating Modelica Module Generation Using Large Language Models: A Case Study on Building Control Description Languagecited by 1
  2. 2026Simulation Code Generation for Fluid Systems using Large Language Models: Benchmarking Models and Prompting Strategiescited by 1
  3. 2026ModBench: A Pipeline for Building Modelica Benchmark Datasets Mined from Library Repositoriescited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Harness-Bench: Measuring Harness Effects across Models in Realistic Agent Workflows
  2. 2026VISA: A Structured Description Protocol for Agent-Based Simulation Models Towards Machine Reproducibility
  3. 2026Harness as an Asset: Enforcing Determinism via the Convergent AI Agent Framework (CAAF)
  4. 2026Engineering Reliable Coding Agents: Evaluating and Operating the System Around the Model
  5. 2026AgentSPEX: An Agent SPecification and EXecution Language
  6. 2025Decoding the Configuration of AI Coding Agents: Insights from Claude Code Projects
  7. 2026Engineering Robustness into Personal Agents with the AI Workflow Store
  8. 2026Benchmarking AI Agents for Hardware Design Automation via MCP Tool Calling