huohua325/Memslides
A hierarchical-memory agent framework for personalized slide generation and local revision
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & 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.
template induct --template-file extracts a reusable profile from an existing PPTX.check:pptx-export../.memslides at /app/.cache/memslides and disables automatic installation for Playwright and PPTX export.smoke_minimal provides a one-slide verification run with a separate report command.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.
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.
Quick Start & Installation
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
Comparison vs. Top Agents & Frameworks Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| Memslides ★ | 1.1k | — | Python | Apache-2.0 | A hierarchical-memory agent framework for personalized slide generation and loca |
| browser-use | 122.7k | +477 | Python | MIT | Python REPL and CDP for adaptive browser automation |
| langgraph | 45.8k | +293 | Python | MIT | Python graph orchestration for stateful, resumable agents and workflows |
| langchain | 150.4k | +290 | Python | MIT | Modular Python framework for building agents across model providers |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/huohua325/Memslides.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about Memslides
How should another application integrate generation and revision?
generate and revise against the same workspace, put global options such as --config and --workspace before the subcommand, and consume the JSON result for artifact paths. The source tree also includes MCP tools and services, but the Docker image is documented as a CLI job runner, not a hosted API.Does a self-hosted runner need a GPU?
Can we use MemSlides commercially and keep presentation data private?
THIRD_PARTY_NOTICES.md. Separately check model and service terms, rights to source decks and downloaded assets, and retention policies for workspaces and memory. Self-hosting the runner does not prevent data from reaching configured external services.When should we choose MemSlides over scripted PPTX generation or a visual editor?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy