# rust-web-docx > Two MIT-licensed npm packages that edit Office files losslessly with a Rust + WebAssembly engine, in the browser (canvas editors, framework-agnostic web components) and, for Excel, also headless in Node.js. Built for AI agents to edit documents while a person keeps working. No server: files never leave the page. - `@dimarborda/docx-editor`: Word (.docx) editor for the browser. Templates and markers, logical sections, tables, images, PDF export, agent activity marks. - `@dimarborda/xlsx-editor`: Excel (.xlsx) editor for the browser and headless engine (`/engine`) for Node.js. Formulas, formats, row/column operations, area context for agents. Context7 library ID: `/dimarborda/rust-web-docx` (both packages; other projects are also named docx-editor, so use the ID). Each package ships an AGENTS.md next to its package.json; import it from your project's AGENTS.md or CLAUDE.md with `@node_modules/@dimarborda//AGENTS.md`. ## Agent guides - [docx-editor AGENTS.md](https://github.com/dimarborda/rust-web-docx/blob/master/packages/docx-editor/AGENTS.md): API map, conventions and pitfalls - [xlsx-editor AGENTS.md](https://github.com/dimarborda/rust-web-docx/blob/master/packages/xlsx-editor/AGENTS.md): API map, conventions and pitfalls - [Both guides in one file](https://rust-web-docx.dimarborda.workers.dev/llms-full.txt) ## Docs - [docx-editor API](https://github.com/dimarborda/rust-web-docx/blob/master/docs/docx-editor/en/api.md) - [docx-editor guides](https://github.com/dimarborda/rust-web-docx/blob/master/docs/docx-editor/en/guides.md): markers, sections, tables, PDF, images - [docx-editor integrations](https://github.com/dimarborda/rust-web-docx/blob/master/docs/docx-editor/en/integrations.md): React, Next.js, Tauri, CSP - [xlsx-editor component](https://github.com/dimarborda/rust-web-docx/blob/master/docs/xlsx-editor/en/component.md) - [xlsx-editor engine](https://github.com/dimarborda/rust-web-docx/blob/master/docs/xlsx-editor/en/engine.md) - [xlsx-editor areas for agents](https://github.com/dimarborda/rust-web-docx/blob/master/docs/xlsx-editor/en/agents.md) ## Optional - [Demo](https://rust-web-docx.dimarborda.workers.dev/?demo) - [Security policy](https://github.com/dimarborda/rust-web-docx/blob/master/SECURITY.md)