@vintcessun: VibeOfficing 这个方向迟早要火。OfficeDex 直接让你用自然语言生成原生 .docx/.pptx/.xlsx,不用过 HTML 再转,不用手动调格式。它的设计不是单 prompt 出文件,而是多个 Agent 分工——一…
摘要
OfficeDex is the first AI-native VibeOfficing platform that generates native .docx/.pptx/.xlsx files directly from natural language, using multiple agents for structure, content, and formatting, with memory and built-in preview.
查看缓存全文
缓存时间: 2026/06/08 15:28
VibeOfficing 这个方向迟早要火。OfficeDex 直接让你用自然语言生成原生 .docx/.pptx/.xlsx,不用过 HTML 再转,不用手动调格式。它的设计不是单 prompt 出文件,而是多个 Agent 分工——一个定大纲,一个写内容,一个做排版,还会记住你过往的风格。加上内置预览不用装 Office,对每周要出报告的团队很友好。
officecli/officedex
Source: https://github.com/officecli/officedex
The First AI-Native VibeOfficing Platform
VibeCoding writes code. VibeOfficing writes documents. Powered by OfficeDex.
💡 VibeOfficing
Developers already VibeCode — describe intent, AI writes the program. VibeOfficing is the same paradigm for documents.
Say what you need → OfficeDex produces native
.docx/.pptx/.xlsxdirectly.
- Understands OOXML formats, templates, and layout conventions — the same way coding AI understands languages, frameworks, and design patterns
- No intermediate HTML. No copy-paste. No manual formatting.
- The output is the final file.

| Coding World | Office World | What AI Learns |
|---|---|---|
| Languages (Python / Go / TS) | Formats (OOXML: .docx / .pptx / .xlsx) | Syntax |
| Frameworks (React / Django / Spring) | Templates (quarterly reports, pitch decks, competitive analysis) | Structure |
| Design patterns (MVC / Observer) | Layout habits (heading hierarchy, color schemes, chart styles) | Style conventions |
Memory · Format · Agent
OfficeDex is not just “one prompt → one file.” It’s a document workspace with memory.
- Memory — Remembers your style and design language across sessions. Your 50th report inherits the same polish as your 1st.
- Format — Handles OOXML natively. No HTML rendering, no export-and-pray.
- Agent — Multiple AI agents collaborate: one plans structure, one writes content, one handles formatting.
OfficeDex remembers how your documents look — not just what they say. Digitize your style into OfficeDex — never start from scratch again.

⚡ OfficeDex in 30 Seconds
|
Input
|
Output 📄 |

↑ From one sentence to a finished Word doc in under a minute.
📑 Table of Contents
🎯 What is OfficeDex
In one sentence: Tell it what you want — it generates Word / PPT / Excel for you.
- 📝 Natural language to documents — Type “write a Q3 sales analysis report” and get structure, sections, illustrations, and charts automatically
- 🎨 Slides in one shot — Project kickoffs, product launches, industry briefings: built-in templates plus custom prompts
- 📊 Spreadsheets & analysis — Competitive matrices, financial models, survey results — Excel ready out of the box
- 🖼️ Image input supported — Paste screenshots or upload reference images; the AI understands visual context
- ⚙️ Run locally or hosted — Bring your own LLM (OpenAI / Claude / self-hosted) or use the OfficeCLI hosted runtime

🔥 Why OfficeDex
| Dimension | Web AI assistants | CLI tools | OfficeDex |
|---|---|---|---|
| 🖥 Native desktop feel | In-browser | Terminal | ✅ Wails native window |
| 📂 Local-first files | Manual download | ✅ Direct save | ✅ Direct save + one-click open |
| 👀 Inline preview | Open Office needed | None | ✅ DOCX/PPTX/XLSX rendered inline |
| 🔌 Custom LLM | Vendor-locked | ✅ Any | ✅ Any + GUI config |
| 🎨 UI & interaction | Generic | Plain text | ✅ Notion design system |
| 🔒 Data sovereignty | Cloud-first | ✅ Local | ✅ Local (hosted optional) |
| 💬 Mid-task interaction | Single-turn chat | None | ✅ AI asks back in real time, streaming status |
In a phrase: Stop formatting. Start VibeOfficing.
✨ Core Capabilities
1. Conversational generation — write docs like chatting
- Built-in scenarios (quarterly reports / kickoff slides / competitive analysis)
- Free-form prompts: control length, tone, target audience
- Continuous context: keep asking — “now add a page on risk assessment”
2. Live task stream — watch every step
- Streaming events → see what the AI is thinking and doing
- Mid-flight interaction: when the AI is unsure, it asks you to decide
- Cancel any time, restart any time
3. Inline preview — no need to open Office
![]() |
![]() |
| Word document | Spreadsheet |
Powered by docx-preview / pdfjs-dist / xlsx for inline rendering. DOCX / PPTX / XLSX / PDF all preview-able — no Office install required.
4. Configurable from Settings — no CLI required

- Custom LLM: OpenAI / Anthropic / Azure / self-hosted vLLM
- Custom OfficeCLI binary path (for developers)
- One-click runtime check & upgrade; works offline with a local binary
🚀 Quick Start
Users: download the installer
| Platform | Installer | Notes |
|---|---|---|
| 🍎 macOS (Apple Silicon / Intel) | OfficeDex-x.y.z-arm64.dmg / -x64.dmg | Double-click .dmg → drag to Applications |
| 🪟 Windows 10/11 | OfficeDex-Setup-x.y.z.exe | Double-click to install. First launch auto-downloads the OfficeCLI runtime. |
Latest Release: github.com/officecli/officedex/releases/latest
🍎 macOS users — “OfficeDex.app” cannot be opened?
Because the app is not yet Apple-notarized, Gatekeeper will block the first launch with a “Apple could not verify…” dialog.
Fix: run the following command once in Terminal to strip the quarantine attribute, then you can double-click to open as usual:
xattr -dr com.apple.quarantine /Applications/OfficeDex.appIf the app lives elsewhere (e.g.
~/Downloads/OfficeDex.app), substitute the actual path. This is a one-time operation and won’t recur.
Developers: run from source
# 1. Clone & install
git clone <your-repo-url>
cd officedex
npm install
# 2. Start dev mode (auto-prefetch OfficeCLI binary)
npm run dev
# 3. Type-check / unit tests / E2E
npm run lint
npx vitest run
npm run test:e2e
In dev mode, OfficeDex resolves the CLI in this order:
OFFICECLI_DESKTOP_BINARYenv varofficeclion yourPATH- Auto-download from GitHub Releases (default source:
officecli/officecli)
📦 Build & Release
npm run dist:mac # macOS (auto-codesigns bundled officecli)
npm run dist:win # Windows
Build artifacts land in build/bin/. CI (.github/workflows/release.yml) produces .dmg / .zip / .exe and publishes a GitHub Release on every v* tag.
🧩 Architecture
┌───────────────────────────────────────────────────┐
│ OfficeDex (this repo) │
│ ┌──────────────────┐ ┌────────────────────┐ │
│ │ React 19 + Antd │ ←→ │ Wails Go runtime │ │
│ │ Notion-styled │ │ (main.go/app.go) │ │
│ └──────────────────┘ └─────────┬──────────┘ │
└─────────────────────────────────────┼─────────────┘
│ JSON-RPC stdio
▼
┌────────────────────────┐
│ officecli agent-bridge│
│ (Go binary, sep. repo)│
└────────────────────────┘
- Frontend: React 19 + Ant Design 6 + custom Notion design tokens
- Desktop shell: Wails v2 (Go backend + system WebView frontend) — compact bundle size (build output < 30MB)
- Generation engine: decoupled
officeclisubprocess, communicating via JSON-RPC - Preview:
docx-preview/pdfjs-dist/xlsxinline rendering — no Office install required
🎨 Design Language
OfficeDex fully adopts the Notion design system:
- Primary color Notion Purple
#5645d4 - Typography DM Serif Display (headings) + Plus Jakarta Sans (body)
- Shape 8px buttons / 12px cards / 9999px pills
- Vibe Warm neutrals, deep navy hero bands, pastel feature cards
Full spec: DESIGN.md.
🛠 OfficeCLI Runtime Management
On first launch, OfficeDex pulls the matching officecli binary from GitHub Releases:
- Default source:
officecli/officecli(override viaOFFICECLI_RELEASE_REPO) - Cache directory:
~/Library/Application Support/OfficeDex/runtime/(macOS) - Asset naming:
officecli-{darwin|win32|linux}-{arm64|x64}{.exe}
From Settings → OfficeCLI Runtime you can: check for updates / switch versions / specify a local binary / revert to auto-downloaded.
🗺 Roadmap
What’s on the way (in priority order):
| Status | Capability | Notes |
|---|---|---|
| ✅ Shipped | Document / PPT / Excel generation | Three core formats |
| ✅ Shipped | Inline preview panel | DOCX / PPTX / XLSX / PDF |
| ✅ Shipped | Image input (visual understanding) | Paste or upload reference images |
| ✅ Shipped | Notion-style UI | Customizable design tokens |
| 🚧 In progress | Multilingual UI (EN / 日本語) | Translation in preparation |
| 🚧 In progress | Template marketplace | Community-shared prompts and styles |
| 🔜 Planned | Collaborative mode | Multi-user editing on the same task |
| 🔜 Planned | Plugin system | Third-party generators |
| 🔜 Planned | Official Linux installers | AppImage / deb |
| 💭 Exploring | Mobile companion app | iOS / Android: view and trigger |
❓ FAQ
How does OfficeDex relate to OfficeCLI?
OfficeCLI is the underlying command-line tool (a separate Go repo) that handles actual document generation, LLM calls, and file output. OfficeDex is its desktop GUI shell: a React UI wrapped in Wails, talking to the officecli agent-bridge subprocess via JSON-RPC. They release in lockstep: OfficeDex auto-downloads and manages a matching OfficeCLI binary at startup.
Is my data uploaded to the cloud?
By default, fully local:
- Document generation runs on your machine
- LLM calls go directly to the provider you configured (OpenAI / Anthropic / self-hosted) — OfficeDex never proxies them
- Generated files are written to a local workspace (default:
~/Library/Application Support/OfficeDex/workspace)
If you opt into “Hosted Runtime” (Hosted Runtime = OfficeCLI’s official hosted proxy, so you don’t have to configure your own LLM key), some calls route through the official proxy — the app displays a clear notice in that case.
Can I use my own OpenAI / Claude API key?
Yes. In Settings → LLM Provider, fill in baseUrl / apiKey / model. Supported:
- OpenAI official + compatible protocols (DeepSeek / Moonshot / self-hosted vLLM, etc.)
- Anthropic Claude
- Azure OpenAI
Which operating systems are supported?
- ✅ macOS 12+ (Apple Silicon and Intel)
- ✅ Windows 10 / 11 (x64)
- 🚧 Linux — binaries are built, but no official installer yet; run from source via
npm run dev
Where are generated files stored?
Default workspace:
- macOS:
~/Library/Application Support/OfficeDex/workspace - Windows:
%APPDATA%/OfficeDex/workspace
Change it via Settings → Workspace. After each generation, click “Show in Folder” to jump straight there.
Which document formats are supported?
| Input | Output | Preview |
|---|---|---|
| Natural-language prompt | .docx / .pptx / .xlsx / .pdf | ✅ All inline-previewable |
Upload .docx / .pdf / .md as source material | Same | ✅ |
| Paste / upload images as reference | Same | ✅ |
Can I use it offline?
The desktop shell and preview panel are fully offline. Document generation needs an LLM, so:
- Cloud APIs: requires internet
- Local models (Ollama / vLLM / LM Studio): fully offline — point
baseUrlat e.g.http://localhost:11434/v1
The OfficeCLI runtime also supports a manually specified local path — no downloads required.
How do I report a bug?
In the app, click “Report Issue” in the top-right corner. It automatically collects:
- App version + platform info
- Recent OfficeCLI logs (sanitized)
- Current task state snapshot
Copy the generated markdown and paste it into a GitHub Issue.
📚 Documentation
DESIGN.md— Full design specCLAUDE.md— Project conventions & collaboration guidelinesdocs/README.zh-CN.md— 简体中文版
🤝 Feedback & Contributing
- 🐛 Bugs / suggestions: click “Report Issue” in-app — diagnostics are bundled automatically
- 💬 Discussion: PRs and issues welcome
- ⭐ Like it? A star is the best encouragement for the team
Made with 💜 by the OfficeDex team · Runs natively on macOS / Windows
Star History
相似文章
使用Codex的工具功能自动生成真实的.pptx/.docx/.xlsx文件——不仅仅是内容,而是实际的文件
作者描述了使用OpenAI的Codex模型通过函数调用直接生成真实的Office文件(.pptx, .docx, .xlsx),从而为AI代理构建了一个实用的端到端文档生成模式。
@VincentLogic: 发现个挺有意思的命令行工具! OfficeCLI,不用装 Office 就能在终端里操作 Word、Excel、PPT 文件。创建、读取、修改都能搞,对搞自动化脚本的挺友好。 最爽的是,装完它,Claude Code、Cursor 这些 …
OfficeCLI 是一个开源命令行工具,无需安装 Office 即可在终端中创建、读取和修改 Word、Excel、PPT 文件,并可与 Claude Code、Cursor 等 AI 编程助手集成,方便自动化脚本处理。
@mnmn94253156337: 让 AI 帮你做个 PPT 它给你生了一堆 div 和胡乱排版的 layout。点开一看,比你自己动手做的还丑。 更烦的是 Excel——公式乱写、格式全飞,生成完了你还得从头到尾手动改一遍。那你还不如自己做。 MiniMax 把这四个文…
MiniMax 开源了四个 AI 文档生成技能(PPT、PDF、Excel、Word),无需 API Key 即可使用,旨在解决 AI 生成文档格式混乱、公式错误等问题。
@MindfulReturn: 我决定,以后的产物,不是docx, PPT, 不是pdf, md, 而是HTML。 有了这个html-anything,可以把以上产物都做成html了。 分享出去才几百K,以前分享同样内容的docx,至少2m。
该工具允许用户将文档(docx、PPT、pdf、md)转换为HTML格式,并利用AI agent CLI进行编辑,支持多种输出格式,本地优先,开源。
@NFTCPS: 刚挖到一个开源项目,用React框架直接写PPT,整个工作流就是为AI Agent量身定做的。兄弟,这个路子比你用HTML硬凑PPT靠谱多了。 React组件多到爆炸,扩展性吊打HTML,各种图表库随便插,技术PPT直接起飞。 自带可视化…
发现开源项目open-slide,使用React框架创建PPT,工作流专为AI Agent设计,支持自然语言生成幻灯片、可视化编辑器和品牌Logo集成。

