ai-python-serverless-execution

Installation
SKILL.md

ai-python-serverless-execution

Use this when working in a serverless setup, e.g. Vercel Fluid Compute.

The only major difference in serverless is processing tool approvals and other hooks. Since you can't keep the hook future alive, you need to stop the run, save messages, then start a later request with the hook resolution pre-registered.

Tool Approval

Mark approval-gated tools with require_approval=True:

@ai.tool(require_approval=True)
async def delete_file(path: str) -> str:
    return f"Deleted {path}"
Installs
22
GitHub Stars
178
First Seen
Jul 12, 2026
ai-python-serverless-execution — vercel-labs/ai-python