Skip to content
LibreOffice

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

The found­a­tion be­hind LibreOffice re­quires prior per­mis­sion, dis­clos­ure and an au­thor who un­der­stands the code. It is not clos­ing the pro­ject to out­siders, but bars AI from mes­sages and bug re­ports.

By CEO of Lyntev

Published
4 min read

Conference room with developers seated at tables with open laptops, some in purple T-shirts, talking.
Developers working at the 2019 LibreOffice conference. Archive photograph. Bjoern Michaelsen (opens in a new tab). CC BY-SA 4.0 (opens in a new tab)

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 main­tains LibreOffice, has tightened its policy on code writ­ten with the help of large lan­guage mod­els, the AI sys­tems that gen­er­ate text and code. According to the found­a­tion (opens in a new tab), any­one using one of these mod­els must get per­mis­sion first, dis­close that use and be able to ex­plain, in their own words, every line that was changed. The TDF is not clos­ing the door to out­side con­tri­bu­tions, un­like some other open-source pro­jects.

What the foundation announced

The an­nounce­ment ap­peared on the TDF blog on 24 November, writ­ten by Mike Saunders. It says the focus is above all on code writ­ten by people, but that avoid­ing any in­flu­ence from AI tools in a pro­ject of this size is not pos­sible.

It gives three reas­ons: se­cur­ity re­ports in­creas­ingly rely on these mod­els, third-party de­pend­en­cies in­clude AI-as­sisted code, and so do the com­pilers them­selves. The found­a­tion adds that it does not want to turn away valu­able con­tri­bu­tions just be­cause a model was used at some point.

The five rules of the policy

The blog sums up the policy in five rules:

  • Prior per­mis­sion: de­velopers must get per­mis­sion be­fore using a model in their work.
  • Transparency: the use of a model must be dis­closed in com­mits, the re­cords that ac­com­pany each change to the code.
  • Understanding: any­one sub­mit­ting changes made with a model’s help must be able to ex­plain, in their own words, every changed line.
  • Communication: mod­els may not be used to write com­mit mes­sages, com­ments, bug re­ports or mes­sages to other people.
  • Off-lim­its areas: mod­els are not al­lowed in cer­tain parts of the code­base.

The full text of the policy is on the pro­ject’s wiki. The sum­mary does not say which areas are off lim­its, who grants per­mis­sion, how com­pli­ance will be checked or what a breach would lead to.

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

The an­nounce­ment re­peats that the LibreOffice suite in­cludes no AI fea­tures: it does not change users’ con­tent, share their data or use any­one’s work to train mod­els. Anyone who wants AI fea­tures can add them through ex­ten­sions. Tecnoblog (opens in a new tab) notes that LibreOffice 26.8, re­leased in August, came out with the ab­sence of AI as a selling point.

In October the found­a­tion had already said it does not re­ject AI but would bring it into the de­fault setup only under cer­tain con­di­tions, ac­cord­ing to Tecnoblog (opens in a new tab). In that case, users would choose where the AI runs and no doc­u­ment would leave the com­puter without per­mis­sion. No usage data (tele­metry) would be col­lec­ted, no in­teg­ra­tion would de­pend on a single vendor and files in the open ODF format would be left in­tact.

Italo Vignoli, a rep­res­ent­at­ive of the found­a­tion, then de­scribed a suite used by tens of mil­lions of people, in­clud­ing in schools, hos­pit­als and pub­lic bod­ies.

How other projects handle the same problem

The found­a­tion says some open-source pro­jects have closed pub­lic con­tri­bu­tions while they de­cide how to treat AI-as­sisted code, and that it hopes never to have to do so. It links to two ex­amples, Joplin and Lean 4.

Ladybird, the in­de­pend­ent browser that re­leased its alpha this week, is an­oth­er case. On 5 June it stopped ac­cept­ing changes from out­side (opens in a new tab): only the pro­ject’s main­tain­ers may alter the code. Its founder, Andreas Kling, wrote that a con­tri­bu­tion no longer says as much about the per­son send­ing it, be­cause AI has made it faster and cheap­er to pro­duce work that looks ser­i­ous.

Ladybird uses these tools it­self. In February Kling said, ac­cord­ing to The Register (opens in a new tab), that he had used Claude Code and Codex, two AI cod­ing as­sist­ants, to trans­late the JavaScript in­ter­pret­er from the C++ lan­guage to Rust. It came to about 25,000 lines in two weeks, with out­put identic­al to the ori­gin­al code. By hand, he said, it would have taken months.

Ladybird has closed con­tri­bu­tions and uses AI in its own development; LibreOffice keeps them open and lim­its what AI may write.

What changes and what is still unknown

For people who use LibreOffice, noth­ing changes in the ap­plic­a­tion: it still has no built-in AI fea­tures. The change is in how the com­munity ac­cepts code.

The an­nounce­ment does not say how many re­cent con­tri­bu­tions used mod­els, or how the new rules af­fect vo­lun­teers who were already using them. Nor does it spell out how this ver­sion of the policy dif­fers from the pre­vi­ous one, bey­ond de­scrib­ing it as stricter.

Sources

Documents and reporting consulted for this story.

  1. Updated (and more restrictive) policy for LLM usage in LibreOffice development (opens in a new tab)The Document Foundation, . Primary source. Accessed 24 November 2026
  2. LibreOffice endurece regras para código gerado por IA no projeto (opens in a new tab)Tecnoblog, . Accessed 24 November 2026
  3. LibreOffice reforça que "ausência de IA" é um diferencial (opens in a new tab)Tecnoblog, . Accessed 24 November 2026
  4. Ladybird indie web browser flutters toward Rust (opens in a new tab)The Register, . Accessed 24 November 2026
  5. Changing How We Develop Ladybird (opens in a new tab)Ladybird Browser Initiative (Andreas Kling), . Primary source. Accessed 24 November 2026

Editorial principlesReport an error

Topics

ProgrammingDocuments and dataAI models
Wellinton Oliveira

Written by

CEO of Lyntev

Technology with context, original analysis and sources you can consult.