Skip to content
karlmoriaty edited this page Dec 6, 2026 · 1 revision

FAQ

Does it require Microsoft Office?

No. cmd_op reads and writes OOXML directly and renders HTML/PNG itself. PDF export uses the built-in HTML pipeline and a local Chrome/Edge when available.

Which platforms are supported?

Linux x64/ARM64 and Windows x64/ARM64. macOS is not covered yet.

Is it a replacement for Office?

No. It is a headless automation tool for scripts, CI, and agents. Complex layouts, some animations, and rare fonts can render differently from Office.

How is it different from python-docx / openpyxl / python-pptx?

Those are libraries that write files blind. cmd_op is a CLI/MCP tool with a built-in renderer, stable DOM paths, and deterministic JSON, so an agent can inspect its output and fix layout problems.

Can an agent really see the document?

It can call view html, view screenshot, or watch and pass the PNG/HTML to a multimodal model. The model then fixes properties and re-renders.

Are Excel formulas calculated?

Yes, 350+ functions evaluate on write. view issues also reports formula errors.

Does it work in CI or Docker?

Yes, for the core CLI, rendering, diff, and PDF paths. PDF export needs Chrome or Edge in the image.

Is serve safe to expose?

No. It binds to loopback by default, runs one command at a time, and has no TLS or rate limiting. It is a local integration surface, not a production server.

Why is the project still early?

It is maintained by one person and the API can change. See Contributing if you want to help.