메뉴
HN
Hacker News 22일 전

AI 에이전트용 오피스 스위트 ‘오피스CLI’

IMP
8/10
핵심 요약

AI 에이전트가 코드 단 한 줄로 워드, 엑셀, 파워포인트 문서를 읽고 편집할 수 있게 해주는 최초의 오피스 스위트, '오피스CLI(OfficeCLI)'가 공개되었습니다. 별도의 MS 오피스 설치나 복잡한 파이썬 라이브러리 의존성 없이 단일 바이너리로 작동하며, 문서를 HTML이나 이미지로 렌더링해 AI가 시각적으로 문서를 확인하고 수정할 수 있도록 돕습니다. 이를 통해 기존 복잡한 코딩 과정을 거칠 필요 없이 자연어 명령만으로 완벽한 오피스 문서 생성 및 편집 자동화가 가능해졌습니다.

번역된 본문

OfficeCLI는 AI 에이전트를 위해 설계된 세계 최촘이자 최고의 오피스 스위트입니다. 단 한 줄의 코드만으로 모든 AI 에이전트에게 Word, Excel, PowerPoint에 대한 완전한 제어 권한을 부여하세요. 오피스 설치 불필요. 의존성 없음. 단일 바이너리로 어디서나 작동합니다. (오픈소스)

OfficeCLI의 내장 HTML 렌더링 엔진은 문서를 매우 높은 완성도로 재현하며, 이것이 AI에게 '시각'을 제공하는 핵심 역할을 합니다. .docx / .xlsx / .pptx 파일을 HTML이나 PNG로 렌더링하여 '렌더링 → 확인 → 수정'하는 반복 루프를 완성합니다.

🌐 웹사이트: officecli.ai | 💬 커뮤니티: Discord

AionUi에서 OfficeCLI를 사용한 PPT 생성 과정 PowerPoint 프레젠테이션 — Word 문서 — Excel 스프레드시트 위 모든 문서는 템플릿이나 수동 편집 없이 AI 에이전트가 OfficeCLI를 사용하여 처음부터 끝까지 완전히 생성한 것입니다.

AI 에이전트를 위한 한 줄 시작 가이드 다음 명령어를 AI 에이전트의 채팅창에 붙여넣으세요. 에이전트가 스킬 파일을 읽고 필요한 모든 것을 자동으로 설치합니다: curl -fsSL https://officecli.ai/SKILL.md 이게 전부입니다. 이 스킬 파일은 에이전트에게 바이너리 설치 방법과 모든 명령어 사용법을 알려줍니다.

일반 사용자를 위한 가이드 옵션 A — GUI(그래픽 사용자 인터페이스): AionUi를 설치하세요. 이것은 내부적으로 OfficeCLI를 기반으로 구동되어 자연어를 통해 Office 문서를 만들고 편집할 수 있게 해주는 데스크톱 앱입니다. 원하는 것을 설명하기만 하면 나머지는 AionUi가 알아서 처리합니다. 옵션 B — CLI(명령줄 인터페이스): GitHub Releases에서 사용 중인 운영체제용 바이너리를 다운로드한 후 실행하세요: officecli install 이 명령어는 바이너리를 시스템 PATH에 복사하고, 감지된 모든 AI 코딩 에이전트(Claude Code, Cursor, Windsurf, GitHub Copilot 등)에 officecli 스킬을 설치합니다. 별도의 추가 설정 없이도 에이전트가 즉시 귀하를 대신하여 Office 문서를 생성, 읽기 및 편집할 수 있습니다.

개발자를 위한 30초 라이브 튜토리얼

1. 설치 (macOS / Linux)

curl -fsSL https://raw.githubusercontent.com/iOfficeAI/OfficeCLI/main/install.sh | bash

Windows (PowerShell):

irm https://raw.githubusercontent.com/iOfficeAI/OfficeCLI/main/install.ps1 | iex

2. 빈 PowerPoint 만들기

officecli create deck.pptx

3. 실시간 미리보기 시작 — 브라우저에서 http://localhost:26315가 열립니다.

officecli watch deck.pptx

4. 다른 터미널을 열어 슬라이드 추가 — 브라우저가 즉시 업데이트되는 것을 확인하세요.

officecli add deck.pptx / --type slide --prop title="Hello, World!" 이게 전부입니다. add, set 또는 remove 명령어를 실행할 때마다 미리보기가 실시간으로 새로고침됩니다. 계속해서 실험해 보세요. 브라우저가 여러분의 실시간 피드백 루프 역할을 합니다.

빠른 시작 예제

프레젠테이션을 만들고 내용 추가

officecli create deck.pptx officecli add deck.pptx / --type slide --prop title="Q4 Report" --prop background=1A1A2E officecli add deck.pptx '/slide[1]' --type shape
--prop text="Revenue grew 25%" --prop x=2cm --prop y=5cm
--prop font=Arial --prop size=24 --prop color=FFFFFF

개요 보기

officecli view deck.pptx outline

→ Slide 1: Q4 Report

→ Shape 1 [TextBox]: Revenue grew 25%

HTML로 보기 — 서버 없이 브라우저에서 렌더링된 미리보기가 열립니다.

officecli view deck.pptx html

요소의 구조화된 JSON 가져오기

officecli get deck.pptx '/slide[1]/shape[1]' --json

저장 및 닫기 — 상주하는 세션을 디스크에 플러시(저장)합니다.

officecli close deck.pptx

{ "tag": "shape", "path": "/slide[1]/shape[1]", "attributes": { "name": "TextBox 1", "text": "Revenue grew 25%", "x": "720000", "y": "1800000" } }

왜 OfficeCLI를 사용해야 할까요? 과거에는 Python 코드 50줄과 3개의 개별 라이브러리가 필요했습니다: from pptx import Presentation from pptx.util import Inches, Pt prs = Presentation() slide = prs.slides.add_slide(prs.slide_layouts[0]) title = slide.shapes.title title.text = "Q4 Report"

... 45줄 이상 추가 작성 필요 ...

prs.save('deck.pptx')

이제 단 한 줄의 명령어면 됩니다: officecli add deck.pptx / --type slide --prop title="Q4 Report"

OfficeCLI로 할 수 있는 일:

  • 템플릿 없이 밑바닥부터(빈 문서 또는 내용이 있는 문서) 문서 생성
  • 텍스트, 구조, 스타일, 수식 읽기 (일반 텍스트 또는 구조화된 JSON 형식)
  • 서식 문제, 스타일 불일치 및 구조적 문제 분석
  • 모든 요소 수정 — 텍스트, 글꼴, 색상, 레이아웃, 수식, 차트, 이미지 등
원문 보기
원문 보기 (영어)
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. OfficeCLI's built-in HTML rendering engine reproduces documents with high fidelity — and that's what gives AI eyes. It renders .docx / .xlsx / .pptx to HTML or PNG, closing the render → look → fix loop. English | 中文 | 日本語 | 한국어 🌐 Website: officecli.ai | 💬 Community: Discord PPT creation process using OfficeCLI on AionUi PowerPoint Presentations — Word Documents — Excel Spreadsheets All documents above were created entirely by AI agents using OfficeCLI — no templates, no manual editing. For AI Agents — Get Started in One Line Paste this into your AI agent's chat — it will read the skill file and install everything automatically: curl -fsSL https://officecli.ai/SKILL.md That's it. The skill file teaches the agent how to install the binary and use all commands. For Humans Option A — GUI: Install AionUi — a desktop app that lets you create and edit Office documents through natural language, powered by OfficeCLI under the hood. Just describe what you want, and AionUi handles the rest. Option B — CLI: Download the binary for your platform from GitHub Releases , then run: officecli install This copies the binary to your PATH and installs the officecli skill into every AI coding agent it detects — Claude Code, Cursor, Windsurf, GitHub Copilot, and more. Your agent can immediately create, read, and edit Office documents on your behalf, no extra configuration needed. For Developers — See It Live in 30 Seconds # 1. Install (macOS / Linux) curl -fsSL https://raw.githubusercontent.com/iOfficeAI/OfficeCLI/main/install.sh | bash # Windows (PowerShell): irm https://raw.githubusercontent.com/iOfficeAI/OfficeCLI/main/install.ps1 | iex # 2. Create a blank PowerPoint officecli create deck.pptx # 3. Start live preview — opens http://localhost:26315 in your browser officecli watch deck.pptx # 4. Open another terminal, add a slide — watch the browser update instantly officecli add deck.pptx / --type slide --prop title= " Hello, World! " That's it. Every add , set , or remove command you run will refresh the preview in real time. Keep experimenting — the browser is your live feedback loop. Quick Start # Create a presentation and add content officecli create deck.pptx officecli add deck.pptx / --type slide --prop title= " Q4 Report " --prop background=1A1A2E officecli add deck.pptx ' /slide[1] ' --type shape \ --prop text= " Revenue grew 25% " --prop x=2cm --prop y=5cm \ --prop font=Arial --prop size=24 --prop color=FFFFFF # View as outline officecli view deck.pptx outline # → Slide 1: Q4 Report # → Shape 1 [TextBox]: Revenue grew 25% # View as HTML — opens a rendered preview in your browser, no server needed officecli view deck.pptx html # Get structured JSON for any element officecli get deck.pptx ' /slide[1]/shape[1] ' --json # Save and close — flushes the resident session to disk officecli close deck.pptx { "tag" : " shape " , "path" : " /slide[1]/shape[1] " , "attributes" : { "name" : " TextBox 1 " , "text" : " Revenue grew 25% " , "x" : " 720000 " , "y" : " 1800000 " } } Why OfficeCLI? What used to take 50 lines of Python and 3 separate libraries: from pptx import Presentation from pptx . util import Inches , Pt prs = Presentation () slide = prs . slides . add_slide ( prs . slide_layouts [ 0 ]) title = slide . shapes . title title . text = "Q4 Report" # ... 45 more lines ... prs . save ( 'deck.pptx' ) Now takes one command: officecli add deck.pptx / --type slide --prop title= " Q4 Report " What OfficeCLI can do: Create documents from scratch -- blank or with content Read text, structure, styles, formulas -- in plain text or structured JSON Analyze formatting issues, style inconsistencies, and structural problems Modify any element -- text, fonts, colors, layout, formulas, charts, images Reorganize content -- add, remove, move, copy elements across documents Format Read Modify Create Word (.docx) ✅ ✅ ✅ Excel (.xlsx) ✅ ✅ ✅ PowerPoint (.pptx) ✅ ✅ ✅ Word — full i18n & RTL support (per-script font slots, per-script BCP-47 lang tags lang.latin/ea/cs , complex-script bold/italic/size, direction=rtl cascading through paragraph/run/section/table/style/header/footer/docDefaults, rtlGutter + pgBorders shorthand, locale-aware page numbering for Hindi/Arabic/Thai/CJK; create --locale ar-SA auto-enables RTL), paragraphs (framePr, tabs shorthand, char-based indents), runs (underline.color, position half-pts), tables (virtual column ops add/remove/move/copyfrom, hMerge), styles , textbox / shape (rotation, verticalText eaVert / vert270 , gradient, shadow, opacity), headers/footers , images (PNG/JPG/GIF/SVG), equations , comments , footnotes , watermarks , bookmarks , TOC , charts , hyperlinks , sections , form fields , content controls (SDT) , fields (22 zero-param types + MERGEFIELD / REF / PAGEREF / SEQ / STYLEREF / DOCPROPERTY / IF), OLE objects , revisions / tracked changes ( revision.type=ins\|del\|format\|moveFrom\|moveTo + revision.action=accept\|reject , per-target /revision[@author=Alice] selector, tracked Find&Replace), page background color, document properties Excel — cells (phonetic guide / furigana on add, Excel-UI --shift left\|up on remove / shift=right\|down on add), formulas (350+ built-in functions with auto-evaluation, spilling dynamic arrays with _xlfn. auto-prefix, financial / bond and statistical families, OFFSET/INDIRECT, defined-name formula bodies inlined at parse, formula-ref rewrite on row/col insert), sheets (visible/hidden/veryHidden, print margins, printTitleRows/Cols, RTL sheetView , cascade-aware sheet rename, empty-cell bloat filter on open), boolean and / or selectors ( row[Salary>5000 and Region=EMEA] ), tables , sort (sheet / range, multi-key, sidecar-aware), conditional formatting , charts (including box-whisker, pareto with auto-sort + cumulative-%, log axis), pivot tables (multi-field, date grouping, showDataAs, sort, grandTotals, subtotals, compact/outline/tabular layout, repeat item labels, blank rows, calculated fields, persistent labelFilter / topN / fillDownLabels , cache CoW + cross-pivot sharing), slicers , named ranges , data validation , images (PNG/JPG/GIF/SVG with dual-representation fallback), sparklines , comments (RTL), autofilter , shapes , OLE objects , CSV/TSV import, $Sheet:A1 cell addressing PowerPoint — slides (header/footer/date/slidenum toggles, hidden), shapes (pattern fill, blur effect, hyperlink tooltip + slide-jump links, highlight color on runs, slideMaster / slideLayout typed add/set/remove, arrow alias, effective.X + effective.X.src), images (PNG/JPG/GIF/SVG, fill modes: stretch/contain/cover/tile, brightness/contrast/glow/shadow, rotation, link + tooltip), tables (built-in PowerPoint style catalogue, virtual /col[C] get + swap/copyFrom, row/col Move/CopyFrom, fill/background alias), charts (pieOfPie, barOfPie, per-attr axisLine/gridline setters, series add/remove with theme palette, anchor=x,y,w,h shorthand), animations (15 emphasis + 16 exit template-backed presets, multi-effect chains, motion-path presets, repeat/restart/autoReverse, chart animations + chartBuild ), transitions (morph + p14 + 12 p15 PowerPoint 2013+ presets), 3D models (.glb) (combined rotation=ax,ay,az ), slide zoom , equations , themes , connectors ( @name= selector for from/to), video/audio (loop, autoStart), groups (link + tooltip; Get/Query/Add/Remove all descend into groups), notes (RTL, lang), comments (RTL, legacy + modern p188 threaded round-trip), SmartArt (round-trip via add-part + raw-set), OLE objects , placeholders (add/set by phType) Use Cases For Developers: Automate report generation from databases or APIs Batch-process documents (bulk find/replace, style updates) Build document pipelines in CI/CD environments (generate docs from test results) Headless Office automat