Dear TDF Board,
I’ve been working (with others) on an extension WriterAgent that started off with AI features for Writer, and then I realized that adding Python / NumPy would be very useful. It now has a bunch of functionality that I believe should have been included in the core LibreOffice product years ago.
The Python ecosystem gives easy access to powerful capabilities such as for data analysis, vector and full-text search, and OCR, which I’ve implemented initial versions of in the plugin. The Python ecosystem is so large it’s mind-blowing, and it’s all just one “uv/pip install” away. The code isn’t all written in Python of course, but the install process plus the bundled wrappers make it seem that way.
Microsoft added Python to Excel in 2024, so it should be added for competitive reasons as well as it being a great idea: Python is the most popular programming language, suitable for children to data scientists. However, the MS design is bad with an xl() function that breaks recalc, and they currently require you to run NumPy in the cloud and charge for it, they don’t support running it locally.
The plugin is a mix of AI and Python features which we could separate. For now having it unified is simplest because we evolve the features, and how they are exposed to the user and LLMs at the same time. The main dev design document is here.
I’m writing because I’ve sent multiple emails over multiple weeks to the libreoffice-dev alias and heard nothing back regarding the =Python() design, or code. My questions for the board are:
- Does this align with LibreOffice’s roadmap?
- Would TDF support upstreaming this as a core feature or official extension?
- If there are no longer experienced Calc developers willing to give feedback on complicated features like this, how is the Board addressing this lack of engineering oversight?
Thank you,
-Keith