The ChatGPT/Codex app bundles a full copy of LibreOffice

(simonwillison.net)

113 points | by timpera 1 hour ago

17 comments

  • petilon 2 minutes ago
    There is a serious threat to Microsoft here, if everyone starts using AI for generating and updating Office docs. At some point Office will become just a viewer.
  • paaloeye 4 minutes ago
    First Claude installed 10GB VM [0] without asking, but OpenAI ships LibreOffice. What's next? Somebody ship their monorepo verbatim?

    Honestly, not sure it's worth having those app on your localhost at all. I ended up uninstalling all frontier labs bloated apps and start using Google AI Mode + Antigravity CLI / Claude Code sometimes.

    [0] https://github.com/anthropics/claude-code/issues/22543

  • lgl 55 minutes ago
    Does that really mean that it's bundling those apps from the start or did it just download and install them at some point to do some local work on some prompt or job you ask it to?

    I don't see it making much sense to bundle it. I'm sure a LOT of LLM prompts are related with docs, excels, powerpoints etc, etc but don't really see it worth it for it to be bundled on the codex app from the get go, because otherwise, why not also install dozens of other apps?

    • simonw 52 minutes ago
      I'm not sure. Someone who hasn't installed the ChatGPT (or Codex) apps yet could confirm this by installing the apps, seeing if that ~/.cache directory exists, then try running a prompt that needs Python or Node.js or LibreOffice and see if it downloads them when needed.
      • zatkin 41 minutes ago
        I've never installed the ChatGPT app on my Mac until today. I ran the app, signed in, and I see the same.

        % ls ~/.cache/codex-runtimes/codex-primary-runtime/dependencies/native/libreoffice-headless

        libreoffice manifest.json

        • zamadatix 10 minutes ago
          Notably: this did not exist after I installed the app, it existed after I ran the app and there was the long startup screen. Presumably, and I'm not sure I'm interested enough to redo it all and find out, that long startup screen involves the default skills plugins setting up their environment and one of those pulls it as a general app requirement.

          I also saw this present after first run on macOS but not Windows.

        • embedding-shape 37 minutes ago
          On a Windows installation I see this:

              PS C:\Users\user> ls C:\Users\user\.cache\codex-runtimes\codex-primary-runtime\dependencies\native\
              Mode                 LastWriteTime         Length Name
              ----                 -------------         ------ ----
              d-----         8/27/2026  10:09 AM                git
              d-----         6/16/2026   9:18 PM                jxrlib
              d-----         8/26/2026   7:37 PM                libheif
              d-----         6/17/2026   5:32 AM                poppler
              d-----         8/27/2026  10:09 AM                powershell
          
          So doesn't seem bundled with all installs at least.
    • RomanHauksson 52 minutes ago
      > why not also install dozens of other apps?

      because other apps are less likely to be useful, and there's diminishing returns

  • esperent 52 minutes ago
    I actually bundle it with my app too and the reason is reading files, especially old xls files. Since I'm bundling it I'm now using it for everything docs related but the specific reason is those old files. I couldn't find anything else that I could just drop it and feel confident it'll just read anything I give it.
  • zitterbewegung 3 minutes ago
    It might be for their new Work product which can produce docx, pdf and pox files.
  • pseudosavant 1 hour ago
    Is that what it is using to render and manipulate MS Office documents? That'd explain the poor rendering of some of my files. Bundling all of LibreOffice seems like a pretty huge dependency.
    • telotortium 6 minutes ago
      I have a skill that instructs ChatGPT/Codex to verify the rendering using the Mac versions of Microsoft Office. Even without registering, you still can open files read-only, which is enough. Apparently Office refuses to open some Open Office XML documents that LibreOffice is fine with, so that's another reason to use this. After a few times, Codex ended up storing some memories to stop producing broken files in the first place.

      I generated the skill originally for ChatGPT 5.5, so some of these may not strictly be necessary anymore with later models. But posting here in case others find it useful: https://gist.github.com/telotortium/844386f762c4b3bab49999ba...

    • JLO64 59 minutes ago
      For a docker image of mine I was bundling the full version of LibreOffice as well but I managed to get some space savings by bundling just the no-gui version.
      • zamadatix 4 minutes ago
        Seems to match the screenshot in the blogpost but libreoffice-headless still shows as 429.7 MB.
    • nomel 1 hour ago
      > Bundling all of LibreOffice seems like a pretty huge dependency

      What's the alternative library you see?

      • simongg 59 minutes ago
        Apache POI
      • MikeTheGreat 44 minutes ago
        pandoc
      • verdverm 59 minutes ago
        Why not computer use or using the tools the user prefers instead? The primary office suites have APIs/CLIs now
        • tyre 34 minutes ago
          Computer use is slow and can take control of the application focus. I’ll be doing things while Claude runs in the background. Suddenly it decides to open the app and try to do something + screenshot it.
      • edemdogbe 43 minutes ago
        [flagged]
    • tiahura 40 minutes ago
      Yes. If you have word you can instruct to use word via com or AppleScript.
    • OutOfHere 45 minutes ago
      Just the headless version is bundled.
  • mirzap 9 minutes ago
    I wonder why they didn't try to discover if the user already has those binaries and use them before downloading.
  • vb-8448 39 minutes ago
    Curiously, I didn't find any reference in the Open source licences section of the codex app.

    Is this a MPL 2.0 violation?

    • zamadatix 13 minutes ago
      Despite the title, I'm not sure it's actually bundled. Some of the skills plugins will download it on the first run. So it depends where they are grabbing it from rather than the presence of the binary on the system, but I haven't checked that deep into where they actually grab it.
      • TZubiri 5 minutes ago
        The license itself may be present in the cache folder.

        Alternatively, ChatGPT might happily disclose authorship and licensing if asked.

        I'm not convinced of the argument that the fact that it is not bundled at download or even at install-time, would free them of the GPL responsibilities. And at this point.

        I'm also not sure HOW the devs bundled libreoffice, whether they just mentioned in a prompt (use libreoffice), or whether they hardcoded a command (like apt install libreoffice), more likely the former, considering the recursive vibecoding nature of this software.

        Whole lotta words to say that I don't know whether this is a GPL violation, but interested in the answer. If it is a violation, the likely fix will probably be yet another prompt that says something like "comply with licensing", which probably already exists, so a more specific "provide attribution (in a way that doesn't bother the user)"

    • thesdev 32 minutes ago
      Copyright violation is the last thing one could accuse ChatGPT of.
      • vb-8448 18 minutes ago
        Well, this one is particularly obvious, other one are more fuzzy.
  • jrflo 53 minutes ago
    I've noticed that when I have codex read/modify word files the live reasoning snippets often allude to LibreOffice, so that makes sense. I think it was a quick and dirty way for them to interface with docx and xlsx files?
  • dvduval 31 minutes ago
    My agent did it? I didn’t do it.
  • simonw 1 hour ago
    (This is more of a tweet than a blog post, it really wasn't written with Hacker News in mind.)
  • trentor 55 minutes ago
    I don't see the problem?
    • iAMkenough 52 minutes ago
      Who said it was a problem? This looks like an observation to me, not an accusation.
  • quotemstr 55 minutes ago
    There's no security benefit to doing this versus demand-downloading hashed-locked components on need.
    • TZubiri 2 minutes ago
      Ok, it's probably not a security decision. It's a common pattern with both storage and memory management to push most reservations to initialization, in order to cluster resource insufficiency errors to a specific install-time when the user or admin can do something about it. An excessive just-in-time approach in both storage and memory would cause OOM and Disk exhaustion to occur at many different times.
  • m3kw9 35 minutes ago
    probably uses it extensively to convert between LLM working on a doc and exporting it out to excel, word etc
  • dvrp 1 hour ago
    And wait till you find out about @oai/walnut
    • bcanzanella 1 hour ago
      do tell!
      • djriley 40 minutes ago
        Walnut is the .NET and OpenXML backend. I think the point parent was trying to make it that it shouldn't be surprising Codex bundles runtimes for damn near everything.
  • cpursley 1 hour ago
    I still don’t understand why with all their cash these companies dont redo their apps in Rust or native. They are all so heavy and dog slow. There are already some very fast cross platform (wasm too!) libraries that can do what poppler does as well as parse and produce various office file formats. Because 2gb is crazy town, these things could be around 100mb, just throw some tokens at the problem.
    • sudo_cowsay 1 hour ago
      Not that easy. Also, they have "priorities." Although their priorities are different than the users'.
      • cpursley 1 hour ago
        Just throw some tokens at the problem. I’ve vibed up a Rust Crux hybrid app that runs well on macOS, iPad and wasm and does some pretty complex xml manipulation and other document work. Absolutely smokes electron and you get native UI.

        Ref: https://redbadger.github.io/crux/

        • doc_ick 33 minutes ago
          On top of everyone else’s great points, if you make your own “fork” of something, then you have to consistently maintain it. Which can be done with tokens, but an extra cost with something that’s not as user tested.
        • verdverm 57 minutes ago
          one does not just "throw tokens" at a problem, Ai is not that capable, and we are talking about MS Office file format, likely a NP hard problem
          • vb-8448 34 minutes ago
            But in case they succeed the return on image will be astonishing.
            • doc_ick 28 minutes ago
              Can you expand upon this?
          • sigbottle 52 minutes ago
            I mean, aside from all the NP Hard sub problems (I might not be reading your satire though), the real hard problem is that a "product" is not just software, but an ecosystem and a promise of maintenance of the abstract user experience & quality of it.
    • nomel 1 hour ago
      What % of time, for a an average session, do you think is app overhead vs waiting for tokens? And there's your answer for why it's not a priority.
      • andai 57 minutes ago
        Jon Blow's response to this take was, "yes, which is why you have to work even harder to hide latency", instead of adding more on top.
      • nikanj 45 minutes ago
        From OpenAIs perspective, resources on your computer are free and wasting them is inconsequential
        • tmp10423288442 3 minutes ago
          Kind of. Eventually it gets too slow even for the OpenAI engineers using it, and then they need to fix it.
    • quotemstr 54 minutes ago
      What makes you think Rust is automatically better?

      (Also, "Rust or native" is a strange dichotomy. What's not native about Rust?)

      • kennywinker 39 minutes ago
        I think “or native” is a gesture at swift/objc for mac and C# or whatever people write windows apps in.
  • alex-moon 58 minutes ago
    Someone may need to explain to me what is wrong with this sorry. Is it because it bloats the app with functionality that some users will never use? I feel like that is fairly usual for productivity/business apps generally.
    • simonw 52 minutes ago
      I don't see anything wrong with it, I just think it's interesting.
      • alex-moon 31 minutes ago
        Oh right, yeah I agree. It's the kind of thing I can imagine the harness downloading in the background anyway (or instructing the user to do) at some point so I can see the sense in just skipping that bit. Kind of comforting they just do it the same way the rest of us do - if it ain't broke and so on.
      • nialse 42 minutes ago
        It does, however, introduce a potentially enormous attack surface into ChatGPT, along with creative opportunities for less security conscious individuals and LLMs.
      • winstonp 43 minutes ago
        I think it's overbloating my computer
    • OutOfHere 44 minutes ago
      Actually, people do use and require the functionality, which is the point. The title as posted might be incorrect.
      • alex-moon 39 minutes ago
        Yes, that's what I mean - maybe that didn't come across cos I said "bloats". I work for a business that builds web apps for corporates - LibreOffice is bundled in most of the repos of ours that I've seen, a bit like Imagick is in the broader sector.