Cette page est affichée en anglais. Une traduction française est en cours.
SkillsMay 14, 2026·2 min de lecture

OfficeCLI — Word/Excel/PPT CLI for Agents

Install OfficeCLI as a single binary and let agents create/edit Word, Excel, and PowerPoint files with live preview—no Microsoft Office required.

Prêt pour agents

Cet actif peut être lu et installé directement par les agents

TokRepo expose une commande CLI universelle, un contrat d'installation, le metadata JSON, un plan selon l'adaptateur et le contenu raw pour aider les agents à juger l'adaptation, le risque et les prochaines actions.

Stage only · 17/100Stage only
Surface agent
Tout agent MCP/CLI
Type
CLI Tool
Installation
Stage only
Confiance
Confiance : Established
Point d'entrée
Asset
Commande CLI universelle
npx tokrepo install 9907152d-c0b0-5e6e-a674-6a96a4a4f169
Introduction

Use OfficeCLI to let an AI agent safely create and modify Office files via a CLI and preview results locally.

Install OfficeCLI as a single binary and let agents create/edit Word, Excel, and PowerPoint files with live preview—no Microsoft Office required.

Best for: developers wiring document automation into agent workflows (generate PPTs, patch DOCX, batch edits) without Office installs

Works with: macOS/Linux/Windows, a downloaded or installed binary, local file paths, optional live preview server

Setup time: ~3–8 minutes (install script + first run)

Key facts (verified)

  • GitHub: 4,383 stars · 363 forks · pushed 2026-05-14.
  • License: Apache-2.0 · owner avatar + repo URL verified via GitHub API.
  • Entrypoint (README-backed): curl -fsSL https://raw.githubusercontent.com/iOfficeAI/OfficeCLI/main/install.sh | bash.

Main

  • Keep office file generation deterministic: store templates in repo and only let agents edit specific placeholders.
  • Use watch during development to validate layout changes quickly before running a batch pipeline.
  • For CI, generate outputs into a dedicated artifact folder and diff structural changes between runs.

README excerpt (source)

# OfficeCLI

> **OfficeCLI is the world's first and the best Office suite designed for AI agents.**

**Give any AI agent full control over Word, Excel, and PowerPoint — in one line of code.**

Open-source. Single binary. No Office installation. No dependencies. Works everywhere.

**Built-in agent-friendly rendering engine** — agents can *see* what they create, no Office required. Render `.docx` / `.xlsx` / `.pptx` to HTML or PNG, closing the *render → look → fix* loop anywhere the binary runs.

[![GitHub Release](https://img.shields.io/github/v/release/iOfficeAI/OfficeCLI)](https://github.com/iOfficeAI/OfficeCLI/releases)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](LICENSE)

**English** | [中文](README_zh.md) | [日本語](README_ja.md) | [한국어](README_ko.md)

<p align="center">
  <strong>💬 Community:</strong> <a href="https://discord.gg/2QAwJn7Egx" target="_blank">Discord</a>
</p>

<p align="center">
  <img src="assets/ppt-process.gif" alt="OfficeCLI creating a PowerPoint presentation on AionUi" width="100%">
</p>

<p align="center"><em>PPT creation process using OfficeCLI on <a href="https://github.com/iOfficeAI/AionUi">AionUi</a></em></p>

FAQ

Q: Do I need Microsoft Office installed? A: The README states it works as a single binary without an Office installation.

Q: What’s the fastest demo? A: Create a file then run officecli watch to open the live preview URL.

Q: Can agents use it directly? A: The repo includes an agent-facing SKILL file and CLI commands; start with local files and least-privilege paths.

🙏

Source et remerciements

Source: https://github.com/iOfficeAI/OfficeCLI > License: Apache-2.0 > GitHub: 4,383 stars · 363 forks · pushed 2026-05-14

Fil de discussion

Connectez-vous pour rejoindre la discussion.
Aucun commentaire pour l'instant. Soyez le premier à partager votre avis.

Actifs similaires