What can the Spreadsheets agent do, and how does it work?

The Spreadsheets agent builds and edits real Excel workbooks with live formulas, not pasted numbers. Irene calculates every formula itself the moment the file is saved, so the agent reads back real results and the file still works when you open it in Excel. You and the agent share the same grid, taking turns.

What makes it different

what it does the primitive behind it what that buys you
Formulas, not typed numbers A built-in formula engine calculates every formula on save and stores the result next to it; no spreadsheet app needed Change an input and the model updates. A typed number where a formula belongs stops a file being a model
Checks its own maths Reading a formula cell returns its calculated value, so the agent sees what the formula actually produced Wrong totals are caught by reading them back, not by trusting the formula
Small toolset, full power 3 spreadsheet tools, plus Python (pandas, openpyxl) for everything else Pivots, cleaning, joins, formatting and charts all work, without a tool for each
Turn-taking on one grid The grid locks while the agent works; you edit between turns, and it's told exactly which cells you changed Neither of you overwrites the other
One-click undo of a turn A snapshot before every turn; Revert puts the file back A turn that went wrong costs one click
Free looks Listing workbooks and sheets, and the formula engine itself, use no model Orientation and recalculation cost nothing

How it works

The formula engine

  • When the agent (or you) saves, every formula is calculated and its value is written into the file beside it. The formula itself stays.
  • Before any read, a file that changed (a script, an upload) is recalculated first, so values are never stale.
  • The file is also marked to recalculate fully when opened in Excel.
  • If one function isn't supported, that one cell shows #NAME?. A calculation problem never blocks a save.

Supported: SUM, SUMIF(S), COUNTIFS, AVERAGEIF, MAXIFS/MINIFS, IF, IFS, SWITCH, IFERROR, VLOOKUP, XLOOKUP, INDEX/MATCH, TEXTJOIN, CONCAT, ROUND, LET.

Spill functions (UNIQUE, SORT, SORTBY, FILTER, SEQUENCE) only calculate their first cell, so the agent computes those results in Python and writes the values.

Its tools

tool does
sheet_state list the workbooks, or a workbook's sheets with their used range and a 5×10 preview. Uses no model
read read a cell, row, column or range, with calculated values for formulas. Big ranges are stored on disk and shown as a grid in the chat
write write a value or formula to a cell, row, column or range. Creates the file if needed, then saves and recalculates

Everything else is Python in the shell, with pandas, openpyxl, numpy, matplotlib and plotly ready: pivot tables, filtering, sorting, cleaning, joining, formatting, conditional formatting, inserting rows, new sheets, charts.

Why only 3 tools: read and write have to stay tools, because they return calculated values and show results as grids. A script would just print. Everything else is better as code than as a tool for every action.

It also carries web, file tools (inside its workbook folder only), delegate, skill, recipe, reflex, discovery, equip, chronicle and cards. → Main agent

Deliberately limited: its file tools can't leave the workbook folder, so its files and the engine always point at the same place. It hands work to other agents (chart design, sourced research) but never to another Spreadsheets agent.

Charts and pivots

  • Charts: native Excel charts (editable in Excel, and shown in the grid) or a picture made with Python.
  • Pivots are calculated in Python and written as values, not as Excel PivotTables.
  • Conditional formatting shows in the grid.

How it's told to behave

  1. Real formulas wherever a value depends on others. Inputs are values, everything derived is a formula.
  2. Model conventions: blue for inputs, black for formulas, green for links to other sheets, red for links to other files, yellow for assumptions. Add a Checks tab, and read totals back to verify them.
  3. Editing your workbook: never overwrite your formulas, and match the file's own conventions.
  4. Re-read any cells you changed since its last turn before building on them.
  5. Look first, for free: sheet_state before reading.
  6. Choose by shape: a handful of cells, do it now · a real build, look for a saved recipe first · the same change across many sheets or files, a reflex · not spreadsheet work, hand it off.

Working alongside the agent

  • While the agent works, the grid is read-only ("Irene is working — the sheet is read-only this turn"). It refreshes live as the agent writes.
  • Between turns you can edit values, formulas, number formats, column widths and row heights. Saves happen automatically after a second, or press Ctrl+S (Command+S on a Mac).
  • The agent is told what you changed: your next message carries "since your last turn the user manually edited A1, B2…".
  • Some edits are the agent's job: inserting or deleting rows and columns, merging, adding or renaming sheets, sorting and formatting are done by asking. Why: shifting cells under a pending save would write values to the wrong places.
  • Revert appears after a turn that changed the open file, and puts it back to just before that turn. Your own Ctrl+Z (Command+Z on a Mac) can't undo the agent's writes. Revert is the way.

Where you see it

  • The spreadsheet workspace: the grid and the chat (Ctrl+J, or Command+J on a Mac, hides the chat). The bottom strip has the sheet tabs, zoom, the Saved indicator, Revert, Files and Download.
  • Files: open, upload (.xlsx, .xlsm, .xls, .csv, .tsv) or remove. Removing deletes only Irene's copy, never your original. CSV files open read-only, since they have no cells to write formulas into.
  • Chat cards show read results as grids.

How it gets better

  • Built-in skills: model conventions, charts in Excel, wrangling data into a sheet, formatting a workbook, editing an existing workbook.
  • Built-in reflexes:
reflex does
add-total-row-to-every-sheet a live SUM under every numeric column, on every sheet
roll-up-many-workbooks the same cells from every workbook in a folder into one summary, one row per file. The data never enters the chat
normalize-many-csvs-into-a-workbook one sheet per CSV, blank rows removed, optional de-duplication
  • Built-in recipe: monthly-actuals-to-variance-model writes actuals and budget as inputs, Variance as =B−C, Variance % as =IFERROR((B−C)/C,0), then totals the costs and puts the operating result under them — revenue minus costs, never one SUM over both. Then it reads the two rows back to confirm them (393,000 · 383,000 · 10,000 · 2.61% and 19,000 · 17,000 · 2,000 · 11.76% on its sample data).
  • It saves its own: after a successful build it offers to save the recipe, reflex or skill, and asks first.

What it costs

  • Model usage at what we pay + 20%, on the model set for Spreadsheets (any model per chat). No plan gate.
  • No model cost: sheet_state, and every formula calculation, which runs on your computer.
  • Reflexes roll up and clean many files without the data ever entering the conversation.

Limits

  • The grid shows the first 5,000 rows and 256 columns of each sheet. Bigger files still work fully on disk.
  • Spill functions calculate only their first cell (the agent writes values instead).
  • Pivots are values, not Excel PivotTables.
  • Revert is one level, for the open file only.
  • No Google Sheets tool. Connect Google Sheets as an app, or work on a downloaded copy.
  • No formatting toolbar in the grid. Ask the agent to format.

[Ask Irene about this]

Updated