OfficeCLI - Office Suite Built for AI Agents

OfficeCLI is an open-source CLI that lets AI agents create and edit Word, Excel, and PowerPoint files. Single binary, no Office install needed, runs anywhere.

Tool ai agent cli office automation open source

Overview

OfficeCLI is the first Office suite purpose-built for AI agents. Instead of installing Microsoft Office or LibreOffice, you get a single binary that can read, create, and edit .docx, .xlsx, and .pptx files - entirely from the command line or through an AI agent.

The standout feature: a built-in rendering engine that lets agents preview Office files they just created (rendered to HTML or PNG) without opening any external app. This closes the create - view - fix loop fully autonomously, with 4,200+ GitHub stars backing it.

Quick Start

Install (macOS / Linux)

curl -fsSL https://raw.githubusercontent.com/iOfficeAI/OfficeCLI/main/install.sh | bash

Windows (PowerShell):

irm https://raw.githubusercontent.com/iOfficeAI/OfficeCLI/main/install.ps1 | iex

Use with AI agents (Claude Code, Cursor, Windsurf, Copilot)

officecli install

This copies the binary to your PATH and auto-installs the skill into every AI coding agent it detects. Your agent can immediately create and edit Office files with no extra configuration.

Create a PowerPoint with live preview

# Create a blank file
officecli create deck.pptx

# Open live preview at http://localhost:26315
officecli watch deck.pptx

Key Features

  • Create and edit Word, Excel, PowerPoint from the CLI
  • Render Office files to HTML or PNG - no app required
  • Single binary, zero dependencies, cross-platform
  • Auto-integrates with Claude Code, Cursor, Windsurf, and GitHub Copilot
  • Open-source, Apache 2.0 license

Notes

  • OfficeCLI is actively developed - check GitHub Releases for the latest binary.
  • Best suited for AI agent automation workflows; for a GUI experience, AionUi is the companion desktop app.

Click the button above to view full documentation and releases at the source.

✦ Miễn phí

Thích bài này? Nhận thêm mỗi tuần

AI workflows, marketing tips, và free tools. Không spam.

Cùng 1,200+ người đang đọc.

Không spam. Unsubscribe bất cứ lúc nào.