If you want AI help with documents but don't want your files going to a cloud service, the two main free desktop office suites take very different approaches. ONLYOFFICE Desktop Editors has an official AI Tools add-on that can connect to Ollama, LM Studio and other local servers. LibreOffice has no official AI features, but the community-made localwriter extension adds local AI editing to Writer.
It is based on ONLYOFFICE's help centre and API documentation and on localwriter's GitHub README and releases page, all read on 2 December 2026.
At a glance
ONLYOFFICE Desktop Editors + AI Tools | LibreOffice Writer + localwriter | |
|---|---|---|
Who makes the AI feature | ONLYOFFICE (official add-on) | Independent developer (community extension) |
Licence | Community version of Desktop Editors under AGPL v3 | localwriter under MPL 2.0 |
How you get it | Prompted to install the add-on on first use (Community version); bundled in Enterprise | Download a |
Local backends named in the docs | Ollama, LM Studio, GPT4All, OpenAI Compatible (plus LocalAI guide) | Ollama, text-generation-webui |
Cloud providers | Yes (OpenAI, Anthropic, Google AI and more) | Only through OpenAI-compatible endpoints |
AI features | AI Chat sidebar, AI Tools, per-task model assignment, MCP servers, optional web search | Extend Selection (Ctrl + Q) and Edit Selection (Ctrl + E) in Writer |
Apps covered | Help centre has guides for Document, Spreadsheet and Presentation editors and PDF forms | Writer |
Development | Official add-on, documented in ONLYOFFICE's help centre | Community project; latest release v0.0.8 (31 August 2025) |
Features
ONLYOFFICE offers much more. Its help centre describes two areas, AI Chat (a contextual assistant) and AI Tools (ready-made tools for common file operations). Together they generate and rewrite text, apply formatting from a plain-language request, and analyse and visualise data in spreadsheets. The Model Assignment section lets you pick a different model for each task: AI Chat, Code, Summarization, Translation, Text Analysis, Image generation, OCR, Vision and Form analysis. So you could use a small, fast local model for translation and a larger one for chat. You can also add MCP servers, and connect web search through Exa, which needs an API key and sends queries online.
localwriter does two things well. Edit Selection replaces the selected text according to your instruction, such as changing the tone, translating or rewording. Extend Selection continues from the selected text. There is no chat panel, no spreadsheet or slide support and no per-task model choice. For quick rewrites inside a Writer document, that may be all you need.




