Rank #02 · Weekly · DevTools
Univer: An Apache-2.0 Office SDK Built for People and Agents
Embed an open-source spreadsheet or document editor in your product — or drive the same content models headlessly — then add separately licensed modules if you need collaboration, slides, or a packaged AI SDK.
What it does
Univer is an Office SDK for building Office applications inside your own product. GitHub description: "Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core." Site: univer.ai. Docs: docs.univer.ai.
README claims (as verified):
- The wider product family covers spreadsheets, documents, presentations, relational tables, canvases, and PDFs. The SDK is described in three parts: a Web SDK (content models, editing, rendering, formula calculation, and Facade APIs), a Server SDK (real-time collaboration, edit history, and Office file import/export), and an AI SDK (hooks for existing agents and review workflows).
- This repository is the Web SDK core under Apache-2.0: content models and snapshot formats, plugin and dependency management, the command system, formula and rendering engines, Facade APIs, UI foundation, and Sheets and Docs editing. Commercial Web SDK plugins, Server SDK, and commercial AI SDK extensions are distributed and licensed separately.
- Open-source Sheets coverage in the README includes cell styles, merged cells, in-cell rich text, freeze panes, floating images, undo/redo, formulas, defined names, filtering, sorting, data validation, conditional formatting, hyperlinks, comments, and find/replace. Open-source Docs coverage includes rich-text editing, paragraph formatting, lists, hyperlinks, comments, and drawing integration. Features are composed through plugins and presets; the quick start uses only the Sheets Core preset.
- Current Slides and Boards capabilities are separately distributed commercial products, according to the README. Do not treat this tree as a complete open-source clone of a full office suite.
- Agents can use the same open-source APIs; your application supplies the model and tool orchestration. A README quotation example shows editing, calculation, and saving without an AI SDK dependency. Headless processing reuses the same content plugins, models, commands, and calculation in Node.js.
- Quick start (bundler such as Vite):
pnpm add @univerjs/presets @univerjs/preset-sheets-core, thencreateUniverwithUniverSheetsCorePreset. Keep coordinated@univerjs/*packages on the same version. - Runtime notes from the README: compiled with a Chrome 88 target (listed browser floors include Chrome/Edge ≥88, Firefox ≥90, Safari ≥14.1, Electron ≥12); view layer is built on React 18 and supports React 18 and 19, with minimal compatibility for React 16.9+ and 17; Headless Univer supports Node.js
>=18.17.0. - Univer Workspace is a separate open-source reference application. The README says Workspace has its own source license; its SDK dependencies retain theirs.
License: the open-source packages in this repository are Apache-2.0 (LICENSE file and GitHub SPDX agree). Commercial SDK modules are distributed and licensed separately. Freemium evaluation of commercial extensions, per the README, includes watermarks and feature limits. See feature comparison and plans and licensing.
Who it's for
- Product teams that want to embed Sheets or Docs in their own application, with Apache-2.0 packages they can use in commercial products under that license.
- Engineers who need headless spreadsheet or document processing (snapshots, formulas, automated edits) in Node.js.
- Groups pairing coding agents with Office content who want the same Facade APIs people use, without starting from a closed editor.
Less ideal if you need slides, real-time collaboration, or Office file conversion in the default open-source setup (those sit in separately licensed modules), or if you want a hosted end-user office suite rather than an SDK to embed.
Stars / language / license
30,436 stars · TypeScript · Apache-2.0
Data verified: 2026-11-20 09:04 Asia/Shanghai (official Daily Top10 gate; language/license confirmed via GitHub API get_repository + README + LICENSE)
Trending note: +7,248/wk (weekly Trending window; selection captured 09:04 Asia/Shanghai)
About the license: Apache-2.0 applies to the open-source packages in this repository, including the open-source Headless content capabilities. Commercial Web SDK plugins, Server SDK, and AI SDK capabilities beyond that foundation are licensed separately. This is a summary, not legal advice.
Category tags
DevTools · office-sdk · spreadsheet · documents · TypeScript · Apache-2.0 · Facade-API · agents
How it differs from similar projects
Compared with onlyoffice / Collabora / other open office suites. Those are typically full document servers or desktop suites you host or install. Univer's open-source core is an embeddable Web SDK (Sheets and Docs, plus headless APIs) that you compose into your own product.
Compared with spreadsheet-only embeds (Luckysheet, Handsontable, and similar). Univer also ships open-source Docs editing and a plugin/command architecture meant to grow into a broader office surface. Collaboration, slides, and file conversion are not in the default Apache-2.0 core — check the official comparison chart before assuming coverage.
Compared with Google Docs / Microsoft 365 embeds. Those are hosted platforms with their own terms, APIs, and data residency. Univer lets you keep content in your application; commercial Univer modules are a separate purchasing decision, not a requirement to use this repository's Apache-2.0 packages.
Caveats. The live demos on univer.ai include commercial capabilities and show more than the default open-source setup. Slides and Boards are commercial. Do not treat a clean preset-sheets-core install as a full office suite. No independent performance or compatibility bake-off is claimed here.