OfficeCLI gives AI agents eyes for Word, Excel & PowerPoint
4 months ago
Your AI agent can write a Word doc, a spreadsheet, or a slide deck. But it's doing it blind. OfficeCLI is one binary that gives it eyes for all three.
Ask about this presentation
Chapters
0:00Slide 1
0:08One binary: read, edit, create .docx / .xlsx / .pptx
0:23The old way was one blind library per format
0:41A rendering engine, so the agent can see its own output
1:00Three ways to render
1:13Excel that computes on write
1:29Publication-ready Word, not a rough draft
1:43Start cheap, escalate only when you must
2:03One line to install
2:16OfficeCLI
Show transcriptHide transcript
Your AI agent can write a Word doc, a spreadsheet, or a slide deck. But it's doing it blind. OfficeCLI is one binary that gives it eyes for all three.
Here's a spreadsheet an agent built with it. Point OfficeCLI at a Word, Excel, or PowerPoint file, and it reads, edits, or creates the whole thing. It's one self-contained binary with dot-NET baked in. No Office, no Python, and it runs on Mac, Linux, and Windows.
So why does this matter? The old way to give an agent an Office file was a separate Python library per format, Python only. And blind: it writes the XML and can't tell if the title overflowed or two shapes overlap. OfficeCLI folds all three into one command you call from any language, and adds the missing sense.
And here's the clever part. Built in, from scratch, is a rendering engine. It turns any document into an image, so a multimodal agent can look at the rendered page instead of guessing from the XML. The agent writes, renders a picture, reads it back, and fixes what's off. Render, look, fix. And because it's in the binary, that loop runs headless, no display required.
You get that sight three ways. View html gives you one standalone file. View screenshot hands a multimodal agent a per-page picture to read. And watch runs a live local preview that refreshes the moment you change anything.
The Excel side actually computes. Write a formula, read the cell, and the value is already there. Over three hundred fifty built-in functions evaluate on write, from dynamic arrays to XLOOKUP to financial and statistical. And it builds real pivot tables from a range in one command, no round trip through Office.
The same engine drives Word. Headings, body text, tables, even real equations, converted to LaTeX and rendered cleanly. What comes out is a finished, publication-ready document, not a rough first draft you still have to lay out.
Under the hood, three choices make it agent-native. The API has three layers: read with view, edit by path, drop to raw XML only when needed, so it starts cheap and escalates only when it must. Template merge fills one layout with JSON, deterministic and nearly free. And a built-in MCP server wires it into agents like Claude Code, Cursor, and Codex.
Getting it is one line. Brew, scoop, or npm, or a curl script, with prebuilt binaries for Mac, Linux, and Windows. It's Apache licensed and free. And if you'd rather skip the terminal, AionUi is a desktop app that drives it for you.
So that's OfficeCLI. One binary that gives your agent eyes for Office. If your agent builds documents, this is worth a look. The link's on screen, and there's a new repo tomorrow.
Up next
6:49Hide the tests from your coding agent? StrongDM's holdout idea, tested on Claude Code
@github-trending
3 weeks ago
0:51Claude Code built a machine to explain prompt caching
@github-trending
1 month ago
10:10reladraw draws your diagram from where you say the boxes go
@github-trending
1 month ago
7:27Lap photo manager finds photos by what's in them, offline
@github-trending
2 months ago
9:04Spirula Studio does Gaussian splatting on any graphics card
@github-trending
2 months ago
8:50Univer puts a spreadsheet, document editor and slides in your app
@github-trending
2 months ago
18:13i-have-adhd, ponytail, and 7 more skills that make your agent stop explaining itself
@github-trending
2 months ago
7:57Homebrew BrewUI runs every brew command in a clean shell
@github-trending
2 months ago
8:35fugleramme draws the birds in your garden on an e-ink frame
@github-trending
2 months ago
9:01Open Code Review: Alibaba open-sourced the code reviewer it validated on a million real tasks
@github-trending
2 months ago
3:03Portless refuses to touch eight shapes of command, and says why for each
@github-trending
2 months ago
2:52The measurement file says 1.571. The stylesheet says 1.57.
@github-trending
2 months ago