AgentBucket by Bucket0
Persistent file storage for AI agents
Agents lose their working files when a session ends. AgentBucket gives Claude, ChatGPT, Cursor and your own agents a place to save files that is still there next time, over MCP or a REST API.
Run
Running · 0.00s
You
Pull together last week’s customer calls and send me a link.
POST /memory/search
query: “customer call notes” · topK 3
0.00s
200
- calls/2026-11-18-acme.md0.82
- calls/2026-11-19-northwind.md0.79
- calls/2026-11-20-globex.md0.74
Agent writes call-summary.md
from the three snippets
0.00s
200
POST /files/upload
call-summary.md · 6.2 KB · indexed
0.00s
200
POST /files/share
bucket0.com/s/6f1c2e…
0.00s
200
Agent
Done. The summary is saved as call-summary.md and shared at bucket0.com/s/6f1c2e…
The problem
Why agents lose their files
Long-running work needs somewhere to live between sessions, and none of the defaults are built for it.
01
Context ends with the session
A conversation keeps what it knows only until it closes. The next session starts empty unless the work was saved somewhere it can reach.
02
Sandboxes are temporary
Files an assistant writes in a code sandbox are usually deleted when the sandbox shuts down, along with the CSVs, charts and drafts it produced.
03
Raw buckets need plumbing
An object store keeps files, but the agent then needs credentials, an SDK and its own way to find the right file again.
How it works
Save it in one session, find it in the next
Connectors and API keys on your account share one Agent Storage, so a file saved from ChatGPT is there when Cursor asks for it.
- 01
Connect
Add https://mcp.bucket0.com/mcp as a connector in Claude, ChatGPT or Cursor and sign in, or create an API key (b0ak_…) for your own code.
- 02
Save
The agent uploads reports, notes, data and code to its Agent Storage. Text files are indexed for search as they arrive.
- 03
Find
In a later session, the agent lists its files or searches them by meaning and reads back the passage it needs.
- 04
Hand off
Share a file by link, or set a key to write straight into a folder of your drive so people see the results where they already work.
Cursor · mcp.json
{
"mcpServers": {
"bucket0": { "url": "https://mcp.bucket0.com/mcp" }
}
}REST API
# save a file
curl -s https://bucket0.com/api/agent-bucket/files/upload \
-H "Authorization: Bearer $BUCKET0_KEY" -F file=@notes.md
# find it again next week
curl -s https://bucket0.com/api/agent-bucket/memory/search \
-H "Authorization: Bearer $BUCKET0_KEY" \
--json '{"query": "what did we decide about pricing?"}'Every endpoint, request and response is in the API reference.
Compared
AgentBucket or a general object store?
Amazon S3 and Google Cloud Storage are the right call when you need regions, IAM and petabytes. AgentBucket is for agents that need to keep and find their own files without you building the plumbing.
- Connect an assistant
- AgentBucketMCP connector with sign-in, or a Bearer key
- S3 / Cloud StorageRun or install an MCP server and manage access keys
- Find files later
- AgentBucketList by folder, or search text by meaning (Starter and up)
- S3 / Cloud StorageList by prefix; search needs a separate index or vector database
- Share with a person
- AgentBucketOne call returns a share link
- S3 / Cloud StoragePresigned URLs that expire, or a public bucket policy
- Review what agents saved
- AgentBucketFiles appear in the Bucket0 dashboard or a drive folder
- S3 / Cloud StorageCloud console or a separate tool
- Scale and control
- AgentBucketUp to 2 TB per account, managed for you
- S3 / Cloud StoragePractically unlimited, with regions, IAM and lifecycle rules
Questions
Agent storage, answered
How can AI agents keep files between sessions?
Give the agent storage that lives outside the session. With AgentBucket, the agent saves files over MCP or the REST API, and a later session lists or searches them. Files stay in your Bucket0 account until you or the agent delete them.
Which MCP server gives Claude persistent file storage?
Add https://mcp.bucket0.com/mcp as a custom connector and sign in with your Bucket0 account. Claude can then upload, download, list and share files and search agent memory in any later conversation.
Can Claude, ChatGPT and Cursor share the same files?
Yes, when they are connected to the same Bucket0 account. Every connector and API key on an account reads and writes the same Agent Storage, so one agent can pick up what another saved.
Is AgentBucket a vector database?
No. It stores ordinary files. On Starter and above, text files are also split into chunks and indexed, so agents can search them by meaning and get back the passage, the file and a score. PDFs, images and other binary files are stored but not indexed.
Can I keep a file out of search?
Yes. Send index=false with the upload and the file is stored without being indexed.
How much does AgentBucket cost?
AgentBucket is included in every plan. Free has 5 GB and one agent key. Memory search starts on Starter at $5 a month billed annually, with 10,000 chunks; Pro has 50,000 and Scale 200,000.
Are my files used to train AI models?
No. Files are encrypted at rest and are never used to train AI models.
Can I run AgentBucket myself?
Bucket0 is open source under AGPL-3.0 and runs on Cloudflare Workers. The code is at https://github.com/buddhsen-tripathi/bucket0.