[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-vercel-labs-ai-python-serverless-execution":3,"mdc-chblqc-key":33,"related-org-vercel-labs-ai-python-serverless-execution":633,"related-repo-vercel-labs-ai-python-serverless-execution":807},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":22,"repoUrl":23,"updatedAt":24,"license":25,"forks":26,"topics":27,"repo":28,"sourceUrl":31,"mdContent":32},"ai-python-serverless-execution","build serverless AI SDK endpoints","Use when building serverless AI SDK for Python endpoints, handling hook approvals, deferring hooks, or resuming runs across requests.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"vercel-labs","Vercel Labs","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fvercel-labs.png",[12,16,19],{"name":13,"slug":14,"type":15},"Python","python","tag",{"name":17,"slug":18,"type":15},"AI SDK","ai-sdk",{"name":20,"slug":21,"type":15},"Serverless","serverless",92,"https:\u002F\u002Fgithub.com\u002Fvercel-labs\u002Fai-python","2026-07-29T05:40:37.750244",null,11,[],{"repoUrl":23,"stars":22,"forks":26,"topics":29,"description":30},[],"AI SDK for Python","https:\u002F\u002Fgithub.com\u002Fvercel-labs\u002Fai-python\u002Ftree\u002FHEAD\u002Fskills\u002Fai-python-serverless-execution","---\nname: ai-python-serverless-execution\ndescription: Use when building serverless AI SDK for Python endpoints, handling hook approvals, deferring hooks, or resuming runs across requests.\nmetadata:\n  sdk-version: \"0.4.0\"\n---\n\n# ai-python-serverless-execution\n\nUse this when working in a serverless setup, e.g. Vercel Fluid Compute.\n\nThe only major difference in serverless is processing tool approvals\nand other hooks. Since you can't keep the hook future alive, you need\nto stop the run, save messages, then start a later request with the\nhook resolution pre-registered.\n\n## Tool Approval\n\nMark approval-gated tools with `require_approval=True`:\n\n```python\n@ai.tool(require_approval=True)\nasync def delete_file(path: str) -> str:\n    return f\"Deleted {path}\"\n```\n\n## First Request\n\nWhen a deferred hook appears, send it to the client and call\n`ai.defer_hook(...)`.\n\nKeep draining the stream. Do not break after the first hook. This lets sibling\ntools finish or get marked deferred, and makes `stream.messages` complete.\n\n```python\ndeferred_hooks = []\n\nasync with agent.run(model, messages) as stream:\n    async for event in stream:\n        if (\n            isinstance(event, ai.events.HookEvent)\n            and event.hook.status == \"pending\"\n        ):\n            deferred_hooks.append(event.hook)\n            ai.defer_hook(event.hook)\n\n        yield event\n\nsaved_messages = [\n    message.model_dump(mode=\"json\")\n    for message in stream.messages\n]\nsave_messages(saved_messages)\nsave_deferred_hook_ids([hook.hook_id for hook in deferred_hooks])\n```\n\n## Resume Request\n\nLoad the saved messages, pre-register hook resolutions, then call `agent.run`.\n\n```python\nmessages = [\n    ai.messages.Message.model_validate(message)\n    for message in load_messages()\n]\n\nfor approval in approvals:\n    ai.resolve_hook(\n        approval.hook_id,\n        ai.tools.ToolApproval(\n            granted=approval.granted,\n            reason=approval.reason,\n        ),\n    )\n\nasync with agent.run(model, messages) as stream:\n    async for event in stream:\n        yield event\n\nsave_messages([\n    message.model_dump(mode=\"json\")\n    for message in stream.messages\n])\n```\n\nCall `ai.resolve_hook(...)` before `agent.run(...)`. Do not ask the model to\nmake the tool call again.\n\n`Agent.run` prepares saved interrupted messages for replay. Completed sibling\ntool results are reused, deferred hooks receive the pre-registered resolution,\nand replay-only events are hidden from the caller.\n\n## Rules\n\n- Use normal `agent.run(...)`; serverless resume usually does not need a custom loop.\n- If you do write a custom loop, use `context.resolve(...)`, `ToolRunner`, and\n  `context.add(...)` so approvals and replay keep working.\n- For custom hooks, pre-register with `ai.resolve_hook(hook_id, data, payload=PayloadType)`.\n- For AI SDK UI clients, use `ai-python-ui-adapter` for message conversion,\n  approval responses, and SSE.\n",{"data":34,"body":37},{"name":4,"description":6,"metadata":35},{"sdk-version":36},"0.4.0",{"type":38,"children":39},"root",[40,47,53,58,65,79,118,124,137,150,323,329,341,518,539,550,556,627],{"type":41,"tag":42,"props":43,"children":44},"element","h1",{"id":4},[45],{"type":46,"value":4},"text",{"type":41,"tag":48,"props":49,"children":50},"p",{},[51],{"type":46,"value":52},"Use this when working in a serverless setup, e.g. Vercel Fluid Compute.",{"type":41,"tag":48,"props":54,"children":55},{},[56],{"type":46,"value":57},"The only major difference in serverless is processing tool approvals\nand other hooks. Since you can't keep the hook future alive, you need\nto stop the run, save messages, then start a later request with the\nhook resolution pre-registered.",{"type":41,"tag":59,"props":60,"children":62},"h2",{"id":61},"tool-approval",[63],{"type":46,"value":64},"Tool Approval",{"type":41,"tag":48,"props":66,"children":67},{},[68,70,77],{"type":46,"value":69},"Mark approval-gated tools with ",{"type":41,"tag":71,"props":72,"children":74},"code",{"className":73},[],[75],{"type":46,"value":76},"require_approval=True",{"type":46,"value":78},":",{"type":41,"tag":80,"props":81,"children":85},"pre",{"className":82,"code":83,"language":14,"meta":84,"style":84},"language-python shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","@ai.tool(require_approval=True)\nasync def delete_file(path: str) -> str:\n    return f\"Deleted {path}\"\n","",[86],{"type":41,"tag":71,"props":87,"children":88},{"__ignoreMap":84},[89,100,109],{"type":41,"tag":90,"props":91,"children":94},"span",{"class":92,"line":93},"line",1,[95],{"type":41,"tag":90,"props":96,"children":97},{},[98],{"type":46,"value":99},"@ai.tool(require_approval=True)\n",{"type":41,"tag":90,"props":101,"children":103},{"class":92,"line":102},2,[104],{"type":41,"tag":90,"props":105,"children":106},{},[107],{"type":46,"value":108},"async def delete_file(path: str) -> str:\n",{"type":41,"tag":90,"props":110,"children":112},{"class":92,"line":111},3,[113],{"type":41,"tag":90,"props":114,"children":115},{},[116],{"type":46,"value":117},"    return f\"Deleted {path}\"\n",{"type":41,"tag":59,"props":119,"children":121},{"id":120},"first-request",[122],{"type":46,"value":123},"First Request",{"type":41,"tag":48,"props":125,"children":126},{},[127,129,135],{"type":46,"value":128},"When a deferred hook appears, send it to the client and call\n",{"type":41,"tag":71,"props":130,"children":132},{"className":131},[],[133],{"type":46,"value":134},"ai.defer_hook(...)",{"type":46,"value":136},".",{"type":41,"tag":48,"props":138,"children":139},{},[140,142,148],{"type":46,"value":141},"Keep draining the stream. Do not break after the first hook. This lets sibling\ntools finish or get marked deferred, and makes ",{"type":41,"tag":71,"props":143,"children":145},{"className":144},[],[146],{"type":46,"value":147},"stream.messages",{"type":46,"value":149}," complete.",{"type":41,"tag":80,"props":151,"children":153},{"className":82,"code":152,"language":14,"meta":84,"style":84},"deferred_hooks = []\n\nasync with agent.run(model, messages) as stream:\n    async for event in stream:\n        if (\n            isinstance(event, ai.events.HookEvent)\n            and event.hook.status == \"pending\"\n        ):\n            deferred_hooks.append(event.hook)\n            ai.defer_hook(event.hook)\n\n        yield event\n\nsaved_messages = [\n    message.model_dump(mode=\"json\")\n    for message in stream.messages\n]\nsave_messages(saved_messages)\nsave_deferred_hook_ids([hook.hook_id for hook in deferred_hooks])\n",[154],{"type":41,"tag":71,"props":155,"children":156},{"__ignoreMap":84},[157,165,174,182,191,200,209,218,227,236,245,252,261,269,278,287,296,305,314],{"type":41,"tag":90,"props":158,"children":159},{"class":92,"line":93},[160],{"type":41,"tag":90,"props":161,"children":162},{},[163],{"type":46,"value":164},"deferred_hooks = []\n",{"type":41,"tag":90,"props":166,"children":167},{"class":92,"line":102},[168],{"type":41,"tag":90,"props":169,"children":171},{"emptyLinePlaceholder":170},true,[172],{"type":46,"value":173},"\n",{"type":41,"tag":90,"props":175,"children":176},{"class":92,"line":111},[177],{"type":41,"tag":90,"props":178,"children":179},{},[180],{"type":46,"value":181},"async with agent.run(model, messages) as stream:\n",{"type":41,"tag":90,"props":183,"children":185},{"class":92,"line":184},4,[186],{"type":41,"tag":90,"props":187,"children":188},{},[189],{"type":46,"value":190},"    async for event in stream:\n",{"type":41,"tag":90,"props":192,"children":194},{"class":92,"line":193},5,[195],{"type":41,"tag":90,"props":196,"children":197},{},[198],{"type":46,"value":199},"        if (\n",{"type":41,"tag":90,"props":201,"children":203},{"class":92,"line":202},6,[204],{"type":41,"tag":90,"props":205,"children":206},{},[207],{"type":46,"value":208},"            isinstance(event, ai.events.HookEvent)\n",{"type":41,"tag":90,"props":210,"children":212},{"class":92,"line":211},7,[213],{"type":41,"tag":90,"props":214,"children":215},{},[216],{"type":46,"value":217},"            and event.hook.status == \"pending\"\n",{"type":41,"tag":90,"props":219,"children":221},{"class":92,"line":220},8,[222],{"type":41,"tag":90,"props":223,"children":224},{},[225],{"type":46,"value":226},"        ):\n",{"type":41,"tag":90,"props":228,"children":230},{"class":92,"line":229},9,[231],{"type":41,"tag":90,"props":232,"children":233},{},[234],{"type":46,"value":235},"            deferred_hooks.append(event.hook)\n",{"type":41,"tag":90,"props":237,"children":239},{"class":92,"line":238},10,[240],{"type":41,"tag":90,"props":241,"children":242},{},[243],{"type":46,"value":244},"            ai.defer_hook(event.hook)\n",{"type":41,"tag":90,"props":246,"children":247},{"class":92,"line":26},[248],{"type":41,"tag":90,"props":249,"children":250},{"emptyLinePlaceholder":170},[251],{"type":46,"value":173},{"type":41,"tag":90,"props":253,"children":255},{"class":92,"line":254},12,[256],{"type":41,"tag":90,"props":257,"children":258},{},[259],{"type":46,"value":260},"        yield event\n",{"type":41,"tag":90,"props":262,"children":264},{"class":92,"line":263},13,[265],{"type":41,"tag":90,"props":266,"children":267},{"emptyLinePlaceholder":170},[268],{"type":46,"value":173},{"type":41,"tag":90,"props":270,"children":272},{"class":92,"line":271},14,[273],{"type":41,"tag":90,"props":274,"children":275},{},[276],{"type":46,"value":277},"saved_messages = [\n",{"type":41,"tag":90,"props":279,"children":281},{"class":92,"line":280},15,[282],{"type":41,"tag":90,"props":283,"children":284},{},[285],{"type":46,"value":286},"    message.model_dump(mode=\"json\")\n",{"type":41,"tag":90,"props":288,"children":290},{"class":92,"line":289},16,[291],{"type":41,"tag":90,"props":292,"children":293},{},[294],{"type":46,"value":295},"    for message in stream.messages\n",{"type":41,"tag":90,"props":297,"children":299},{"class":92,"line":298},17,[300],{"type":41,"tag":90,"props":301,"children":302},{},[303],{"type":46,"value":304},"]\n",{"type":41,"tag":90,"props":306,"children":308},{"class":92,"line":307},18,[309],{"type":41,"tag":90,"props":310,"children":311},{},[312],{"type":46,"value":313},"save_messages(saved_messages)\n",{"type":41,"tag":90,"props":315,"children":317},{"class":92,"line":316},19,[318],{"type":41,"tag":90,"props":319,"children":320},{},[321],{"type":46,"value":322},"save_deferred_hook_ids([hook.hook_id for hook in deferred_hooks])\n",{"type":41,"tag":59,"props":324,"children":326},{"id":325},"resume-request",[327],{"type":46,"value":328},"Resume Request",{"type":41,"tag":48,"props":330,"children":331},{},[332,334,340],{"type":46,"value":333},"Load the saved messages, pre-register hook resolutions, then call ",{"type":41,"tag":71,"props":335,"children":337},{"className":336},[],[338],{"type":46,"value":339},"agent.run",{"type":46,"value":136},{"type":41,"tag":80,"props":342,"children":344},{"className":82,"code":343,"language":14,"meta":84,"style":84},"messages = [\n    ai.messages.Message.model_validate(message)\n    for message in load_messages()\n]\n\nfor approval in approvals:\n    ai.resolve_hook(\n        approval.hook_id,\n        ai.tools.ToolApproval(\n            granted=approval.granted,\n            reason=approval.reason,\n        ),\n    )\n\nasync with agent.run(model, messages) as stream:\n    async for event in stream:\n        yield event\n\nsave_messages([\n    message.model_dump(mode=\"json\")\n    for message in stream.messages\n])\n",[345],{"type":41,"tag":71,"props":346,"children":347},{"__ignoreMap":84},[348,356,364,372,379,386,394,402,410,418,426,434,442,450,457,464,471,478,485,493,501,509],{"type":41,"tag":90,"props":349,"children":350},{"class":92,"line":93},[351],{"type":41,"tag":90,"props":352,"children":353},{},[354],{"type":46,"value":355},"messages = [\n",{"type":41,"tag":90,"props":357,"children":358},{"class":92,"line":102},[359],{"type":41,"tag":90,"props":360,"children":361},{},[362],{"type":46,"value":363},"    ai.messages.Message.model_validate(message)\n",{"type":41,"tag":90,"props":365,"children":366},{"class":92,"line":111},[367],{"type":41,"tag":90,"props":368,"children":369},{},[370],{"type":46,"value":371},"    for message in load_messages()\n",{"type":41,"tag":90,"props":373,"children":374},{"class":92,"line":184},[375],{"type":41,"tag":90,"props":376,"children":377},{},[378],{"type":46,"value":304},{"type":41,"tag":90,"props":380,"children":381},{"class":92,"line":193},[382],{"type":41,"tag":90,"props":383,"children":384},{"emptyLinePlaceholder":170},[385],{"type":46,"value":173},{"type":41,"tag":90,"props":387,"children":388},{"class":92,"line":202},[389],{"type":41,"tag":90,"props":390,"children":391},{},[392],{"type":46,"value":393},"for approval in approvals:\n",{"type":41,"tag":90,"props":395,"children":396},{"class":92,"line":211},[397],{"type":41,"tag":90,"props":398,"children":399},{},[400],{"type":46,"value":401},"    ai.resolve_hook(\n",{"type":41,"tag":90,"props":403,"children":404},{"class":92,"line":220},[405],{"type":41,"tag":90,"props":406,"children":407},{},[408],{"type":46,"value":409},"        approval.hook_id,\n",{"type":41,"tag":90,"props":411,"children":412},{"class":92,"line":229},[413],{"type":41,"tag":90,"props":414,"children":415},{},[416],{"type":46,"value":417},"        ai.tools.ToolApproval(\n",{"type":41,"tag":90,"props":419,"children":420},{"class":92,"line":238},[421],{"type":41,"tag":90,"props":422,"children":423},{},[424],{"type":46,"value":425},"            granted=approval.granted,\n",{"type":41,"tag":90,"props":427,"children":428},{"class":92,"line":26},[429],{"type":41,"tag":90,"props":430,"children":431},{},[432],{"type":46,"value":433},"            reason=approval.reason,\n",{"type":41,"tag":90,"props":435,"children":436},{"class":92,"line":254},[437],{"type":41,"tag":90,"props":438,"children":439},{},[440],{"type":46,"value":441},"        ),\n",{"type":41,"tag":90,"props":443,"children":444},{"class":92,"line":263},[445],{"type":41,"tag":90,"props":446,"children":447},{},[448],{"type":46,"value":449},"    )\n",{"type":41,"tag":90,"props":451,"children":452},{"class":92,"line":271},[453],{"type":41,"tag":90,"props":454,"children":455},{"emptyLinePlaceholder":170},[456],{"type":46,"value":173},{"type":41,"tag":90,"props":458,"children":459},{"class":92,"line":280},[460],{"type":41,"tag":90,"props":461,"children":462},{},[463],{"type":46,"value":181},{"type":41,"tag":90,"props":465,"children":466},{"class":92,"line":289},[467],{"type":41,"tag":90,"props":468,"children":469},{},[470],{"type":46,"value":190},{"type":41,"tag":90,"props":472,"children":473},{"class":92,"line":298},[474],{"type":41,"tag":90,"props":475,"children":476},{},[477],{"type":46,"value":260},{"type":41,"tag":90,"props":479,"children":480},{"class":92,"line":307},[481],{"type":41,"tag":90,"props":482,"children":483},{"emptyLinePlaceholder":170},[484],{"type":46,"value":173},{"type":41,"tag":90,"props":486,"children":487},{"class":92,"line":316},[488],{"type":41,"tag":90,"props":489,"children":490},{},[491],{"type":46,"value":492},"save_messages([\n",{"type":41,"tag":90,"props":494,"children":496},{"class":92,"line":495},20,[497],{"type":41,"tag":90,"props":498,"children":499},{},[500],{"type":46,"value":286},{"type":41,"tag":90,"props":502,"children":504},{"class":92,"line":503},21,[505],{"type":41,"tag":90,"props":506,"children":507},{},[508],{"type":46,"value":295},{"type":41,"tag":90,"props":510,"children":512},{"class":92,"line":511},22,[513],{"type":41,"tag":90,"props":514,"children":515},{},[516],{"type":46,"value":517},"])\n",{"type":41,"tag":48,"props":519,"children":520},{},[521,523,529,531,537],{"type":46,"value":522},"Call ",{"type":41,"tag":71,"props":524,"children":526},{"className":525},[],[527],{"type":46,"value":528},"ai.resolve_hook(...)",{"type":46,"value":530}," before ",{"type":41,"tag":71,"props":532,"children":534},{"className":533},[],[535],{"type":46,"value":536},"agent.run(...)",{"type":46,"value":538},". Do not ask the model to\nmake the tool call again.",{"type":41,"tag":48,"props":540,"children":541},{},[542,548],{"type":41,"tag":71,"props":543,"children":545},{"className":544},[],[546],{"type":46,"value":547},"Agent.run",{"type":46,"value":549}," prepares saved interrupted messages for replay. Completed sibling\ntool results are reused, deferred hooks receive the pre-registered resolution,\nand replay-only events are hidden from the caller.",{"type":41,"tag":59,"props":551,"children":553},{"id":552},"rules",[554],{"type":46,"value":555},"Rules",{"type":41,"tag":557,"props":558,"children":559},"ul",{},[560,573,602,614],{"type":41,"tag":561,"props":562,"children":563},"li",{},[564,566,571],{"type":46,"value":565},"Use normal ",{"type":41,"tag":71,"props":567,"children":569},{"className":568},[],[570],{"type":46,"value":536},{"type":46,"value":572},"; serverless resume usually does not need a custom loop.",{"type":41,"tag":561,"props":574,"children":575},{},[576,578,584,586,592,594,600],{"type":46,"value":577},"If you do write a custom loop, use ",{"type":41,"tag":71,"props":579,"children":581},{"className":580},[],[582],{"type":46,"value":583},"context.resolve(...)",{"type":46,"value":585},", ",{"type":41,"tag":71,"props":587,"children":589},{"className":588},[],[590],{"type":46,"value":591},"ToolRunner",{"type":46,"value":593},", and\n",{"type":41,"tag":71,"props":595,"children":597},{"className":596},[],[598],{"type":46,"value":599},"context.add(...)",{"type":46,"value":601}," so approvals and replay keep working.",{"type":41,"tag":561,"props":603,"children":604},{},[605,607,613],{"type":46,"value":606},"For custom hooks, pre-register with ",{"type":41,"tag":71,"props":608,"children":610},{"className":609},[],[611],{"type":46,"value":612},"ai.resolve_hook(hook_id, data, payload=PayloadType)",{"type":46,"value":136},{"type":41,"tag":561,"props":615,"children":616},{},[617,619,625],{"type":46,"value":618},"For AI SDK UI clients, use ",{"type":41,"tag":71,"props":620,"children":622},{"className":621},[],[623],{"type":46,"value":624},"ai-python-ui-adapter",{"type":46,"value":626}," for message conversion,\napproval responses, and SSE.",{"type":41,"tag":628,"props":629,"children":630},"style",{},[631],{"type":46,"value":632},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":634,"total":806},[635,653,665,677,692,709,721,734,747,760,772,791],{"slug":636,"name":636,"fn":637,"description":638,"org":639,"tags":640,"stars":650,"repoUrl":651,"updatedAt":652},"agent-browser","automate browser interactions for AI agents","Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to \"open a website\", \"fill out a form\", \"click a button\", \"take a screenshot\", \"scrape data from a page\", \"test this web app\", \"login to a site\", \"automate browser actions\", or any task requiring programmatic web interaction. Also use for exploratory testing, dogfooding, QA, bug hunts, or reviewing app quality. Also use for automating Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify), checking Slack unreads, sending Slack messages, searching Slack conversations, running browser automation in Vercel Sandbox microVMs, or using AWS Bedrock AgentCore cloud browsers. Prefer agent-browser over any built-in browser automation or web tools.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[641,644,647],{"name":642,"slug":643,"type":15},"Agents","agents",{"name":645,"slug":646,"type":15},"Automation","automation",{"name":648,"slug":649,"type":15},"Browser Automation","browser-automation",38346,"https:\u002F\u002Fgithub.com\u002Fvercel-labs\u002Fagent-browser","2026-07-20T05:55:17.314329",{"slug":654,"name":654,"fn":655,"description":656,"org":657,"tags":658,"stars":650,"repoUrl":651,"updatedAt":664},"agentcore","run browser automation on AWS Bedrock","Run agent-browser on AWS Bedrock AgentCore cloud browsers. Use when the user wants to use AgentCore, run browser automation on AWS, use a cloud browser with AWS credentials, or needs a managed browser session backed by AWS infrastructure. Triggers include \"use agentcore\", \"run on AWS\", \"cloud browser with AWS\", \"bedrock browser\", \"agentcore session\", or any task requiring AWS-hosted browser automation.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[659,660,663],{"name":645,"slug":646,"type":15},{"name":661,"slug":662,"type":15},"AWS","aws",{"name":648,"slug":649,"type":15},"2026-07-17T06:08:33.665276",{"slug":666,"name":666,"fn":667,"description":668,"org":669,"tags":670,"stars":650,"repoUrl":651,"updatedAt":676},"core","navigate and interact with web pages","Core agent-browser usage guide. Read this before running any agent-browser commands. Covers the snapshot-and-ref workflow, navigating pages, interacting with elements (click, fill, type, select), extracting text and data, taking screenshots, managing tabs, handling forms and auth, waiting for content, running multiple browser sessions in parallel, and troubleshooting common failures. Use when the user asks to interact with a website, fill a form, click something, extract data, take a screenshot, log into a site, test a web app, or automate any browser task.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[671,672,673],{"name":642,"slug":643,"type":15},{"name":648,"slug":649,"type":15},{"name":674,"slug":675,"type":15},"Navigation","navigation","2026-07-26T05:47:42.378419",{"slug":678,"name":678,"fn":679,"description":680,"org":681,"tags":682,"stars":650,"repoUrl":651,"updatedAt":691},"derive-client","reverse engineer internal APIs from browser traffic","Reverse-engineer a website's internal API by recording browser traffic into a HAR file, then generate a standalone client or CLI that calls the endpoints directly, with no browser needed after the first recording. Use when asked to \"derive a client\", \"build a CLI for \u003Csite>\", \"reverse engineer this site's API\", \"record network requests\", \"turn this site into an API\", or when the same site will be automated repeatedly and direct HTTP calls would beat driving the browser every time.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[683,686,687,688],{"name":684,"slug":685,"type":15},"API Development","api-development",{"name":645,"slug":646,"type":15},{"name":648,"slug":649,"type":15},{"name":689,"slug":690,"type":15},"Web Scraping","web-scraping","2026-07-20T06:24:11.928835",{"slug":693,"name":693,"fn":694,"description":695,"org":696,"tags":697,"stars":650,"repoUrl":651,"updatedAt":708},"dogfood","perform exploratory testing on web applications","Systematically explore and test a web application to find bugs, UX issues, and other problems. Use when asked to \"dogfood\", \"QA\", \"exploratory test\", \"find issues\", \"bug hunt\", \"test this app\u002Fsite\u002Fplatform\", or review the quality of a web application. Produces a structured report with full reproduction evidence -- step-by-step screenshots, repro videos, and detailed repro steps for every issue -- so findings can be handed directly to the responsible teams.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[698,699,702,705],{"name":648,"slug":649,"type":15},{"name":700,"slug":701,"type":15},"Debugging","debugging",{"name":703,"slug":704,"type":15},"QA","qa",{"name":706,"slug":707,"type":15},"Testing","testing","2026-07-17T06:07:41.421482",{"slug":710,"name":710,"fn":711,"description":712,"org":713,"tags":714,"stars":650,"repoUrl":651,"updatedAt":720},"electron","automate Electron desktop applications","Automate Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify, etc.) using agent-browser via Chrome DevTools Protocol. Use when the user needs to interact with an Electron app, automate a desktop app, connect to a running app, control a native app, or test an Electron application. Triggers include \"automate Slack app\", \"control VS Code\", \"interact with Discord app\", \"test this Electron app\", \"connect to desktop app\", or any task requiring automation of a native Electron application.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[715,716,717],{"name":642,"slug":643,"type":15},{"name":648,"slug":649,"type":15},{"name":718,"slug":719,"type":15},"Desktop","desktop","2026-07-17T06:08:28.007783",{"slug":722,"name":722,"fn":723,"description":724,"org":725,"tags":726,"stars":650,"repoUrl":651,"updatedAt":733},"slack","interact with Slack workspaces","Interact with Slack workspaces using browser automation. Use when the user needs to check unread channels, navigate Slack, send messages, extract data, find information, search conversations, or automate any Slack task. Triggers include \"check my Slack\", \"what channels have unreads\", \"send a message to\", \"search Slack for\", \"extract from Slack\", \"find who said\", or any task requiring programmatic Slack interaction.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[727,728,731],{"name":648,"slug":649,"type":15},{"name":729,"slug":730,"type":15},"Messaging","messaging",{"name":732,"slug":722,"type":15},"Slack","2026-07-17T06:08:27.679015",{"slug":735,"name":735,"fn":736,"description":737,"org":738,"tags":739,"stars":650,"repoUrl":651,"updatedAt":746},"vercel-sandbox","run browser automation in Vercel Sandbox","Run agent-browser + Chrome inside Vercel Sandbox microVMs for browser automation from any Vercel-deployed app. Use when the user needs browser automation in a Vercel app (Next.js, SvelteKit, Nuxt, Remix, Astro, etc.), wants to run headless Chrome without binary size limits, needs persistent browser sessions across commands, or wants ephemeral isolated browser environments. Triggers include \"Vercel Sandbox browser\", \"microVM Chrome\", \"agent-browser in sandbox\", \"browser automation on Vercel\", or any task requiring Chrome in a Vercel Sandbox.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[740,741,742,743],{"name":645,"slug":646,"type":15},{"name":648,"slug":649,"type":15},{"name":706,"slug":707,"type":15},{"name":744,"slug":745,"type":15},"Vercel","vercel","2026-07-17T06:08:28.349899",{"slug":748,"name":748,"fn":749,"description":750,"org":751,"tags":752,"stars":757,"repoUrl":758,"updatedAt":759},"deploy-to-vercel","deploy applications to Vercel","Deploy applications and websites to Vercel. Use when the user requests deployment actions like \"deploy my app\", \"deploy and give me the link\", \"push this live\", or \"create a preview deployment\".",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[753,756],{"name":754,"slug":755,"type":15},"Deployment","deployment",{"name":744,"slug":745,"type":15},28993,"https:\u002F\u002Fgithub.com\u002Fvercel-labs\u002Fagent-skills","2026-07-17T06:08:41.18374",{"slug":761,"name":761,"fn":762,"description":763,"org":764,"tags":765,"stars":757,"repoUrl":758,"updatedAt":771},"vercel-cli-with-tokens","manage Vercel projects via CLI","Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g. \"deploy to vercel\", \"set up vercel\", \"add environment variables to vercel\".",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[766,769,770],{"name":767,"slug":768,"type":15},"CLI","cli",{"name":754,"slug":755,"type":15},{"name":744,"slug":745,"type":15},"2026-07-17T06:08:41.84179",{"slug":773,"name":773,"fn":774,"description":775,"org":776,"tags":777,"stars":757,"repoUrl":758,"updatedAt":790},"vercel-composition-patterns","implement scalable React composition patterns","React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[778,781,784,787],{"name":779,"slug":780,"type":15},"Best Practices","best-practices",{"name":782,"slug":783,"type":15},"Frontend","frontend",{"name":785,"slug":786,"type":15},"React","react",{"name":788,"slug":789,"type":15},"UI Components","ui-components","2026-07-17T06:05:40.576913",{"slug":792,"name":792,"fn":793,"description":794,"org":795,"tags":796,"stars":757,"repoUrl":758,"updatedAt":805},"vercel-optimize","optimize Vercel project performance and costs","Use for Vercel cost and performance optimization on deployed projects, especially Next.js, SvelteKit, Nuxt, and limited Astro apps. Collect Vercel metrics, usage, project config, and code scan results first; investigate only metric-backed candidates; produce ranked recommendations grounded in verified files and version-aware Vercel\u002Fframework docs. Trigger for Vercel bill reduction, slow or expensive routes, caching opportunities, Function Invocations, Build Minutes, Fast Data Transfer, Core Web Vitals, Bot Management, Fluid compute, or cost breakdown requests.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[797,800,801,804],{"name":798,"slug":799,"type":15},"Cost Optimization","cost-optimization",{"name":754,"slug":755,"type":15},{"name":802,"slug":803,"type":15},"Performance","performance",{"name":744,"slug":745,"type":15},"2026-07-17T06:04:08.327515",100,{"items":808,"total":229},[809,822,832,841,851,857,867],{"slug":810,"name":810,"fn":811,"description":812,"org":813,"tags":814,"stars":22,"repoUrl":23,"updatedAt":821},"ai-python-basics","build AI agents with Python SDK","Use for AI SDK for Python basics. Configure a model, make messages, stream, declare tools, build a basic agent.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[815,816,817,820],{"name":642,"slug":643,"type":15},{"name":17,"slug":18,"type":15},{"name":818,"slug":819,"type":15},"LLM","llm",{"name":13,"slug":14,"type":15},"2026-07-29T05:40:38.753254",{"slug":823,"name":823,"fn":824,"description":825,"org":826,"tags":827,"stars":22,"repoUrl":23,"updatedAt":831},"ai-python-custom-loop","build custom agent loops in Python","Use when building custom agent loops. Modify tool dispatch, history management, hooks, control flow.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[828,829,830],{"name":642,"slug":643,"type":15},{"name":17,"slug":18,"type":15},{"name":13,"slug":14,"type":15},"2026-07-29T05:40:40.763184",{"slug":833,"name":833,"fn":834,"description":835,"org":836,"tags":837,"stars":22,"repoUrl":23,"updatedAt":840},"ai-python-custom-provider","implement custom AI SDK providers","Use for implementing custom providers in AI SDK for Python.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[838,839],{"name":17,"slug":18,"type":15},{"name":13,"slug":14,"type":15},"2026-07-29T05:40:39.785476",{"slug":842,"name":842,"fn":843,"description":844,"org":845,"tags":846,"stars":22,"repoUrl":23,"updatedAt":850},"ai-python-durable-execution","add durable execution to AI agents","Use when adding durable execution to AI SDK for Python, building durable agent loops, or serializing messages across workflow steps.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[847,848,849],{"name":642,"slug":643,"type":15},{"name":17,"slug":18,"type":15},{"name":13,"slug":14,"type":15},"2026-07-29T05:40:42.780847",{"slug":4,"name":4,"fn":5,"description":6,"org":852,"tags":853,"stars":22,"repoUrl":23,"updatedAt":24},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[854,855,856],{"name":17,"slug":18,"type":15},{"name":13,"slug":14,"type":15},{"name":20,"slug":21,"type":15},{"slug":858,"name":858,"fn":859,"description":860,"org":861,"tags":862,"stars":22,"repoUrl":23,"updatedAt":866},"ai-python-streaming-tools","stream AI SDK Python tool outputs","Use for AI SDK for Python async-generator tools, streaming tool output, subagent tools, PartialToolCallResult events, and custom tool aggregation.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[863,864,865],{"name":642,"slug":643,"type":15},{"name":17,"slug":18,"type":15},{"name":13,"slug":14,"type":15},"2026-07-29T05:40:36.755057",{"slug":868,"name":868,"fn":869,"description":870,"org":871,"tags":872,"stars":22,"repoUrl":23,"updatedAt":878},"ai-python-subagents","implement subagent patterns in Python","Use for the subagent-as-a-tool pattern.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[873,874,877],{"name":642,"slug":643,"type":15},{"name":875,"slug":876,"type":15},"Multi-Agent","multi-agent",{"name":13,"slug":14,"type":15},"2026-07-29T05:40:35.804764"]