Introduction
Word, Excel, PowerPoint and CSV files for AI agents, and reading them back as text.
Vatson Office gives an agent eleven tools to make, read, check and edit Office files. A model writes a typed spec. The engine checks it and builds a real file: live formulas, native charts, real heading styles and Word numbering. The model gets back the file path and a short list of findings, so it can fix the spec and try again. Attachments go the other way: an Office file in, plain text out, with hidden content marked.
Why a spec
A model is good at deciding what goes in a file and bad at the parts that make a file look made by a person: cell references, number formats, which slide layout fits, where text breaks. With a spec the model picks content and structure; the compiler owns layout, styles and formulas. That is why every file comes out with the same grid and the same type scale, and why a deck and the workbook behind it read as one set.



What you get
- Workbooks with live formulas, inputs in labelled cells, tables, named ranges, conditional formats, validation and native charts. Formula results are filled in by LibreOffice or IronCalc, and formula errors are reported.
- Decks built from slide kinds (title, bullets, two columns, chart, table, stat, timeline, cards, decision and more), with native charts and text fitted to its box.
- Documents with real heading styles, Word numbering, tables, images, a table of contents, footnotes, comments and tracked changes.
- CSV files that a spreadsheet opens with the right accents and cannot run as formulas.
- Reading:
.docx,.xlsx,.pptxand.csvto text, with size caps and hidden content marked. - Editing an existing file with a plan; every part the plan does not touch stays byte-identical.
Three ways in
The tools come as an MCP server, AI SDK tools and an eve extension, all running the same code (@vatsonai/office-tools). The schemas, the summaries and the findings are the same everywhere.
MCP server
Claude Code, Codex, VS Code, Cursor, Claude Desktop and any MCP client.
AI SDK
officeTools() for streamText, generateText and agents.
eve
An eve extension with eleven tools and one skill.
Packages
| Package | What it does |
|---|---|
@vatsonai/office-spec | zod schemas for WorkbookSpec, DeckSpec and DocumentSpec; parse, normalise, spec checks, design rules, locale conventions |
@vatsonai/office-compile | spec to .xlsx, .pptx and .docx, rows to .csv, review findings |
@vatsonai/office-render | render, recalculate and validate files with LibreOffice and Poppler, when they are installed |
@vatsonai/office-read | .docx, .xlsx, .pptx and .csv to text |
@vatsonai/office-style | the style of an example file as a profile, plain rules and a writing check |
@vatsonai/office-edit | edit existing files with a validated plan |
@vatsonai/office-tools | the framework-free core of the eleven tools |
@vatsonai/office-mcp | the MCP server (stdio and Streamable HTTP) |
@vatsonai/ai-sdk-office | AI SDK tools: officeTools() and officeSystemPrompt |
@vatsonai/eve-office | the eve extension |
Compatibility
| Version | |
|---|---|
| Node | 22 or newer for the engines and the MCP server; 24 or newer for @vatsonai/eve-office |
| eve | >=1.0.0 <2 (peer dependency of @vatsonai/eve-office) |
AI SDK (ai) | 6 or 7 (peer dependency of @vatsonai/ai-sdk-office) |
| MCP | protocol 2026-07-28 and the 2025-era versions 2024-11-05 to 2025-11-25 |
| LibreOffice and Poppler | optional; used for recalculation, formula-error checks, rendering and PDF |