OfficeAgent

•
28
•

Automate structured editing, template population, and native tracked-change reviews across Word, PowerPoint, and Excel documents without requiring Microsoft Office.

OfficeAgent.NET empowers AI agents and .NET applications to inspect, generate, and edit Word, PowerPoint, and Excel files safely without corrupting their underlying Open XML formatting. Built on Microsoft's Open XML SDK, the platform utilizes a preview-and-apply plan architecture that validates changes before committing, supporting features like real tracked revisions in Word, template shape and layout bindings in PowerPoint, and bounded cell operations in Excel. With an out-of-the-box Model Context Protocol (MCP) server alongside native C# APIs and Microsoft Agent Framework tools, it seamlessly connects LLMs to enterprise document workflows across local files, SharePoint, Google Drive, and cloud object stores.

Key Features

01Native Word tracked changes and comment handling that preserve styling, numbering, and headers for real review workflows
0228 GitHub stars
03Template population and dynamic content binding across Word content controls, repeating table rows, and PowerPoint slide layouts
04Multi-format support covering Word (.docx), PowerPoint (.pptx), and Excel (.xlsx) without requiring an Office installation
05Validated two-stage execution engine that previews typed change plans and issues SHA-256 apply receipts before saving
06Comprehensive connectivity through an MCP server (stdio and HTTP), C# libraries, Semantic Kernel, and cloud storage providers like SharePoint and S3

Use Cases

01Automating legal contract reviews and revisions using native tracked changes and inline comments
02Refreshing recurring monthly reports and presentation decks by pulling live data and charts from Excel workbooks
03Populating enterprise document templates at scale across distributed cloud storage environments like SharePoint or AWS S3