iofficeai/officecli

Description: OfficeCLI is the first and best Office suite purpose-built for AI agents to read, edit, and automate Word, Excel, and PowerPoint files. Free, open-source,...

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 15 hours ago
Added to GitGenius on July 14th, 2026
Created on March 15th, 2026
Open Issues & Pull Requests: 39 (+0)
GitHub issues: Enabled
Number of forks: 1,396
Total Stargazers: 20,787 (+1)
Total Subscribers: 57 (+0)

Issue Activity (beta)

Open issues: 16
New in 7 days: 18
Closed in 7 days: 28
Avg open age: 6 days
Stale 30+ days: 1
Stale 90+ days: 0

Recent activity

Opened in 7 days: 18
Closed in 7 days: 28
Comments in 7 days: 23
Events in 7 days: 47

Top labels

  • enhancement (1)

Repository Insights (GitGenius)

Median issue/PR response: 3.4 hours
Mean response time: 28.2 hours
90th percentile: 4.4 days
Tracked items: 146

Most active contributors

Detailed Description

OfficeCLI is an open-source command-line tool designed specifically to enable AI agents to programmatically read, edit, and create Microsoft Office documents without requiring Office installation. Written in C#, it provides a single binary distribution that works across platforms and handles Word (.docx), Excel (.xlsx), and PowerPoint (.pptx) files through a unified interface.

The core innovation of OfficeCLI is its built-in HTML rendering engine that converts Office documents to HTML or PNG with high fidelity, allowing AI agents to visually understand document layouts and content. This rendering capability closes what the project describes as the render-look-fix loop, enabling agents to see what they have created and make corrections accordingly. The tool requires no external dependencies and no Office installation, making it lightweight and universally deployable.

For AI agent integration, OfficeCLI provides a skill file that agents like Claude Code, Cursor, Windsurf, and GitHub Copilot can automatically install and use. Agents can manipulate Office documents through simple command-line operations rather than complex programmatic APIs. The project demonstrates this capability through AionUi, a companion desktop application that lets users create and edit Office documents through natural language descriptions, with OfficeCLI handling the underlying document operations.

Word document support includes comprehensive formatting capabilities such as internationalization and right-to-left language support with per-script font slots and BCP-47 language tags, paragraph and run-level formatting, tables with virtual column operations, styles, textboxes and shapes with rotation and gradient effects, headers and footers, image embedding, LaTeX-based equations, mermaid diagrams converted to native editable shapes, comments, footnotes, watermarks, bookmarks, tables of contents, charts, hyperlinks, sections, form fields, content controls, field codes with 22 zero-parameter types, OLE objects, and tracked changes with accept/reject functionality.

Excel support encompasses cell operations including phonetic guides and furigana, formulas with over 350 built-in functions and dynamic array spilling, sheet management with visibility controls and print settings, boolean selectors for filtering rows and columns, tables, multi-key sorting, conditional formatting, charts including box-whisker and pareto types with auto-sorting, pivot tables with multi-field support and persistent filters, slicers, named ranges, data validation, image embedding, sparklines, comments, autofilter, shapes, OLE objects, and CSV/TSV import capabilities.

PowerPoint support enables creation and modification of presentations with full design control, as demonstrated by the repository's showcase of presentations created entirely by AI agents without templates or manual editing.

The repository has grown to 16,625 stargazers as of the most recent tracking period, with recent activity showing steady interest. The project maintains multilingual documentation in English, Chinese, Japanese, and Korean, and operates an active Discord community. The tool is positioned as eliminating the need for 50 lines of Python code and multiple separate libraries, replacing complex document manipulation workflows with single-command operations that AI agents can execute autonomously.

officecli
by
iofficeaiiofficeai/officecli

Repository Details

Fetching additional details & charts...