{"slug": "paper-instruments-teaches-agents-to-edit-office-files-without-dismantling-them", "title": "Paper Instruments teaches agents to edit Office files without dismantling them", "summary": "Paper Instruments released Paper Office on September 23rd, three Python packages — paper-docx, paper-pptx and paper-xlsx — that let AI agents edit existing Word, PowerPoint and Excel files while preserving structure the user did not ask to change. The packages extend python-docx, python-pptx and openpyxl with structure inspection, targeted edits, change reporting and refusal of operations the software cannot handle safely, aimed at developers building agents for consulting, legal, banking and operational work. Co-founder and CEO Daanish Khazi, Gavin Bains and Joseph Besgen came through Y Combinator's Spring 2025 batch as The LLM Data Company, and Paper Instruments says its reported benchmark supports the approach while real-world reliability and developer adoption remain the proof points.", "body_md": "# Paper Instruments teaches agents to edit Office files without dismantling them\n\n**Paper Instruments released three Python packages for AI agents editing existing Word, PowerPoint and Excel files while preserving their structure.**\n\n        By [RuntimeWire Staff](https://runtimewire.com/author/runtimewire-staff)\n        · Published \n\nPrimary source: [Paper Instruments](https://www.paperinstruments.com/blog/introducing-paper-office)\n\n## Why it matters\n\nPaper Instruments is betting that agents will need purpose-built file libraries, not just better prompts, to make safe edits to the Office documents professionals already depend on. Its reported benchmark supports the case, but combines software with guidance, leaving real-world reliability and developer adoption as the proof points.\n\nOn September 23rd, [Paper Instruments](https://www.paperinstruments.com/?ref=runtimewire) released Paper Office, three Python packages designed to help AI agents edit existing Word, PowerPoint and Excel files while preserving the parts users did not ask them to change. The release puts co-founder and CEO [Daanish Khazi](https://www.ycombinator.com/companies/paper-instruments?ref=runtimewire), Gavin Bains and Joseph Besgen behind a practical bet: agents need better software for handling the documents professionals already use, not just better instructions for generating new ones.\n\nKhazi and his co-founders came through Y Combinator's Spring 2025 batch under the name The LLM Data Company. YC describes that earlier work as tooling for writing, versioning and evaluating models and agents. Paper Instruments now works on open-source models and tooling for knowledge work. Paper Office carries that interest in measuring and improving agent performance into a lower layer of the stack: the Python libraries an agent uses to make an edit.\n\n### The hard part is keeping what was already there\n\nA DOCX, PPTX or XLSX file is a package of connected XML files, images and other resources, rather than a single document body. A seemingly simple edit can touch formatting, comments, formulas, charts or relationships among those components. Paper Instruments' argument is that agents often reach for raw file internals or lossy conversions when their tools cannot express the requested change safely.\n\nThe three packages extend familiar Python libraries: [paper-docx](https://github.com/paper-instruments/paper-docx?ref=runtimewire) builds on `python-docx`, [paper-pptx](https://github.com/paper-instruments/paper-pptx?ref=runtimewire) on `python-pptx`, and [paper-xlsx](https://github.com/paper-instruments/paper-xlsx?ref=runtimewire) on `openpyxl`. They keep the usual import patterns while adding ways to inspect hidden structure, target edits, preserve package contents, report changes and refuse operations the software cannot handle safely, according to the [announcement](https://www.paperinstruments.com/blog/introducing-paper-office?ref=runtimewire).\n\nThat refusal behavior is central to the pitch. In a spreadsheet, an edit that changes visible cells but breaks a formula reference can be worse than no edit. In Word, replacing text that spans multiple runs can disrupt formatting or review comments. Paper Instruments says its packages expose structure to the agent and validate supported edits before saving. For Word, features include cross-run search, tracked edits and comment threads. Its Excel package adds reference-aware row and column changes and package-preserving saves; the PowerPoint package supports formatting inspection and relationship-safe slide operations.\n\nThe product is aimed at developers building agents for consulting, legal, banking and operational work, where the source file is often a template or live working document rather than a blank page. That focus gives Paper Instruments a specific wedge: help agents handle the messy files already in circulation without requiring users to accept a converted approximation.\n\n### A benchmark with a bundled intervention\n\nPaper Instruments reports that its packages, used with accompanying guidance, passed 92.5% of trials across five models and 61 tasks. It compares that result with 80.7% for upstream libraries without skills and 69.5% with Anthropic's comparable Office skills. The company also says agents directly edited Office file internals in 1.6% of Paper runs, against 78.7% without skills and 50.5% with Anthropic skills.\n\nThose numbers describe a combined setup: the package plus guidance. They do not isolate the library from the instructions around it, so the reported results are best read as a comparison of agent tool configurations. Paper Instruments' post does not name the five models in the excerpted results, and the headline percentages should not be mistaken for an independently established benchmark. The company frames the test as evidence that software itself can improve agent performance; the release offers a useful hypothesis for developers to test against their own documents and workflows.\n\nThe comparison also places Paper Office beside Anthropic's [Agent Skills](https://www.anthropic.com/research/skills?ref=runtimewire), which provide procedural instructions and resources for tasks such as creating spreadsheets and presentations. Paper Instruments is competing at a different layer: skills tell an agent how to approach a workflow, while these packages aim to give it safer operations on the files. In the company's framing, better prompts cannot by themselves preserve every relationship in a complex Office archive.\n\nFor Khazi and his co-founders, Paper Office also moves their work closer to the software that controls agent behavior. The earlier LLM Data Company focused on evaluation tooling; Paper Office supplies a specialized tool layer and measures how agents perform with it. The two efforts share an underlying premise: professional AI depends on the surrounding system as well as the model.\n\nThe test of the premise will be whether developers trust these packages with consequential documents. Passing a bounded task suite is one milestone; reliably preserving a client's templates, spreadsheet dependencies or tracked revisions across varied real-world files is another. Paper Instruments has released code developers can examine and use, and its explicit refusal paths make the safety claim concrete enough to inspect. The next proof will come from adoption and from how the packages behave on documents outside the authors' test set.", "url": "https://wpnews.pro/news/paper-instruments-teaches-agents-to-edit-office-files-without-dismantling-them", "canonical_source": "https://runtimewire.com/article/paper-instruments-paper-office-agent-office-editing", "published_at": "2026-09-25 21:46:17+00:00", "updated_at": "2026-09-25 22:00:45.192241+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "developer-tools", "artificial-intelligence"], "entities": ["Paper Instruments", "Paper Office", "paper-docx", "paper-pptx", "paper-xlsx", "Daanish Khazi", "Gavin Bains", "Joseph Besgen"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/paper-instruments-teaches-agents-to-edit-office-files-without-dismantling-them", "markdown": "https://wpnews.pro/news/paper-instruments-teaches-agents-to-edit-office-files-without-dismantling-them.md", "text": "https://wpnews.pro/news/paper-instruments-teaches-agents-to-edit-office-files-without-dismantling-them.txt", "jsonld": "https://wpnews.pro/news/paper-instruments-teaches-agents-to-edit-office-files-without-dismantling-them.jsonld"}}