office-command-operate

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.

Linux curl -fsSL https://raw.githubusercontent.com/karlmoriaty/office-command-operate/main/install.sh | bash
Windows irm https://raw.githubusercontent.com/karlmoriaty/office-command-operate/main/install.ps1 | iex
1 binary 3 formats 350+ functions 0 dependencies JSON everywhere
◉

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.

One command, deterministic JSON
"command": "set",  "path": "/Sheet1/A1",  "props": { "text": "Q4 revenue" }