# LibreOffice tightens rules for AI-assisted code: developers must explain every line

The foundation behind LibreOffice requires prior permission, disclosure and an author who understands the code. It is not closing the project to outsiders, but bars AI from messages and bug reports.

By Wellinton Oliveira, CEO of Lyntev. Published: 24 November 2026, 17:27.

https://noticias.lyntev.com/en/news/libreoffice-stricter-rules-ai-generated-code

## Key points

- The Document Foundation, which maintains LibreOffice, announced a stricter policy on code written with language models on 24 November.
- There are five rules: prior permission, disclosure of AI use, an explanation of every changed line, no AI in messages and off-limits areas of the code.
- Models may not be used to write commit messages (the notes that go with each code change), comments, bug reports or messages to other people.
- The foundation is not closing outside contributions, unlike other projects: Ladybird has accepted code only from its maintainers since 5 June.
- The LibreOffice suite still has no built-in AI features, according to the foundation.

The Document Foundation (TDF), which maintains LibreOffice, has tightened its policy on code written with the help of large language models, the AI systems that generate text and code. [According to the foundation](https://blog.documentfoundation.org/blog/2026/11/24/updated-and-more-restrictive-policy-for-llm-usage-in-libreoffice-development/), anyone using one of these models must get permission first, disclose that use and be able to explain, in their own words, every line that was changed. The TDF is not closing the door to outside contributions, unlike some other open-source projects.

## What the foundation announced

The announcement appeared on the TDF blog on 24 November, written by Mike Saunders. It says the focus is above all on code written by people, but that avoiding any influence from AI tools in a project of this size is not possible.

It gives three reasons: security reports increasingly rely on these models, third-party dependencies include AI-assisted code, and so do the compilers themselves. The foundation adds that it does not want to turn away valuable contributions just because a model was used at some point.

## The five rules of the policy

The blog sums up the policy in five rules:

- **Prior permission:** developers must get permission before using a model in their work.
- **Transparency:** the use of a model must be disclosed in commits, the records that accompany each change to the code.
- **Understanding:** anyone submitting changes made with a model's help must be able to explain, in their own words, every changed line.
- **Communication:** models may not be used to write commit messages, comments, bug reports or messages to other people.
- **Off-limits areas:** models are not allowed in certain parts of the codebase.

The full text of the policy is on the project's wiki. The summary does not say which areas are off limits, who grants permission, how compliance will be checked or what a breach would lead to.

## A suite without AI, and a project that does not reject it

The announcement repeats that the LibreOffice suite includes no AI features: it does not change users' content, share their data or use anyone's work to train models. Anyone who wants AI features can add them through extensions. [Tecnoblog](https://tecnoblog.net/noticias/libreoffice-endurece-regras-para-codigo-gerado-por-ia-no-projeto/) notes that LibreOffice 26.8, released in August, came out with the absence of AI as a selling point.

In October the foundation had already said it does not reject AI but would bring it into the default setup only under certain conditions, according to [Tecnoblog](https://tecnoblog.net/noticias/libreoffice-reforca-que-ausencia-de-ia-e-um-diferencial/). In that case, users would choose where the AI runs and no document would leave the computer without permission. No usage data (telemetry) would be collected, no integration would depend on a single vendor and files in the open ODF format would be left intact.

Italo Vignoli, a representative of the foundation, then described a suite used by tens of millions of people, including in schools, hospitals and public bodies.

## How other projects handle the same problem

The foundation says some open-source projects have closed public contributions while they decide how to treat AI-assisted code, and that it hopes never to have to do so. It links to two examples, Joplin and Lean 4.

Ladybird, the independent browser that released its alpha this week, is another case. On 5 June it [stopped accepting changes from outside](https://ladybird.org/posts/changing-how-we-develop-ladybird/): only the project's maintainers may alter the code. Its founder, Andreas Kling, wrote that a contribution no longer says as much about the person sending it, because AI has made it faster and cheaper to produce work that looks serious.

Ladybird uses these tools itself. In February Kling said, [according to The Register](https://www.theregister.com/software/2026/02/23/ladybird-indie-web-browser-flutters-toward-rust/4657323), that he had used Claude Code and Codex, two AI coding assistants, to translate the JavaScript interpreter from the C++ language to Rust. It came to about 25,000 lines in two weeks, with output identical to the original code. By hand, he said, it would have taken months.

Ladybird has closed contributions and uses AI in its own development; LibreOffice keeps them open and limits what AI may write.

## What changes and what is still unknown

For people who use LibreOffice, nothing changes in the application: it still has no built-in AI features. The change is in how the community accepts code.

The announcement does not say how many recent contributions used models, or how the new rules affect volunteers who were already using them. Nor does it spell out how this version of the policy differs from the previous one, beyond describing it as stricter.

<aside>

### In short

- **24 November 2026:** date of the foundation's announcement.
- **5 rules:** the policy as summarised on the TDF blog.
- **0 AI features:** none is built into LibreOffice, according to the foundation.
- **LibreOffice 26.8:** the August release, which shipped without AI.

</aside>

## Sources

- [Updated (and more restrictive) policy for LLM usage in LibreOffice development](https://blog.documentfoundation.org/blog/2026/11/24/updated-and-more-restrictive-policy-for-llm-usage-in-libreoffice-development/), The Document Foundation
- [LibreOffice endurece regras para código gerado por IA no projeto](https://tecnoblog.net/noticias/libreoffice-endurece-regras-para-codigo-gerado-por-ia-no-projeto/), Tecnoblog
- [LibreOffice reforça que "ausência de IA" é um diferencial](https://tecnoblog.net/noticias/libreoffice-reforca-que-ausencia-de-ia-e-um-diferencial/), Tecnoblog
- [Ladybird indie web browser flutters toward Rust](https://www.theregister.com/software/2026/02/23/ladybird-indie-web-browser-flutters-toward-rust/4657323), The Register
- [Changing How We Develop Ladybird](https://ladybird.org/posts/changing-how-we-develop-ladybird/), Ladybird Browser Initiative (Andreas Kling)

## Topics

- [Programming](https://noticias.lyntev.com/en/topic/programming)
- Documents and data
- [AI models](https://noticias.lyntev.com/en/topic/ai-models)
