Read and edit open Word, Excel and PowerPoint desktop documents from DSH, including formatting, tables, charts, formulas and comments. Destructive edits show a preview for approval.
Microsoft Office
Read and write the Microsoft Office documents you already have open — Word, Excel and PowerPoint — from a DeepSeek Harness (DSH) session: content, formatting, structure, tables, charts, formulas and comments.
Runtime data flow: dsh session → bridge → add-in task pane → Office document
The add-in runs inside Office and edits the document you currently have open. Changes are visible immediately, with no saving or reopening, and you and the AI can edit at the same time — Office applies the changes in order.
Throughout this document, "Office" means the Microsoft Office desktop applications, not WPS or other compatible suites, and not the web versions.
Quick start
# Install the fixed 0.3.3 archive from the NanoAI marketplace
--profile web is a dsh profile name; use whichever one you normally run.
Installing makes dsh load the plugin, which then starts the local bridge service on its own — there is nothing to launch by hand. Confirm the service state is healthy on the plugin panel.
- Open a Word, Excel or PowerPoint document.
- Open the add-in task pane:
- Windows: the service registers the add-in when it starts. Close and reopen the document and the pane appears.
- macOS: the manifest has to be loaded by hand — see Loading the manifest on macOS.
- The pane shows "Connected — waiting for DSH commands" — you are ready.
- Ask your dsh session to read the document, for example "read the whole of the Word document I have open".
The pane must stay open. Office.js runs inside it, and closing it produces addin_offline. The pane can be shrunk or tucked into a corner.
Loading the manifest on macOS
Use the add-in development/sideload entry provided by your Office for Mac version to load the generated manifest.xml. Menu names depend on the Office version.
Capabilities
- 92 actions across Word, Excel and PowerPoint: reading selections, writing content, formatting, tables, charts, formulas, comments, PowerPoint grouping and alignment.
- One instance per document, and every command must name its target, so a command cannot land on the wrong document.
- Destructive operations read the current state first; a failed preview blocks execution, and by default you still click "Apply" in the pane.
- Bilingual UI (Chinese / English) that follows your Office display language.
The full action list is in docs/CAPABILITIES.en.md (docs/CAPABILITIES.en.md, included in archive).
Two skills ship with the plugin. ms-office (skills/ms-office/SKILL.en.md, included in archive) handles safe operations; office-document-styles (skills/office-document-styles/SKILL.en.md, included in archive) provides one original base style atlas per host — Word covers document elements, Excel is fixed to two sheets, and PowerPoint shows shapes, tables, spatial layout and colour roles, each with provenance records and layered quality checks. See the style gallery (docs/style-gallery.en.md, included in archive) and the feature roadmap (docs/FEATURE-ROADMAP.en.md, included in archive).
Chinese defaults: Word body SimSun and headings SimHei; Excel SimSun; PowerPoint titles SimHei, body and table/chart labels KaiTi. Every change to an atlas runs through the plugin itself, and exports and screenshots keep native Office evidence.
Compatibility
| Platform |
Status |
Notes |
| Windows |
Full |
Add-in auto-registration via the WEF registry |
| macOS |
Core |
Node and the add-in work; auto-registration does not apply, load the manifest manually from Office |
| Linux |
None |
No Office desktop add-in host |
- Node.js ≥ 18 (the bridge uses only the standard library)
- Microsoft Office desktop (Word / Excel / PowerPoint)
- dsh — see
peerDependencies in package.json
Documentation
| Document |
Contents |
docs/CAPABILITIES.en.md (docs/CAPABILITIES.en.md, included in archive) |
Full action list and capability boundaries |
docs/DEVELOPMENT.en.md (docs/DEVELOPMENT.en.md, included in archive) |
Architecture, file map, fragment contract, i18n, hot reload, custom actions, packaging rules |
docs/AGENT.en.md (docs/AGENT.en.md, included in archive) |
HTTP endpoints, error codes, approval protocol, for scripts and other agents |
License
MIT (LICENSE, included in archive). The license and provenance of the third-party component (pako) are in THIRD_PARTY_NOTICES.md (THIRD_PARTY_NOTICES.md, included in archive).