Case Study

OpenOffice Writer and Calc Agent

Loopback API so an agent can do what a person can do in Writer and Calc, through LibreOffice and the UNO API.

  • LibreOffice
  • UNO
  • Writer
  • Calc
  • libreoffice
  • uno
  • writer
  • calc
  • agents
  • loopback

Overview

A local daemon that lets an agent work in Writer and Calc the way a person would. The engine is LibreOffice. The API is UNO (com.sun.star.*), the same API OpenOffice uses. It listens on the loopback interface.

This is a private studio tool. It is not a public download, and it is not installed for visitors of this site.

What an agent can do

Convenience routes cover the everyday menu:

  • Writer — typing, styles, tables, images, and pages
  • Calc — cells, formulas, sheets, and charts
  • Export of the document you just edited

Anything else is still reachable. The full menu is every .uno: command via dispatch, plus UNO describe and exec for the rest of the API.

How it runs

The daemon listens on 127.0.0.1:8082. On macOS, Linux, and Windows it starts by launching LibreOffice headless, then talks to that process over UNO.

Repository

The repo is private: davidthegnomad/openoffice-agentd.