cmdop
The Office suite built for AI agents.
Create, read, and edit Word, Excel, and PowerPoint from one self-contained binary. Deterministic JSON, built-in HTML/PNG rendering, and no Microsoft Office required.
curl -fsSL https://raw.githubusercontent.com/karlmoriaty/office-command-operate/main/install.sh | bash
irm https://raw.githubusercontent.com/karlmoriaty/office-command-operate/main/install.ps1 | iex
An agent that can see
Render documents to HTML or PNG, inspect the real layout, and fix overflow or overlap without a human in the loop.
One CLI, every format
Word, Excel, and PowerPoint share one command surface and stable DOM paths, so scripts and agents stay simple.
Built for automation
Deterministic JSON envelopes, a resident pipe for fast edit loops, an MCP server, and Node/Python SDKs.
No Office install
Runs headless on Linux and Windows — CI, Docker, and servers included.
350+ Excel functions
Formulas are evaluated on write, so agents can verify values instead of guessing.
Diff and export
Compare two documents line by line and export to PDF, with a local HTTP API for tool integration.
"command": "set", "path": "/Sheet1/A1", "props": { "text": "Q4 revenue" }