Skip to content

Architecture Overview

The user interface is implemented as an Office.js taskpane SPA that runs inside the PowerPoint host 1. This taskpane includes a chat panel, a live slide tree, and an action bar. It interacts with PowerPoint via the Office.js API, specifically using context.presentation.insertSlidesFromBase64(b64, options) for slide insertion and getFileAsync for file retrieval. The add-in tracks slides using opaque Slide.id values rather than indices. Communication between the taskpane and the server occurs over HTTPS and WebSockets, secured by a local CA generated via mkcert.

diagram