PPTX CLI automation

PPTX Generator CLI for AI Agents & Automation

OfficeCLI turns a structured prompt into an editable PPTX deck from the terminal, a CI job, or an agent task. It is built for developers who need repeatable presentation generation without building a slide renderer, storage gateway, or publish workflow from scratch.

officecli new pptx "Q3 Business Review" --prompt "Create a six-slide executive deck for a SaaS quarterly business review. Cover growth, retention, risks, and next-quarter actions."

Generate decks where the agent already works

Most AI presentation workflows break when they leave chat and need a real .pptx file. OfficeCLI keeps the handoff close to the agent. A planner, coding assistant, operations bot, or build job can call one binary, pass a brief, and receive an editable deck that opens in PowerPoint, Keynote, or compatible office suites.

The generator supports PPTX as a first-class output next to DOCX, XLSX, workbook-backed REPORT, and standalone IMG generation. That matters when a workflow needs more than slides: the same automation can draft the deck, create a workbook, turn the workbook into a report, and publish the resulting artifact through the same OfficeCLI preview channel.

External Mode and Hosted Mode

External Mode is free and unlimited when you bring your own LLM endpoint. Teams that already run a model gateway can keep prompts, routing, and spend policy inside their existing environment while still using OfficeCLI for document assembly and packaging.

Hosted Mode uses hosted credits for the OfficeCLI-managed runtime. It is useful when a developer wants the quickest path to a working deck generator, or when an internal tool should avoid asking every user to configure a model endpoint before creating the first presentation.

Images, review, and preview publishing

PPTX generation can include images by default when the plan benefits from visuals. Add `--no-images` for a text-only deck. After generation, OfficeCLI can review local PPTX files, run structural checks, and use LibreOffice for a stronger visual review pass when it is available.

The publish path is the main difference from a one-off slide script. A successful run can return a password-protected `officecli.io/p/<id>` preview URL in the same command. Agents can hand the user a link for inspection while keeping the editable PPTX available as a local file.

Operationalize PPTX generation

For production use, keep prompts explicit about audience, slide count, decision context, and any sections that must appear in the deck. Store longer prompts in files so agents can reuse the same template across product reviews, customer updates, incident summaries, and sales enablement workflows.

A good implementation treats OfficeCLI as the file-production step after the agent has gathered facts and written the brief. The agent should call the command, return the local artifact path, and include the preview URL when publishing is enabled. That keeps the automation inspectable instead of hiding the presentation behind an opaque chat response.

Teams can also add a simple review step after generation. Use the generated deck as the first draft, run PPTX review when quality matters, and keep the prompt file with the source material so future updates can be regenerated instead of hand-edited from scratch.

FAQ

Does OfficeCLI generate real PowerPoint files?

Yes. The PPTX output is an editable Office file, not a screenshot-only export.

Can I generate text-only decks?

Yes. Use `--no-images` when you want the deck to avoid generated or embedded images.

Can an agent publish the generated deck online?

Yes. When publish is configured, OfficeCLI can return a password-protected online preview URL after a successful generation.