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.
The open-source extension 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.
By default, the extension sends the request to http://localhost:11434/api/chat. You can change the URL by setting a value in the "Model URL" input.
Values in the "Model API key" input will be passed in the Authorization: Bearer $API_KEY header. This is useful if you're self-hosting on a remote machine, and you want to verify requests to that endpoint before processing them.
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
How is my privacy protected?
LibreThinker sends requests to a backend server when you use either the free online model, or when you bring your API key. This is done to optimize the user experience; for example, it helps avoid having to install dependencies on the user's machine.
The information sent to the server is only stored temporarily while your request is being fulfilled. Once the response is sent back to you, all data related to your request is immediately deleted from the server.
Do you offer a self-hosted version of the server for maximum privacy/security?
Yes, I offer a fully self-hosted version of the LibreThinker server 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 10,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!
I just love that you are making extensions for Libre <3, will try to remember to get back with feedback, when i have more experience with it.
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
Very useful. Thanks a lot