stdlib (json, re, pathlib, csv, …) | Works | — |
urllib.request / webagent.http | Works (proxy-backed via /api/proxy) | Prefer web_fetch/web_post/web_upload for REST/CMS at agent level; http.upload_file in scripts |
zipfile (create .zip bundles) | Works | No create_archive tool — use run_python + zipfile, output under work/ or projects/ |
Pillow, numpy, pandas, scipy, scikit-learn | Works (auto-loaded) | — |
python-docx, python-pptx, openpyxl, pypdf, pdfplumber, reportlab | Works (auto-loaded) | — |
requests, httpx, beautifulsoup4, pyyaml, pydantic, rich, click, tqdm | Mixed — parsing/utils often work; HTTP via requests/httpx may hit JsProxy | Use webagent.http in-script or web_fetch/web_post for HTTP |
feedparser, wikipedia (micropip allowlist) | Works (slower first run) | Auto-installed via micropip; prefer web_fetch for Wikipedia REST |
matplotlib, seaborn, imageio, Jinja2, markitdown | Works (auto-loaded) | — |
subprocess spawning soffice/libreoffice | Blocked — binary absent | python-docx/python-pptx/openpyxl |
subprocess spawning ffmpeg/ffprobe | Blocked — binary absent | Call a hosted transcoding API |
subprocess spawning pdftoppm/pdftotext/ghostscript | Blocked — binary absent | pypdf for text; rasterize server-side |
subprocess spawning tesseract/pytesseract/whisper | Blocked — binary absent | Hosted OCR/transcription API |
subprocess spawning pandoc/wkhtmltopdf | Blocked — binary absent | markitdown, python-docx, reportlab |
subprocess spawning git/gh/curl/wget | Blocked — binary absent | web_fetch/web_post + GitHub REST API |
subprocess spawning vercel/netlify/fly/railway | Blocked — binary absent | That service's REST API via web_post |
subprocess spawning xcodebuild/xcrun/simctl | Blocked — macOS only | Not available in browser |
import pdf2image | Blocked — needs poppler at runtime | pypdf |
import pytesseract | Blocked — needs tesseract | Hosted OCR API |
import playwright / selenium / pyppeteer | Blocked — needs Chromium | web_fetch + parsing |
import torch / tensorflow / jax | Blocked — compiled GPU extensions | Hosted model inference API |
import cv2 (OpenCV) | Blocked — compiled C++ | Pillow for basic ops |
import whisper (openai-whisper) | Blocked — needs ffmpeg + GPU | Hosted transcription API |
import rdkit | Blocked — compiled C++ | Cheminformatics API or RDKit JS port |
import psycopg2/pymysql/pymongo/redis | Blocked — raw TCP sockets | Database REST/HTTP API |
raw socket.socket(…) | Warn — proxy may fail | web_fetch/web_post |