cd /news/artificial-intelligence/evaluating-sagemath-augmented-llm-ag… · home topics artificial-intelligence article
[ARTICLE · art-52022] src=arxiv.org ↗ pub= topic=artificial-intelligence verified=true sentiment=↑ positive

Evaluating SageMath-Augmented LLM Agents for Computational and Experimental Mathematics

Researchers proposed a ReAct-style agentic setup combining LLM reasoning with SageMath for solving research-level mathematical problems, achieving an average performance gain of 9.7 percentage points across models. GPT-5.5 achieved the highest solve rate of 75.2% with the lowest token usage, while Qwen 3.7-Max benefited most from SageMath access. The findings suggest CAS-augmented agents are promising for computational mathematics and automated conjecture discovery.

read1 min views1 publishedJul 9, 2026

arXiv:2607.06820v1 Announce Type: new Abstract: Recent advances in AI for Mathematics have focused largely on autoformalization and theorem proving, leaving the role of Computer Algebra Systems (CAS) in agentic LLM workflows underexplored. We propose a ReAct-style agentic setup that combines LLM reasoning with verifiable feedback from SageMath, together with Context7 for the up-to-date documentation. We evaluate this agentic setup across frontier models for solving research-level mathematical problems from the RealMath benchmark in a setting that emulates a computational-mathematics research loop. We also propose a refinement to the RealMath benchmark by introducing a multi-step post-processing procedure and a multi-stage validation pipeline, both of which improve the quality and reliability of the extracted problem set. Our experiments reveal substantial performance gains from SageMath access across all evaluated models on +9.7~pp on average, the gains range from 1.5~pp to 27.8~pp and narrow the gap between open-weight and closed models. Qwen~3.7-Max benefits from SageMath the most, while GPT-5.5 achieves the highest solve rate of $75.2%$ and the lowest token usage among tool-enabled configurations. Our findings suggest that CAS-augmented agents represent a promising direction for assisting mathematicians in computational exploration, and we believe that this work is a step towards automated conjecture discovery. The project repository is available online.

── more in #artificial-intelligence 4 stories · sorted by recency
── more on @sagemath 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/evaluating-sagemath-…] indexed:0 read:1min 2026-07-09 ·