OfficeCLI
CLI Binary
Agent-Friendly
Open Source
Best for: AI agents and automation pipelines that need to read, edit, and create Word, Excel, and PowerPoint files without installing Microsoft Office — single binary, drop-in, headless
Not ideal for: Interactive use or high-design presentations — OfficeCLI is optimized for programmatic manipulation, not visual design work
Full Office Suite — No Office Install Needed
Key differentiator: OfficeCLI is a single compiled binary — no Python environment, no npm, no Office license. Drop it into any server, container, or CI environment and it works immediately. Designed specifically for AI agent use.
Key Capabilities
📖
Read Office Files
Extract text, tables, slide content, and metadata from DOCX, XLSX, and PPTX — structured JSON output that's easy to pass to Claude
✏️
Edit Existing Files
Update cell values, replace text, add rows, modify slide content — edit in place without recreating the whole file from scratch
🏗️
Create New Files
Generate new DOCX, XLSX, and PPTX files from CLI commands or agent instructions — no template required
🤖
Designed for Agent Pipelines
CLI interface is structured for Claude Code and agent use — predictable output formats, exit codes, and error messages that agents can parse reliably
🐳
Container & CI Friendly
Single binary with no runtime dependencies — runs in Docker, GitHub Actions, Lambda, or any headless environment without additional setup
Signals
Distribution
Single binary
Office License Required
No
Formats
DOCX / XLSX / PPTX
Quality Assessment
PPTX Feature Coverage
3.8
Tested v1.0.28 (mac-arm64): outline, query, create, add slide/shape/chart, set, validate, check, and xlsx commands all passed. Chart data format confirmed: "Series:v1,v2,v3;Series2:v1,v2,v3". Deploy simplicity is unmatched — true single-binary, zero dependencies. Agent-Friendliness slightly lower than estimated: all properties require --prop key=value format (bare --text fails with a hint), and XPath-style paths require a prior query to get correct indices. The validate + check dual QA commands are a genuine pipeline asset.
Install & Use
curl -L https://github.com/iOfficeAI/OfficeCLI/releases/latest/download/officecli-linux-amd64 \
-o officecli && chmod +x officecli
./officecli read presentation.pptx
./officecli edit presentation.pptx --slide 2 --text "Updated title text"
./officecli read report.xlsx --sheet "Q3 Data"