Complete examples for building document-editing agents with Vespper.
This repository contains runnable examples that show how to connect AI agents to Word (DOCX) documents through the Vespper MCP. Use them to read documents, search their contents, and apply precise tracked changes without rebuilding the file from scratch.
First, sign up for Vespper, then create a key on the API keys page.
Clone the repository and follow the README inside the example you want to run:
git clone --recurse-submodules https://github.com/vespperhq/examples.git
cd examplesEach example lives in its own repository, is included here as a Git submodule,
and keeps credentials in a local .env file.
Never commit that file or expose its values in frontend code.
- word-add-in — a Microsoft Word add-in with a React task pane, a Mastra agent, streamed tracked changes, selected-text context, and pasted-image support.
- onlyoffice-add-in — a local Dockerized ONLYOFFICE Docs editor with the same Vespper chat workflow, live DOCX updates, and preserved tracked changes.
- eigenpal-docx-editor — a browser app built on EigenPal's docx-editor, with a chat beside the document, suggestion cards, and tracked changes streamed in through the document refresh API.
More examples will be added over time.