OfficeCLI: The AI-Native CLI for Word, Excel, and PowerPoint Automation

This repository profile is provided by osrepos.com, an open source repository discovery platform.

OfficeCLI: The AI-Native CLI for Word, Excel, and PowerPoint Automation

Summary

OfficeCLI is a free, open-source command-line interface designed for AI agents and developers to read, edit, and automate Word, Excel, and PowerPoint files. It operates as a single binary, requiring no Office installation or dependencies. With its built-in rendering and formula engines, OfficeCLI enables high-fidelity document manipulation and visualization in headless environments.

Repository Information

Analyzed by OSRepos on June 28, 2026

Topics

Click on any tag to explore related repositories

Use at your own risk

OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.

Introduction

OfficeCLI is the world's first and best Office suite specifically designed for AI agents to read, edit, and automate Word, Excel, and PowerPoint files. This free, open-source command-line interface operates as a single binary, requiring no Microsoft Office installation or external dependencies. It empowers AI agents and developers to gain full control over document manipulation with simple, powerful commands.

A key feature of OfficeCLI is its built-in HTML rendering engine, which reproduces documents with high fidelity. This allows AI agents to "see" the rendered document, enabling a crucial render, look, and fix loop for precise adjustments, even in headless or containerized environments.

Installation

Getting started with OfficeCLI is straightforward, thanks to its self-contained binary.

One-line install for macOS / Linux:

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

One-line install for Windows (PowerShell):

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

Alternatively, you can download the binary for your specific platform directly from the GitHub Releases page. After downloading, simply run officecli install to set it up and integrate it with detected AI coding agents.

Examples

OfficeCLI simplifies complex document tasks into concise commands. Here's a quick start to create and modify a PowerPoint presentation:

1. Create a blank PowerPoint:

officecli create deck.pptx

2. Start live preview (opens in your browser):

officecli watch deck.pptx

3. In another terminal, add a slide and watch the browser update instantly:

officecli add deck.pptx / --type slide --prop title="Hello, World!"

4. Get structured JSON for an element:

officecli get deck.pptx '/slide[1]' --json

This provides a clear, machine-readable output for easy integration into automated workflows.

Why Use OfficeCLI?

OfficeCLI offers unique advantages for both AI agents and human developers:

  • AI-Native Design: Provides deterministic JSON output, path-based addressing, and a progressive complexity model (L1: Read, L2: DOM, L3: Raw XML) that minimizes token usage for AI agents.
  • Built-in Rendering Engine: Allows AI agents to visualize their output with view html, view screenshot, or watch, enabling self-correction of layout issues without needing Microsoft Office.
  • Powerful Document Automation: Automate report generation, batch-process documents, build CI/CD document pipelines, and perform headless Office automation in Docker environments.
  • Comprehensive Functionality: Supports creating, reading, modifying, analyzing, and reorganizing content across Word (.docx), Excel (.xlsx), and PowerPoint (.pptx) files.
  • Advanced Features: Includes a built-in formula and pivot engine for Excel, template merging for {{key}} placeholders, and a round-trip dump command to learn from existing documents.
  • Cross-Platform & Zero-Install: Ships as a single, self-contained binary for macOS, Linux, and Windows, embedding the .NET runtime so there's nothing else to install.

Compared to traditional methods, OfficeCLI streamlines document manipulation, making it highly efficient for modern AI-driven and automated workflows.

Links

Related repositories

Similar repositories that may be relevant next.

Cognithor: A Local-First Autonomous Agent OS for AI Automation

Cognithor: A Local-First Autonomous Agent OS for AI Automation

August 28, 2026

Cognithor is an innovative local-first autonomous agent operating system designed for AI experimentation and personal automation. It supports 19 LLM providers, 17 communication channels, and features a 6-tier cognitive memory system, ensuring all your data remains private on your machine. This powerful Python-based platform offers extensive capabilities for managing tasks, knowledge, and automated workflows.

agent-osai-agentautonomous-agent
DeepSeek-Reasonix: Your AI Coding Agent for the Terminal

DeepSeek-Reasonix: Your AI Coding Agent for the Terminal

August 26, 2026

DeepSeek-Reasonix is an AI coding agent designed for your terminal, offering a stable and persistent environment for development tasks. Engineered with prefix-cache stability, it allows you to leave it running for continuous autonomous operation. This tool integrates seamlessly into various workflows, from CLI to VS Code, enhancing productivity with AI assistance.

ai-agentcoding-agentterminal
OpenSandbox: A Secure and Extensible Sandbox Runtime for AI Agents

OpenSandbox: A Secure and Extensible Sandbox Runtime for AI Agents

August 12, 2026

OpenSandbox is a powerful, general-purpose sandbox platform designed for AI applications. It provides secure, fast, and extensible runtime environments, supporting multi-language SDKs and Docker/Kubernetes deployments. This project is ideal for developing and evaluating AI agents in isolated, controlled settings.

aiai-agentai-infra
Mercury Agent: A Soul-Driven AI with Hardened Permissions and Multi-Channel Access

Mercury Agent: A Soul-Driven AI with Hardened Permissions and Multi-Channel Access

August 12, 2026

Mercury Agent is a sophisticated, soul-driven AI agent designed for continuous 24/7 operation, offering robust permission-hardened tools, intelligent token budgeting, and versatile multi-channel access. It remembers what matters, asks for permission before acting, and runs seamlessly from the CLI, Telegram, or a web dashboard. With 31 built-in tools, Kanban boards, and a SQLite-backed Second Brain memory, Mercury provides a comprehensive and secure AI assistant experience.

ai-agentai-assistantllm

Source repository

Open the original repository on GitHub.

28 counted GitHub visits

View on GitHub
OS
OSRepos

Analysis and discovery of open source repositories. Find interesting projects and follow their updates.

Monitor your website with YourWebsiteScore

OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of third-party repository code is at your own risk. Always review source code, dependencies, licenses, and security implications before running anything.

© 2025 OSRepos. Built with Nuxt 3 and lots of ❤️