Agentic AI
New Execution Framework Improves LLM Performance in Scientific Research While Slashing Costs
A typed execution runtime called El Agente Gráfico helps AI agents plan and validate scientific workflows, cutting computational costs by 80% while boosting accuracy.
Language models excel at outlining research plans and writing code, but they lack built-in mechanisms to track scientific state changes, confirm data validity across different systems, and document how results flow between experimental steps. El Agente Gráfico addresses this gap by introducing a runtime environment that uses typed execution graphs—essentially blueprints for how data moves through a scientific experiment—to ensure only valid state transitions occur and to keep the AI's reasoning transparent.
Performance Gains Across Chemistry Benchmarks#
Testing the system on six quantum chemistry problems at the university level, researchers found that El Agente Gráfico outperformed their previous multi-agent design while dramatically reducing both expense and computational time. The new approach cut model costs by roughly 80% and wall-clock execution time by more than four times. The typed graphs acted as guardrails, ensuring the AI agent stayed within scientifically sound workflows and reducing unnecessary exploration.
Expanding to Real-World Experiments#
Beyond textbook problems, the runtime demonstrated its versatility across multiple domains. In spectroscopy analysis and design of metal-organic frameworks (MOF), the system seamlessly transferred data between different computational phases while preserving type information. This allowed different parts of an experiment to run in parallel and persist across separate sessions, mirroring how researchers actually conduct multi-week investigations.
Open-ended explorations—including mechanistic studies of disulfide chemistry and investigations into how olfaction might work at the molecular level—showcased the agent's ability to independently map out chemical scope and select appropriate computational pathways. Crucially, the agent could author and refine its own typed execution graphs, effectively creating reusable scientific protocols that others can inspect, modify and apply to new systems.
Knowledge Transfer and Future Applications#
One key finding: when agents learned graph-construction skills from these exploratory studies, they could then generate typed execution graphs for literature mining in materials science. This suggests the approach encodes scientific reasoning in a form that is both machine-readable and human-intelligible, bridging procedural knowledge with portable protocols that transfer across different experimental and computational contexts.

