{"data":{"slug":"iofficeai-officecli","name":"OfficeCLI","tagline":"First and best Office suite for AI agents to automate Word, Excel, and PowerPoint files.","github_url":"https://github.com/iOfficeAI/OfficeCLI","owner":"iOfficeAI","repo":"OfficeCLI","owner_avatar_url":"https://avatars.githubusercontent.com/u/145246968?v=4","primary_language":"C#","stars":28777,"forks":1953,"topics":["agent","ai","claude-code","cli","codex","docx","excel","office","openclaw","pptx","presentation","skills","word","xlsx"],"archived":false,"github_pushed_at":"2026-08-13T10:28:53+00:00","maintenance_label":"Very active","stars_delta_30d":9205,"url":"https://www.graphcanon.com/tools/iofficeai-officecli","markdown_url":"https://www.graphcanon.com/tools/iofficeai-officecli.md","api_url":"https://www.graphcanon.com/api/graphcanon/tools/iofficeai-officecli","graph_url":"https://www.graphcanon.com/api/graphcanon/graph?tool=iofficeai-officecli","description":"OfficeCLI is the first and best Office suite  purpose-built for AI agents to read, edit, and automate Word, Excel, and PowerPoint files. Free, open-source, single binary, no Office installation required.","homepage_url":"https://officecli.ai","license":"Apache-2.0","open_issues":82,"watchers":83,"ai_summary":"Freely available open-source single binary CLI tool that enables reading, editing, and automating of Microsoft Office file formats including docx, pptx, and xlsx without requiring an installation of Office.","readme_excerpt":"# 1. Install (macOS / Linux) — or: brew install officecli / npm install -g @officecli/officecli\ncurl -fsSL https://raw.githubusercontent.com/iOfficeAI/OfficeCLI/main/install.sh | bash\n\n---\n\n# Windows (PowerShell): irm https://raw.githubusercontent.com/iOfficeAI/OfficeCLI/main/install.ps1 | iex\n\n---\n\n## Installation\n\nShips as a single self-contained binary. The .NET runtime is embedded -- nothing to install, no runtime to manage.\n\n**One-line install:**\n\n```bash\n\n---\n\n# Python — `pip install officecli-sdk`\nimport officecli\nwith officecli.create(\"deck.pptx\") as doc:          # or officecli.open(\"deck.pptx\")\n    doc.send({\"command\": \"add\", \"parent\": \"/\", \"type\": \"slide\"})\n    print(doc.send({\"command\": \"get\", \"path\": \"/slide[1]\"}))\n```\n\n```javascript\n// Node.js — `npm install @officecli/sdk`\nconst oc = require(\"@officecli/sdk\");\nconst doc = await oc.create(\"deck.pptx\");            // or oc.open(\"deck.pptx\")\nawait doc.send({ command: \"add\", parent: \"/\", type: \"slide\" });\nconsole.log(await doc.send({ command: \"get\", path: \"/slide[1]\" }));\nawait doc.close();\n```\n\nBoth SDKs auto-provision the native CLI when missing (mirror-first, Windows-capable) and announce the install rather than doing it silently.\n\nOr wrap subprocess directly, one-shot:\n\n```python\nimport json, subprocess\ndef cli(*args):\n    return json.loads(subprocess.check_output([\"officecli\", *args, \"--json\"], text=True))\ncli(\"create\", \"deck.pptx\")\n```\n\n---\n\n## License\n\n[Apache License 2.0](LICENSE)\n\nBug reports and contributions are welcome on [GitHub Issues](https://github.com/iOfficeAI/OfficeCLI/issues).\n\n---\n\nIf you find OfficeCLI useful, please [give it a star on GitHub](https://github.com/iOfficeAI/OfficeCLI) — it helps others discover the project.\n\n[OfficeCLI.AI](https://OfficeCLI.AI) | [GitHub](https://github.com/iOfficeAI/OfficeCLI)","github_created_at":"2026-03-15T07:39:12+00:00","created_at":"2026-07-07T17:39:31.685793+00:00","updated_at":"2026-08-19T06:01:19.598335+00:00","categories":[{"slug":"ai-agents","name":"AI Agents","url":"https://www.graphcanon.com/categories/ai-agents","markdown_url":"https://www.graphcanon.com/categories/ai-agents.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/ai-agents"},{"slug":"developer-tools","name":"Developer Tools","url":"https://www.graphcanon.com/categories/developer-tools","markdown_url":"https://www.graphcanon.com/categories/developer-tools.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/developer-tools"}],"tags":[{"slug":"agent","name":"agent"},{"slug":"ai","name":"ai"},{"slug":"claude-code","name":"claude-code"},{"slug":"cli","name":"cli"},{"slug":"codex","name":"codex"},{"slug":"docx","name":"docx"},{"slug":"excel","name":"excel"},{"slug":"office","name":"office"}],"trust":{"provenance":{"is_fork":false,"github_id":1182212878,"owner_type":"Organization","methodology":"github_public_v1","parent_repo":null,"near_duplicate_slugs":[]},"computed_at":"2026-08-19T06:01:18.809Z","maintenance":{"label":"Very active","score":96,"methodology":"github_public_v1","releases_90d":30,"days_since_push":5,"last_release_at":"2026-08-13T10:53:09Z","stars_delta_30d":9205,"open_issues_delta_30d":50},"security_summary":{"status":"no_lockfile","scanner":null,"low_count":0,"high_count":0,"last_scan_at":"2026-07-11T11:13:41.808Z","medium_count":0,"scan_profile":"none","critical_count":0}},"capability_facts":{"scan":{"source":"repo_scan","observed_at":"2026-08-19T06:01:19.324Z"},"languages":{"value":["c#"],"source":"github.language","observed_at":"2026-08-19T06:01:19.324Z"},"license_spdx":{"value":"Apache-2.0","source":"github.license","observed_at":"2026-08-19T06:01:19.324Z"}},"decision_facts":{"hosting":null,"pricing":null,"requirements":{"notes":["Runs cross-platform (macOS/Linux/Windows), with embedded .NET runtime for a self-contained solution."]},"constraints":null,"when_to_use":["When you need to programmatically interact with Word, Excel, and PowerPoint files using AI agents without requiring a full Microsoft Office suite installation.","If your project requires a tool that automatically provisions the CLI for both Python and Node.js without silently installing it in the background, ensuring clear visibility on installations."],"when_not_to_use":["When your application strictly needs features or integrations only available through a full Office Software Development Kit (SDK).","If you are looking for a tool that operates purely as part of an existing Microsoft Office installation, as OfficeCLI functions independently and doesn’t require or integrate with these installations."],"source":"enrich:decision_facts","observed_at":"2026-07-11T15:04:17.313Z"},"constraint_facets":null,"decision_summary":[{"label":"Requirements","value":"Runs cross-platform (macOS/Linux/Windows), with embedded .NET runtime for a self-contained solution."},{"label":"Adopt for","value":"OfficeCLI is a single binary CLI tool for AI agents to automate Microsoft Office file formats like docx, pptx, and xlsx without needing an installation of Office. It's written in C# under the Apache-2.0 license."},{"label":"License detail","value":"OfficeCLI is distributed under the Apache-2.0 license, granting permissions to use, share, and modify the software freely."}]}}