AI Copilot for LibreOffice Writer
LibreThinker adds an AI writing assistant directly into the LibreOffice Writer sidebar. Rephrase, summarize, proofread, translate, and generate drafts - all without leaving your editor.
Works with a free online LLM (no signup required), your own API keys for OpenAI, Mistral, and other providers, or a self-hosted Ollama instance.
>> Get the extension
How to install
Download the extension from the LibreOffice extensions directory. Open LibreOffice Writer, go to Tools > Extension Manager > Add, and select the file.
Restart LibreOffice Writer, then open the sidebar (View > Sidebar). You should now see the LibreThinker icon there (a lightbulb). Click on it, and you are ready to start with the free online model!
See the next sections for other connection options.
Self-hosted Ollama
Install and run an Ollama instance on your machine. Then download the model you want to use (eg gemma3:1b).
Go to the BYOK/Ollama Settings in the LibreThinker sidebar, and set the model ID as "sh/ollama/", followed by the name of the model you downloaded; for example, sh/ollama/gemma3:1b. And that's it - no need to input an API key.
Bring your API key
Go to LiteLLM's model directory, and find the model that you wish to connect to. Copy its value from the Model column; for example, mistral/mistral-medium.
Return to the BYOK/Ollama Settings in the LibreThinker sidebar. Paste the model ID you copied, together with the API key. And you're ready to go!
FAQ
Why doesn't LibreThinker directly connect to the LLM vendor's API?
The extension sends requests to a backend server, which then forwards them to the LLM vendor's API. This design has a few advantages:
- It minimizes the dependencies required in the extension, which makes installation easier and reduces the chances that you'll encounter compatibility issues.
- I can identify bugs and performance problems more easily.
- I can fix bugs and add new features to the backend without requiring users to update the extension.
How are my API keys secured?
Your API key is only stored temporarily on the server, to pass your request to the LLM vendor's API, after which it is discarded.
How is my privacy protected?
Do you offer a self-hosted version for maximum privacy/security?
Yes, I offer a fully self-hosted version of LibreThinker as a paid service.
With the self-hosted option, all requests stay entirely within your own infrastructure. No traffic passes through my servers, giving you full control over your data, API keys, and deployment environment.
Contact me to find out more.
About
Hi there! My name is Mihail and I'm a software engineer based in the the most boring place in the world. I decided to build this extension because I was often switching between LibreOffice Writer and ChatGPT when editing my CV.
I've been working on this in my evenings and weekends, and I'd be grateful for any support you can provide. Positive reviews, spreading the word, PRs to the GitHub repository, or anything else you can think of!
Want to get in touch? Contact me.
What are people saying?
More than 7,000 downloads from the LibreOffice extensions directory!
Hi, thanks for the extension, I have been trying to find an AI program that would interact with LibreOffice, and I have found one...Not being overly adapt in writing articles AI is great help in my cause to write precise articles.
I really appreciate the effort you have put into bringing LibreThinker to LibreOffice Writer; this is a fantastic feature. Your work will directly benefit many followers of the open-source community. Thank you!
Thank you for your work on the extension. It is excellent and works well.
I really love the polished UI and the clever onboarding flow you've built.
Hi, thank you very much for this super cool project. I think this is the right way to go in order to counter Microsoft and Copilot.
I love the idea of LibreThinker
Hi, love that this exists for libreoffice.
Yo good job for your ia