# haydenbleasel/files-sdk

A unified storage SDK for object and blob backends. One small, honest API. Web-standards I/O.

Repository: https://github.com/haydenbleasel/files-sdk
Canonical: https://ross.abutalabs.com/products/files-sdk
Homepage: https://files-sdk.dev/
Language: TypeScript
License: MIT
License Family: permissive
Topics: blob, cloudflare, files, minio, r2, s3, storage, vercel, agents, google
Last push: 2026-08-14T02:53:25+00:00

## Health v2 (maintenance only)
Score: 80/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 97, release rhythm 98, longevity 8
- inputs: {"age_days": 117, "days_push": 19, "days_rel": 19, "gap_med": 4, "n_releases_24m": 20}
- flags: young
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1515, forks 46 (observed 2026-08-28T04:04:56.474407+00:00)

## What it is
Files SDK is a unified TypeScript storage SDK that provides one small API (ten methods) across 40+ object and blob storage providers including S3, R2, GCS, Azure, Vercel Blob, and Supabase. It ships with an agent-friendly CLI, a built-in MCP server, and Vercel AI SDK tools for letting AI agents browse and mutate buckets.

## Use cases
- upload files to s3 without learning the aws sdk
- switch storage providers without rewriting call sites
- support multiple blob storage backends with one api
- generate presigned upload urls for direct browser uploads
- let an ai agent list and manage files in a bucket
- mirror or sync objects between two storage backends
- search large buckets with glob patterns
- script storage operations from the command line with  output

## When to choose
- you want provider-agnostic object storage code that works across S3, R2, GCS, Azure, Vercel Blob, and S3-compatible services
- you need normalized errors and one call shape instead of per-provider SDK quirks
- you are building AI agents that need file storage tools with approval gating
- you want a CLI or MCP server for storage operations

## When to avoid
- you need deep provider-specific features like S3 versioning, lifecycle rules, or multipart as first-class API (only available via the raw escape hatch)
- you only ever target a single provider and prefer its official SDK
- you need block or file-system storage rather than object/blob storage

## Facets
- artifact type: library
- maturity: active
- function: sdk, file-system, object-storage, cli, mcp, http-client
- domain: developer-tools, files, cloud-computing, backend, apis
- platform: bun, cross-platform, cli
- tags: object-storage, blob-storage, s3, cloudflare-r2, vercel-blob, storage-abstraction, multi-provider, presigned-urls, agent-tools, ai-agents, nodejs, deno, typescript

## Member repositories
- haydenbleasel/files-sdk (main) score 80

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:56.474407+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:32:09.341044+00:00, confidence not recorded.
  - readme: https://github.com/haydenbleasel/files-sdk (fetched 2026-08-28T04:04:56.474407+00:00, sha 9a3e476f4d90)
  - homepage: https://files-sdk.dev/ (fetched 2026-08-29T11:36:06.031543+00:00, sha 0a2f5e295826)
  - site_page: https://files-sdk.dev/docs (fetched 2026-08-29T11:36:06.041324+00:00, sha 83719abaf252)
  - site_page: https://files-sdk.dev/docs/adapters (fetched 2026-08-29T11:36:06.053771+00:00, sha 8a0a9643b15b)
  - site_page: https://files-sdk.dev/docs/api (fetched 2026-08-29T11:36:06.055654+00:00, sha cdf51317ac11)
  - site_page: https://files-sdk.dev/docs/api/search (fetched 2026-08-29T11:36:06.057371+00:00, sha 092aead028cc)
  - site_page: https://files-sdk.dev/docs/ai/vercel (fetched 2026-08-29T11:36:06.059366+00:00, sha 4937c1babf57)
  - site_page: https://files-sdk.dev/docs/cli (fetched 2026-08-29T11:36:06.061380+00:00, sha 11b9807bbb7f)
  - registry_npm: https://registry.npmjs.org/files-sdk (fetched 2026-08-29T11:36:06.063261+00:00, sha f3758968d9e0)
  - site_page: https://files-sdk.dev/changelog/files-sdk-2-3-0 (fetched 2026-08-29T11:36:06.043613+00:00, sha c13edcb5ebc3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
