El Agente Gr\'afico: Structured Execution Graphs for Scientific Agents

📅 2026-02-19
📈 Citations: 1
Influential: 0
📄 PDF
🤖 AI Summary
Current large language models lack structured, traceable, and auditable execution mechanisms for scientific workflow automation. This work proposes a single-agent framework that embeds large language model decision-making within a type-safe execution environment and introduces a context management mechanism based on typed symbolic identifiers. By integrating an object-graph mapper with a dynamic knowledge graph, the framework enables structured persistence of computational states and contextual information. The architecture supports robust multi-step parallel computations in tasks such as quantum chemistry, conformational ensemble generation, and metal–organic framework design, demonstrating its scalability, consistency, and efficiency in complex scientific automation scenarios.

Technology Category

Application Category

📝 Abstract
Large language models (LLMs) are increasingly used to automate scientific workflows, yet their integration with heterogeneous computational tools remains ad hoc and fragile. Current agentic approaches often rely on unstructured text to manage context and coordinate execution, generating often overwhelming volumes of information that may obscure decision provenance and hinder auditability. In this work, we present El Agente Gr\'afico, a single-agent framework that embeds LLM-driven decision-making within a type-safe execution environment and dynamic knowledge graphs for external persistence. Central to our approach is a structured abstraction of scientific concepts and an object-graph mapper that represents computational state as typed Python objects, stored either in memory or persisted in an external knowledge graph. This design enables context management through typed symbolic identifiers rather than raw text, thereby ensuring consistency, supporting provenance tracking, and enabling efficient tool orchestration. We evaluate the system by developing an automated benchmarking framework across a suite of university-level quantum chemistry tasks previously evaluated on a multi-agent system, demonstrating that a single agent, when coupled to a reliable execution engine, can robustly perform complex, multi-step, and parallel computations. We further extend this paradigm to two other large classes of applications: conformer ensemble generation and metal-organic framework design, where knowledge graphs serve as both memory and reasoning substrates. Together, these results illustrate how abstraction and type safety can provide a scalable foundation for agentic scientific automation beyond prompt-centric designs.
Problem

Research questions and friction points this paper is trying to address.

scientific automation
large language models
execution provenance
heterogeneous tools
context management
Innovation

Methods, ideas, or system contributions that make the work stand out.

structured execution graphs
type-safe execution
knowledge graphs
object-graph mapper
scientific automation
🔎 Similar Papers
No similar papers found.
J
Jiaru Bai
Department of Chemistry, University of Toronto, 80 St. George St., Toronto, ON M5S 3H6, Canada; Vector Institute for Artificial Intelligence, W1140-108 College St., Schwartz Reisman Innovation Campus, Toronto, ON M5G 0C6, Canada
A
Abdulrahman Aldossary
Department of Chemistry, University of Toronto, 80 St. George St., Toronto, ON M5S 3H6, Canada; Vector Institute for Artificial Intelligence, W1140-108 College St., Schwartz Reisman Innovation Campus, Toronto, ON M5G 0C6, Canada
T
Thomas Swanick
Department of Computer Science, University of Toronto, 40 St George St., Toronto, ON M5S 2E4, Canada; Department of Mathematics, University of Toronto, 40 St George St., Toronto, ON M5S 2E4, Canada
Marcel Müller
Marcel Müller
PostDoc, Bielefeld University
Structured Illumination MicroscopySuper-ResolutionFluorescence Microscopy
Y
Yeonghun Kang
Department of Chemistry, University of Toronto, 80 St. George St., Toronto, ON M5S 3H6, Canada; Vector Institute for Artificial Intelligence, W1140-108 College St., Schwartz Reisman Innovation Campus, Toronto, ON M5G 0C6, Canada
Z
Zijian Zhang
Vector Institute for Artificial Intelligence, W1140-108 College St., Schwartz Reisman Innovation Campus, Toronto, ON M5G 0C6, Canada; Department of Computer Science, University of Toronto, 40 St George St., Toronto, ON M5S 2E4, Canada
J
Jin Won Lee
School of Computer Science, McGill University, 3480 University St., Montréal, QC H3A 0E9, Canada
T
Tsz Wai Ko
Department of Chemistry, University of Toronto, 80 St. George St., Toronto, ON M5S 3H6, Canada; Vector Institute for Artificial Intelligence, W1140-108 College St., Schwartz Reisman Innovation Campus, Toronto, ON M5G 0C6, Canada
Mohammad Ghazi Vakili
Mohammad Ghazi Vakili
The Matter Lab (University of Toronto)
Quantum Machine LearningQuantum OptimizationIoT
Varinia Bernales
Varinia Bernales
University of Toronto
Theoretical ChemistryCatalysisGreen Chemistry
A
Alán Aspuru-Guzik
Department of Chemistry, University of Toronto, 80 St. George St., Toronto, ON M5S 3H6, Canada; Vector Institute for Artificial Intelligence, W1140-108 College St., Schwartz Reisman Innovation Campus, Toronto, ON M5G 0C6, Canada; Department of Computer Science, University of Toronto, 40 St George St., Toronto, ON M5S 2E4, Canada; Department of Materials Science & Engineering, University of Toronto, 184 College St., Toronto, ON M5S 3E4, Canada; Department of Chemical Engineering & Applied Chemistry, Universi