Skip to content

Feature request: managed Python image for AI data and document agents #321

Description

@JaviChulvi

Vercel Sandbox currently provides vercel/sandbox/python:3.14, containing Python, pip, venv, and uv. It does not include common packages needed by AI chatbots that analyze attachments and generate downloadable files.

I tested the current image and confirmed that none of these imports are available:

  • NumPy
  • pandas
  • matplotlib
  • openpyxl
  • reportlab
  • python-pptx
  • python-docx
  • pypdf

Would Vercel consider publishing a managed image such as:

vercel/sandbox/python-agent:3.14

With:

numpy
pandas
matplotlib
openpyxl
reportlab
python-pptx
python-docx
pypdf

Common use cases include:

  • Reading attached CSV and Excel files
  • Performing calculations and statistical analysis
  • Generating Excel workbooks
  • Creating charts
  • Creating and manipulating PDFs
  • Creating PowerPoint and Word documents
  • Returning generated files from AI chat applications

Project-owned snapshots and custom VCR images can solve this, but every application must independently install, version, snapshot, and maintain essentially the same baseline dependencies.

A Vercel-managed image would provide:

  • Faster startup without runtime package installation
  • A documented and reproducible dependency baseline
  • Centralized package and security updates
  • Less setup for common AI code-interpreter applications

If a managed image is considered too broad, an official example image or Dockerfile under images/ would also be useful.

I can contribute an initial Dockerfile if this direction fits the project.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions