← All stories
● Covered by 1 source · 1 reportMedium impact1 neutral

Paper Office Python packages enable AI agents to manipulate Word, PowerPoint, Excel files

🔄 Updated 2h ago
New to BrevFeed? We gather this story from every outlet covering it into one summary — ranked by real-world impact, not just the latest headline — so you never miss what matters. What is BrevFeed? →

Key points

  • Paper Office packages passed 92.5% of trials across 61 tasks.
  • Agents wrote direct code in 1.6% of Paper runs, down from 78.7%.
  • The packages fork and rework existing Python Office libraries.
  • Aims to improve agent fidelity to real-world document workflows.

New Python Packages for Agent-Based Document Editing

Paper Office is a newly released suite of Python packages designed to enable AI agents to manipulate Microsoft Word, PowerPoint, and Excel files. These packages build upon existing open-source libraries such as python-docx, python-pptx, and OpenPyxl, aiming to enhance safety, correctness, and breadth in agent-driven document editing tasks.

Performance Improvements and Reduced Code Generation

Across five models and 61 tasks, Paper Office packages, combined with guidance, achieved a 92.5% success rate in trials. This compares to 80.7% for upstream packages without specific skills and 69.5% for Anthropic's comparable Office skills. A key improvement is the reduction in agents writing direct code to edit Office file internals, occurring in only 1.6% of Paper runs, versus 78.7% without skills and 50.5% with Anthropic skills.

Addressing Challenges in Agent Document Manipulation

The development addresses the challenge of AI agents manipulating existing documents in a way that maintains fidelity to human workflows. Current agent methods often produce documents that are not suitable for professional use due to inconsistencies. Office Open XML (OOXML) files, which are ZIP archives of XML files and other resources, require careful manipulation to maintain consistency across linked components, even for minor visible changes.

Reworking Existing Libraries for Agent-First Use Cases

Standard Python Office libraries, while mature, have not seen updates in several years and lack feature breadth and correctness for many agent-specific workflows. Paper Office forked, patched, and reworked the APIs of these libraries to support agent-first use cases, focusing on improving correctness and expanding feature completeness. This allows agents to find logical objects, apply changes while maintaining formatting, and preserve unaffected content.

✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →

The daily brief

One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.

One email a day. Unsubscribe in one click, any time.

Today's brief

Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.

~24 min · 20 stories · Sep 24

▶ Play today's brief Listen on Spotify

New every morning, and the back catalogue is archived by date.

Reporting from

Paper Office, a new suite of Python packages, allows AI agents to edit Word, PowerPoint, and Excel files with improved safety and accuracy. These packages, built on existing open-source libraries, significantly reduce the need for agents to write direct code for file manipulation, outperforming previous methods and Anthropic's comparable skills.