The tools
Everything an analyst does, as tool calls
Understand
Orientation tools that give an agent the mental model a human builds by scrolling around. Describe workbook structure, view ranges as text or images, inspect cells, and search for what matters.
Audit
Trace how values flow and where problems live. Follow precedents and dependents through the dependency graph, list formula errors, and read the comments left in the file.
Edit
Write values and formulas, fill patterns, apply styles, and manage sheets, rows, and columns. Every write returns a delta of what changed, plus warnings for anything that looks wrong.
Model
The engine does the math, so the agent doesn't have to guess. Read calculated values, run formulas without touching cells, test what-if scenarios, and goal seek to a target.
91.25%
SpreadsheetBench verified 400
Top performer on SpreadsheetBench
SpreadsheetBench scores agents on real spreadsheet tasks taken from Excel forums, comparing the cells an agent produces against an expert's answer. Ours was evaluated by the benchmark team on the expert-verified 400, running Claude Sonnet with the same agent tools we ship.
import {
createGridTools,
serveStdio,
} from '@grid-is/agent-tools';
// The full toolset, ready for any agent SDK
const tools = createGridTools();
const load = tools.find((t) => t.name === 'loadWorkbook');
await load.run({ path: 'pricing.xlsx' });
// or serve everything over MCP
await serveStdio({ name: 'grid', tools });Getting started
An MCP server and an SDK in one package
Run npx @grid-is/agent-tools and you have an MCP server speaking over stdio, ready for any MCP-capable runtime: Claude, the OpenAI Agents SDK, LangChain, or your own product.
Building something more custom? Every tool is a plain object with a name, a description, and a validated input schema, so createGridTools() maps cleanly onto any framework's tool interface.
The engine does the math, not the language model
Agent Tools runs on the GRID spreadsheet engine, deeply compatible with Excel and Google Sheets. Every value an agent reads is recalculated deterministically through the workbook's dependency graph, so the numbers it reports are the numbers the spreadsheet produces.
The setup also gives the agent a way to verify its own work. It can write a formula, see what the spreadsheet actually calculates, and fix it before the workbook goes back to anyone, instead of working the numbers out in Python and typing them into cells.
Don't settle for a stopgap
Popular AI assistants calculate spreadsheets with LibreOffice. This setup falls short.
When tasked with working with spreadsheets many AI assistants use openpyxl, a Python library that writes formulas but can't calculate them. To fill in the values and check their work, they run a headless copy of LibreOffice in the background. LibreOffice calculates its own way rather than Excel's, it can save files that Excel then has to repair, and it's a heavy desktop office suite that has to load every time the agent checks a file.
Results that don’t match Excel, per 1,000 test cases
- LibreOffice
- 126
- GRID
- 1.2
Median time to check a workbook
- LibreOffice
- 1.6 s
- GRID
- 18 ms
What the agent has to ship
- LibreOffice
- 430 MB
- GRID
- 3.5 MB
Which agents and frameworks does Agent Tools work with?
Does it need Excel or a cloud service?
How is this different from openpyxl and LibreOffice?
What can an agent actually do with a workbook?
How does an agent with a spreadsheet engine check its own work?
What can the MCP server access?
How does this relate to the spreadsheet engine?
How do I get started?
Get started now
Install the tools from npm with a free evaluation license and start building today. When you are ready to ship, talk to us. Most teams are surprised how quickly they go from first install to production, with direct support from the GRID team throughout.