iOfficeAI/OfficeCLI

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 ↓Open shareable report

Summary Information

Updated 21 minutes ago
Added to GitGenius on July 14th, 2026
Created on March 15th, 2026
Open Issues & Pull Requests: 65 (+0)
Number of forks: 1,878
Total Stargazers: 27,757 (+20)
Total Subscribers: 80 (+0)

Issue Activity (beta)

Open issues: 30
New in 7 days: 11
Closed in 7 days: 1
Avg open age: 5 days
Stale 30+ days: 1
Stale 90+ days: 1

Recent activity

Opened in 7 days: 11
Closed in 7 days: 1
Comments in 7 days: 56
Events in 7 days: 61

Top labels

  • enhancement (1)

Repository Insights (GitGenius)

Median issue/PR response: 5.4 hours
Mean response time: 32.2 hours
90th percentile: 4.4 days
Tracked items: 163

Most active contributors

Sign in to see contributor activity.

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Only 15% of issues opened in the past year have been closed. Three people close 89% of everything that gets resolved.

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 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...