OfficeCLI
Single-binary CLI that lets AI agents create, read, edit, and render Word, Excel, and PowerPoint files without an Office installation.
OfficeCLI is a command-line tool for creating, reading, and modifying .docx, .xlsx, and .pptx files. It ships as a single binary with no dependencies and does not require Microsoft Office. It is aimed at AI agents: running officecli install copies the binary to your PATH and installs an "officecli skill" into detected coding agents such as Claude Code, Cursor, Windsurf, and GitHub Copilot.
Commands use a path-based element model. create deck.pptx makes a blank file. add deck.pptx / --type slide --prop title="Q4 Report" adds content. get deck.pptx '/slide[1]/shape[1]' --json returns structured JSON for an element. view deck.pptx outline prints a text outline, and view deck.pptx html opens a rendered preview. set and remove modify and delete elements, and close flushes the resident session to disk. The README says the tool can also analyze formatting and style problems and move or copy elements across documents.
A built-in HTML rendering engine renders documents to HTML or PNG, so an agent can render, inspect, and fix its output in a loop. officecli watch deck.pptx serves a live preview at http://localhost:26315 that refreshes after each add, set, or remove command.
Word support covers i18n and RTL (for example create --locale ar-SA), tables, styles, headers and footers, equations with LaTeX input, mermaid diagrams, comments, footnotes, tracked changes with accept and reject, form fields, content controls, and OLE objects. Excel support includes reading formulas and modifying charts. The target users are developers building agent workflows and people who want agents to produce Office documents. The AionUi desktop app is available as a GUI built on OfficeCLI.
Installation
# via Homebrew
brew install officecli
# via npm
npm install -g @officecli/officecli
# via Shell script (macOS / Linux)
curl -fsSL https://raw.githubusercontent.com/iOfficeAI/OfficeCLI/main/install.sh | bash



Alternatives & related tools
OpenClaude
Open-source terminal coding-agent CLI that works with OpenAI-compatible APIs, Gemini, GitHub Models, Codex, Ollama and other cloud or local model backends.
OpenCLI
Turns websites and Electron apps into CLI commands and lets AI agents drive your logged-in Chrome via a Browser Bridge extension and opencli browser primitives.
DeepSeek-Reasonix
Open-source coding agent shipped as a single Go binary with a TUI, desktop app, and ACP editor integration; DeepSeek preset, any OpenAI-compatible model.
Continue
Open-source coding agent distributed as a CLI, VS Code extension, and JetBrains plugin. Repository is read-only after the final 2.0.0 release.
Crush
Terminal-based agentic coding assistant from Charm that connects to many LLM providers, uses LSPs for context, and extends via MCP servers.
add a badge to your README
Maintain OfficeCLI? Show that it's featured on trmn. The badge links back to this page.
[](https://www.trmn.sh/tools/officecli?utm_source=badge)<a href="https://www.trmn.sh/tools/officecli?utm_source=badge"><img src="https://www.trmn.sh/badge/officecli.svg" alt="Featured on trmn" height="20"></a>