Addon for installing Libre Workspace AI on your Instances.
  • Python 75.8%
  • Shell 24.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-09-15 21:38:03 +01:00
deb Change Description 2026-09-15 21:38:03 +01:00
.gitignore feat: initial release of libre-workspace-module-agent with OIDC, Nextcloud & Element signals 2026-09-01 23:18:27 +01:00
LICENSE feat: initial release of libre-workspace-module-agent with OIDC, Nextcloud & Element signals 2026-09-01 23:18:27 +01:00
lw-ai.xcf Add lw ai logo 2026-09-15 21:24:13 +01:00
README.md chore: rename module from agent to lw-ai (Libre Workspace AI) 2026-09-03 19:15:25 +01:00

Libre Workspace AI (libre-workspace-ai)

Libre Workspace module for Libre Workspace AI (repository: libre-workspace-ai), providing a local AI assistant, graph-based workflow engine, short- and long-term memory, and full integration with the Libre Workspace ecosystem.

Features

  • 🤖 Local LLM Inference: Powered by Ollama with GPU acceleration support and automatic model pull.
  • 🔐 Single Sign-On (OIDC): Native OpenID Connect authentication integrated directly with the Libre Workspace Portal.
  • 🔄 Nextcloud Automatic Connection: Automatic signal-driven configuration for Nextcloud (WebDAV, CalDAV, CardDAV, Notes, and OCS APIs).
  • 💬 Element / Matrix Automatic Connection: Real-time messaging, bot notifications, and Human-In-The-Loop approval via Matrix & Element.
  • 👥 Multi-User & Group Sync: Automated user and security group provisioning from Samba DC / LDAP / Libre Workspace Portal.
  • 🛡️ Zero External Leaks: 100% offline & self-hosted AI processing on your own infrastructure.

📦 Module Details

  • Module ID: lw-ai
  • Package Name: libre-workspace-module-lw-ai
  • Maintainer: Jean28518
  • URL Endpoint: https://ai.<DOMAIN>
  • Internal Port: 48271

🛠️ Building the Debian Package

To build the .deb package manually:

dpkg-deb --build deb libre-workspace-module-lw-ai.deb

🚀 Signals & Integrations

The module includes signal scripts in signals/ responding to system lifecycle events:

  • on_module_nextcloud_installed_or_updated.sh & on_module_nextcloud_removed.sh: Automatic connection and lifecycle handling for Nextcloud.
  • on_module_matrix_installed_or_updated.sh & on_module_matrix_removed.sh: Automatic connection and token provisioning for Matrix/Element.
  • on_user_created_or_updated.sh & on_user_deleted.sh: Automatic user profile synchronization and per-user instance provisioning.
  • on_group_created_or_updated.sh & on_group_membership_updated.sh: Automatic group membership sync.
  • before_backup.sh & after_backup.sh: Coordinated database backups.

📄 License

Apache License 2.0.