You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

vercel-blob-ai-sdk

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vercel-blob-ai-sdk

Vercel Blob storage tools for the AI SDK

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

Vercel Blob - AI SDK Tools

Flash Brew Digital OSS MIT License Vercel AI SDK

A collection of AI SDK tools that give your AI agents the ability to store and manage files using Vercel Blob.

Installation

npm install vercel-blob-ai-sdk

Setup

Set the BLOB_READ_WRITE_TOKEN environment variable with your Vercel Blob token.

Usage

import { generateText, stepCountIs } from "ai";
import { uploadAsset, listAssets, downloadAsset } from "vercel-blob-ai-sdk";

const { text } = await generateText({
  model: 'openai/gpt-5.2',
  tools: { uploadAsset, listAssets, downloadAsset },
  prompt: "Save a file called hello.txt with the content 'Hello, world!'",
  stopWhen: stepCountIs(3),
});

Available Tools

ToolDescription
uploadAssetUpload files, images, or text content to cloud storage
listAssetsList stored assets with optional filtering by prefix
getAssetInfoGet metadata about an asset without downloading
downloadAssetDownload and retrieve the contents of an asset
copyAssetCopy an asset to a new location
deleteAssetDelete a single asset (requires approval)
deleteAssetsDelete multiple assets at once (requires approval)

AI SDK Library

Find other AI SDK agents and tools in the AI SDK Library.

Resources

Contributing

Contributions are welcome! Please read our Contributing Guide for more information.

License

MIT License

Author

Ben Sabic at Flash Brew Digital

Keywords

ai

FAQs

Package last updated on 02 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts