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, single binary, no Office installation required.

★ 33,324⑂ 2,278👁 85⑃ 301● 318▤ 155
C#Apache-2.0Created 2026-03-15officecli.ai
Download: v1.0.161v1.0.161 ↓1.0.1612026-11-12
+37
Daily
+349
Weekly
+1,418
Monthly
33,324
stars
2,278
forks
85
watchers
301
prs
318
issues
155
releases

README

OfficeCLI

 OfficeCLI is the world's first and the best Office suite designed for AI agents.

Give any AI agent full control over Word, Excel, and PowerPoint — in one line of code.

Open-source. Single binary. No Office installation. No dependencies. Works everywhere.

OfficeCLI's built-in HTML rendering engine reproduces documents with high fidelity — and that's what gives AI eyes. It renders .docx / .xlsx / .pptx to HTML or PNG, closing the render → look → fix loop.




English | 中文 | 日本語 | 한국어


  🌐 Website: officecli.ai  |  💬 Community: Discord



  


PPT creation process using OfficeCLI on AionUi

PowerPoint Presentations














—
Word Documents









—
Excel Spreadsheets









All documents above were created entirely by AI agents using OfficeCLI — no templates, no manual editing.

 For AI Agents — Get Started in One Line

Paste this into your AI agent's chat — it will read the skill file and install everything automatically:


curl -fsSL https://officecli.ai/SKILL.md


That's it. The skill file teaches the agent how to install the binary and use all commands.

 For Humans

Option A — GUI: Install AionUi — a desktop app that lets you create and edit Office documents through natural language, powered by OfficeCLI under the hood. Just describe what you want, and AionUi handles the rest.

Option B — CLI: Download the binary for your platform from GitHub Releases, then run:

bash
officecli install


This copies the binary to your PATH and installs the officecli skill into every AI coding agent it detects — Claude Code, Cursor, Windsurf, GitHub Copilot, and more. Your agent can immediately create, read, and edit Office documents on your behalf, no extra configuration needed.

 For Developers — See It Live in 30 Seconds

bash
 1. Install (macOS / Linux) — or: brew install officecli / npm install -g @officecli/officecli
curl -fsSL https://raw.githubusercontent.com/iOfficeAI/OfficeCLI/main/install.sh | bash
 Windows (PowerShell): irm https://raw.githubusercontent.com/iOfficeAI/OfficeCLI/main/install.ps1 | iex

 2. Create a blank PowerPoint
officecli create deck.pptx

 3. Start live preview — opens http://localhost:26315 in your browser
officecli watch deck.pptx

 4. Open another terminal, add a slide — watch the browser update instantly
officecli add deck.pptx / --type slide --prop title="Hello, World!"


That's it. Every add, set, or remove command you run will refresh the preview in real time. Keep experimenting — the browser is your live feedback loop.

 Quick Start

bash
 Create a presentation and add content
officecli create deck.pptx
officecli add deck.pptx / --type slide --prop title="Q4 Report" --prop background=1A1A2E
officecli add deck.pptx '/slide[1]' --type shape \
  --prop text="Revenue grew 25%" --prop x=2cm --prop y=5cm \
  --prop font=Arial --prop size=24 --prop color=FFFFFF

 View as outline
officecli view deck.pptx outline
 → Slide 1: Q4 Report
 →   Shape 1 [TextBox]: Revenue grew 25%

 View as HTML — opens

Top issues

Latest release

v1.0.161 v1.0.161 2026-11-12
What's Changed
 fix(xlsx): place a new dxfs before tableStyles and colors by @13robin37 in https://github.com/iOfficeAI/OfficeCLI/pull/616
 fix(pptx): give a materialised placeholder a unique id by @13robin37 in https://github.com/iOfficeAI/OfficeCLI/pull/617
 fix(xlsx): wrap English text without breaking words by @deosiree in https://github.com/iOfficeAI/OfficeCLI/pull/620

 New Contributors
 @13robin37 made their first contribution in https://github.com/iOfficeAI/OfficeCLI/pull/616
 @deosiree made their first contribution in https://github.com/iOfficeAI/OfficeCLI/pull/620

Full Chan

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON