Skip to main content

An Agentic Framework for Reflective PowerPoint Generation

Project description

https://github.com/icip-cas/PPTAgent

Contact 📫

The main contributor of this repo is a Master's student graduating in 2026, feel free to reach out for collaboration or opportunities.

本仓库的主要贡献者是一名 2026 届硕士毕业生,欢迎联系合作或交流机会。

News 📅

  • [2026/03]: We now support CLI and have released our fine-tuned models on Hugging Face 🤗!
  • [2026/01]: We support freeform and template generation support PPTX export, offline mode now! Context management is added to avoid context overflow.
  • [2025/12]: 🔥 Released V2 with major improvements - Deep Research Integration, Free-Form Visual Design, Autonomous Asset Creation, Text-to-Image Generation, and Agent Environment with sandbox & 20+ tools.
  • [2025/09]: 🛠️ MCP server support added - see MCP Server for configuration details
  • [2025/09]: 🚀 Released v2 with major improvements - see release notes for details
  • [2025/08]: 🎉 Paper accepted to EMNLP 2025!
  • [2025/05]: ✨ Released v1 with core functionality and 🌟 breakthrough: reached 1,000 stars on GitHub! - see release notes for details
  • [2025/01]: 🔓 Open-sourced the codebase, with experimental code archived at experiment release

Usage 📖

[!IMPORTANT] Windows is not supported. If you are on Windows, please use WSL.

We strongly recommend starting with the CLI and minimum task to confirm dependencies and environment is configured correctly.

Configuration

If you use the CLI, pptagent onboard can help create and update these configurations interactively. If you use Docker Compose or build from source, you should prepare them manually:

cp deeppresenter/config.yaml.example deeppresenter/config.yaml
cp deeppresenter/mcp.json.example deeppresenter/mcp.json

Optional Services That Improve Quality

The following services can noticeably improve generation quality, especially for research depth, PDF parsing, and visual asset creation:

If you want a fully offline setup, deploy MinerU locally and set offline_mode: true in deeppresenter/config.yaml to avoid loading network-dependent tools such as web search.

More configurable variables can be found in constants.py.

1. Personal Use / OpenClaw Integration: CLI

[!NOTE] On macOS, the CLI may automatically install several local dependencies, including Homebrew, Node.js, Docker, poppler, Playwright, and llama.cpp.

On Linux, you should prepare the environment by yourself.

Use this mode if you want the fastest local setup or want to plug DeepPresenter into OpenClaw through the CLI.

# Install uv
curl -LsSf https://astral.sh/uv/install.sh | sh

# First-time interactive setup
uvx pptagent onboard

# Generate a presentation
uvx pptagent generate "Single Page with Title: Hello World" -o hello.pptx

# Generate with attachments
uvx pptagent generate "Q4 Report" \
  -f data.xlsx \
  -f charts.pdf \
  -p "10-12" \
  -o report.pptx
Command Description
pptagent onboard Interactive configuration wizard
pptagent generate Generate presentations
pptagent config View current configuration
pptagent reset Reset configuration
pptagent serve Start the local inference service used by the CLI

2. Minimal Setup / Development: Build From Source

Use this mode if you want the smallest abstraction layer and full control over dependencies during development.

uv pip install -e .
playwright install-deps
playwright install chromium
npm install --prefix deeppresenter/html2pptx
modelscope download forceless/fasttext-language-id

docker pull forceless/deeppresenter-sandbox
docker pull forceless/deeppresenter-host
docker tag forceless/deeppresenter-sandbox deeppresenter-sandbox

# or build from dockerfile
docker build -t deeppresenter-sandbox -f deeppresenter/docker/SandBox.Dockerfile .

Start the app:

python webui.py

3. Server Deployment: Docker Compose

Use this mode for a stable server environment with explicit dependencies.

# Pull the public images to avoid build from source
docker pull forceless/deeppresenter-sandbox
docker tag forceless/deeppresenter-sandbox deeppresenter-sandbox

# Or build from source
docker build -t deeppresenter-sandbox -f deeppresenter/docker/SandBox.Dockerfile .

# Start the host service
docker compose up -d

The service exposes the web UI on http://localhost:7861.

Case Study 💡

  • Prompt: Please present the given document to me.

图片1 图片2 图片3 图片4 图片5 图片6 图片7 图片8 图片9 图片10
  • Prompt: 请介绍小米 SU7 的外观和价格

图片1 图片2 图片3 图片4 图片5 图片6
  • Prompt: 请制作一份高中课堂展示课件,主题为“解码立法过程:理解其对国际关系的影响”

图片1 图片2 图片3 图片4 图片5 图片6 图片7 图片8 图片9 图片10 图片11 图片12 图片13 图片14 图片15

Contributors 🌟

Force1ess/
Force1ess
Puelloc/
Puelloc
hongyan/
hongyan
Dnoob/
Dnoob
Sadahlu/
Sadahlu
KurisuMakiseSame/
KurisuMakiseSame
Angelen/
Angelen
BrandonHu/
BrandonHu
Eliot
Eliot White
EvolvedGhost/
EvolvedGhost
ISCAS-zwl/
ISCAS-zwl
James
James Brown
JunZhang/
JunZhang
Open
Open AI Tx
Sense_wang/
Sense_wang
SuYao/
SuYao
Zakir
Zakir Jiwani
Zhenyu/
Zhenyu
lnennnn/
lnennnn

Star History Chart

Citation 🙏

If you find this project helpful, please use the following to cite it:

@inproceedings{zheng-etal-2025-pptagent,
    title = "{PPTA}gent: Generating and Evaluating Presentations Beyond Text-to-Slides",
    author = "Zheng, Hao  and
      Guan, Xinyan  and
      Kong, Hao  and
      Zhang, Wenkai  and
      Zheng, Jia  and
      Zhou, Weixiang  and
      Lin, Hongyu  and
      Lu, Yaojie  and
      Han, Xianpei  and
      Sun, Le",
    editor = "Christodoulopoulos, Christos  and
      Chakraborty, Tanmoy  and
      Rose, Carolyn  and
      Peng, Violet",
    booktitle = "Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing",
    month = nov,
    year = "2025",
    address = "Suzhou, China",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2025.emnlp-main.728/",
    doi = "10.18653/v1/2025.emnlp-main.728",
    pages = "14413--14429",
    ISBN = "979-8-89176-332-6",
    abstract = "Automatically generating presentations from documents is a challenging task that requires accommodating content quality, visual appeal, and structural coherence. Existing methods primarily focus on improving and evaluating the content quality in isolation, overlooking visual appeal and structural coherence, which limits their practical applicability. To address these limitations, we propose PPTAgent, which comprehensively improves presentation generation through a two-stage, edit-based approach inspired by human workflows. PPTAgent first analyzes reference presentations to extract slide-level functional types and content schemas, then drafts an outline and iteratively generates editing actions based on selected reference slides to create new slides. To comprehensively evaluate the quality of generated presentations, we further introduce PPTEval, an evaluation framework that assesses presentations across three dimensions: Content, Design, and Coherence. Results demonstrate that PPTAgent significantly outperforms existing automatic presentation generation methods across all three dimensions."
}

@misc{zheng2026deeppresenterenvironmentgroundedreflectionagentic,
      title={DeepPresenter: Environment-Grounded Reflection for Agentic Presentation Generation},
      author={Hao Zheng and Guozhao Mo and Xinru Yan and Qianhao Yuan and Wenkai Zhang and Xuanang Chen and Yaojie Lu and Hongyu Lin and Xianpei Han and Le Sun},
      year={2026},
      eprint={2602.22839},
      archivePrefix={arXiv},
      primaryClass={cs.AI},
      url={https://arxiv.org/abs/2602.22839},
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pptagent-1.1.35.tar.gz (4.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pptagent-1.1.35-py3-none-any.whl (4.9 MB view details)

Uploaded Python 3

File details

Details for the file pptagent-1.1.35.tar.gz.

File metadata

  • Download URL: pptagent-1.1.35.tar.gz
  • Upload date:
  • Size: 4.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pptagent-1.1.35.tar.gz
Algorithm Hash digest
SHA256 59c06820abd49c6f8664d7b296dace418a21173b9e4334c25478ade31b5c852d
MD5 1a8c8f1f077a0d7f898d80deab828fac
BLAKE2b-256 513df982aff341a36e992ccbcee581988d55efb7a386b5438d19c20774368c49

See more details on using hashes here.

File details

Details for the file pptagent-1.1.35-py3-none-any.whl.

File metadata

  • Download URL: pptagent-1.1.35-py3-none-any.whl
  • Upload date:
  • Size: 4.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pptagent-1.1.35-py3-none-any.whl
Algorithm Hash digest
SHA256 a78610473fc71342a53c30742d4690a2ca88248a180a9b9dfe83d581907c568e
MD5 0b25f130f782f3a9a665a2242efa91a5
BLAKE2b-256 ae67b2a4132a836615f6f31577ef43886e7a66af94d4c8de403e6546833cb48a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page