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.

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
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, orwatch, 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-tripdumpcommand 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
- GitHub Repository: iOfficeAI/OfficeCLI
- Official Website: officecli.ai
- Community Discord: Join Discord
Related repositories
Similar repositories that may be relevant next.
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.

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.

nanobot: An Ultra-Lightweight, Self-Hosted Personal AI Agent Framework
August 9, 2026
nanobot is an ultra-lightweight, open-source, self-hosted personal AI agent framework built in Python. It offers a WebUI, tools, memory, multi-agent workflows, and automation capabilities, making it a versatile solution for personal AI tasks. Users can deploy it across various platforms, including chat apps, for seamless integration.

QwenPaw: Your Personal AI Assistant for Local and Cloud Deployment
August 7, 2026
QwenPaw is a powerful personal AI assistant designed for easy installation and deployment, either on your local machine or in the cloud. It supports multiple chat applications and offers highly extensible capabilities, making it a versatile tool for various AI-driven tasks. With its robust memory system and security features, QwenPaw aims to be an intuitive and private partner in your digital life.
Source repository
Open the original repository on GitHub.
15 counted GitHub visits