HeadlinesBriefing favicon HeadlinesBriefing.com

OfficeCLI: AI-native Office Suite Without Microsoft Dependencies

Hacker News •
×

OfficeCLI, developed by iOfficeAI, is a single-binary, open-source command-line tool enabling AI agents to read, edit, and generate Word, Excel, and PowerPoint files without requiring Microsoft Office installed. It includes a built-in HTML rendering engine that converts .docx, .xlsx, and .pptx to HTML or PNG for real-time visual feedback—closing the render-look-fix loop critical for agent workflows.

The tool supports full document manipulation via minimalist commands: `officecli add deck.pptx / --type slide --prop title="Q4 Report"` replaces ~50 lines of Python using python-pptx. It exposes structured JSON introspection (`officecli get deck.pptx '/slide[1]/shape[1]' --json`) and supports live preview via `officecli watch`, updating a browser window instantly on each command.

Key capabilities include: full i18n/RTL support for Word (including locale-aware page numbering and complex-script styling), Excel formula auto-evaluation with 350+ functions and pivot table control, and PowerPoint animations, transitions, and 3D model integration. It works with major AI coding assistants—Claude Code, Cursor, GitHub Copilot—via a single-line install script that auto-configures the skill file. The tool is free, dependency-free, and available for macOS, Linux, and Windows.