# Repository Briefing: huohua325/Memslides
> Source: https://repoforai.com/repo/huohua325/Memslides (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/huohua325/Memslides
- **Official Docs / Website**: https://arxiv.org/abs/2606.17162
- **Category**: Agents & Frameworks (智能体与框架)
- **Primary Language**: Python
- **License**: Apache-2.0
- **Engineering Health**: B (60/100 · Maintenance 26/35 · Adoption 8/25 · Releases 6/20 · License 20/20)
- **Review Snapshot**: 2026-12-03
- **Deployment / Stack Signals**: Docker, Self-Hosted, CLI
- **Momentum**: 1,083 ★ total (+0 24h / +0 7d) · 29 forks
- **Topics**: `agent`, `deck`, `llm-tools`, `slides`
- **When to Use**: Best for: Engineering and research teams building repeatable slide workflows that reuse templates and user preferences, accept multi-turn local edits, and produce artifacts through a CLI. Skip if: You need a ready-to-host collaborative web editor, strict layout determinism, or a verified offline stack without separately selecting and deploying inference and supporting services.

## Overview
```text
### Architecture & Core Mechanics
MemSlides is a Python agent runtime built around a persistent workspace. Generation combines instructions and source material with preferences retrieved for the presentation's intent. During revision, working memory carries task constraints and editing state across turns, while tool memory supplies relevant execution experience. The revision pipeline uses feedback to identify the affected slide or region and limit the update.

The `memslides` entry point maps to `memslides.__main__:main`. Under `src/memslides/`, `pipelines/`, `memory/`, and `experiment/` separate artifact workflows, memory, and evaluation; `tools/` contains MCP tools and services, with `fastmcp` in the dependency set. The Python runtime includes the OpenAI client and Playwright 1.60.0, while the Node export stack includes PptxGenJS and Sharp. MCP is a tool boundary here, not evidence of a general plugin marketplace or a public serving interface.

### Key Capabilities & Differentiators
The runtime generates decks from instructions and source materials, then accepts natural-language follow-up edits in the same workspace. Persistent profile preferences can inform later decks, while temporary constraints can stay within the current task. In the hosted demo, saving and activating long-term preferences are explicit user actions. Template induction extracts a reusable profile from an existing PPTX; it should not be treated as a guarantee of lossless PowerPoint round-tripping.

The CLI returns JSON with the workspace and available artifact paths. Output includes slide HTML and PPTX, with PDF export conditional on availability. Model endpoints and names are configurable for the agents, but no provider compatibility matrix is specified. Packaged and custom experiment suites support reporting; the one-slide `smoke_minimal` suite is useful for checking setup, not for judging deck quality or production throughput.

### Trade-offs & Limitations
Compared with calling PptxGenJS directly, MemSlides adds interpretation of source material, preference retrieval, and feedback-driven revision. If the layouts and data mappings are already known, a scripted template pipeline gives you more direct control with fewer moving parts. For teams that primarily need manual layout and shared review, a visual editor is a better fit than a CLI workflow with persistent agent state.

Scoped revision limits what the agent is asked to change; it does not guarantee that every export preserves untouched content or matches across formats. Before adoption, test layout and fonts on representative decks and check that successive runs use the intended workspace. The framework is Apache-2.0, but model and service terms, third-party notices, and asset rights still need review. Persistent preferences and workspace artifacts also expand the data you must govern.

### Hardware & Deployment Guide
Package metadata requires Python 3.10 or newer. The recommended local stack is Python 3.11, Node.js 20, LibreOffice, Poppler, CJK fonts, and Playwright Chromium. Supply model endpoints, names, and credentials through local YAML and environment variables. With remote inference, plan runner capacity around concurrent model calls, browser rendering, and export work; any self-hosted inference service must be sized separately. A local runner is not an offline guarantee.

Docker Compose defaults to `huohua325/memslides:v2.0.1`, mounts `./.memslides` at `/app/.cache/memslides`, and disables automatic installation for Playwright and PPTX export. The published image is for CLI jobs and experiment reproduction, not a self-hosted copy of the demo website. The June 15, 2026 `version_1` release entry has no supplied change notes; the Python package version (`1.0.0`) and image tag (`v2.0.1`) should be tracked separately.
```

## Key Capabilities
```text
- Memory boundaries: Persistent presentation preferences, task-local revision state, and prior tool-execution experience are handled separately.
- Revision scope: Natural-language feedback identifies a slide or region to update while the same workspace carries context forward.
- Template induction: `template induct --template-file` extracts a reusable profile from an existing PPTX.
- Export stack: The Python manifest pins Playwright to 1.60.0; the Node export stack includes PptxGenJS and Sharp and exposes `check:pptx-export`.
- Container persistence: Compose mounts `./.memslides` at `/app/.cache/memslides` and disables automatic installation for Playwright and PPTX export.
- Experiment workflow: `smoke_minimal` provides a one-slide verification run with a separate report command.
```

## Quick Start / Clone
```bash
git clone https://github.com/huohua325/Memslides.git
cd Memslides

sudo apt-get update
sudo apt-get install -y libreoffice fontconfig fonts-noto-cjk poppler-utils

conda env create -f environment.yml
conda activate memslides
pip install -e ".[research]"
python -m playwright install chromium ffmpeg
```
