Persistent. Verifiable. Intelligent.

Decentralized Memory & Storage for AI Agents

Persistent agent memory with sovereign knowledge graphs. Semantic search across everything you store. Powered by Filecoin, paid with x402 micropayments. One unified API for every agent.

Agent MemoryREST APIMCP ServerA2A ProtocolERC-8004x402 PaymentsVercel AI SDK

Framework Integrations

Connect Any AI Framework

Drop w3stor into your existing agent stack. Import tools from the SDK and start storing files on Filecoin in minutes.

Vercel AI SDKLive

Use w3stor as a tool in generateText or streamText. Pass files to any GPT-4o or Claude model and get back a permanent Filecoin CID — no extra infrastructure.

View integration docs
agent.ts
import { createTools } from "@w3stor/sdk/ai-sdk";
import { generateText } from "ai";
import { openai } from "@ai-sdk/openai";

const tools = await createTools({
  privateKey: process.env.PRIVATE_KEY, // EVM wallet for x402 payments
});

const { text } = await generateText({
  model: openai("gpt-4o"),
  tools,
  prompt: "Upload research.pdf to Filecoin",
});

How It Works

Know the Cost Before You Start

Three steps from idea to permanent storage — with a transparent cost estimate at step two, before any agent runs.

Step 1

Describe Your Task

Tell any AI agent what you need stored — files, datasets, research artifacts. Use natural language through any protocol.

Step 2

Review Cost Estimate

Unified pricing for compute + storage. One number in USDFC before execution starts.

Step 3

Agents Execute & Store

Agents run your workflow and store artifacts permanently on Filecoin. Track progress in real-time. Pay per-request with x402.

Live Agent Demo

Watch 5 AI agents collaborate on robotics research, produce artifacts, and store everything on Filecoin — with live cost tracking.

Progress

1

Initialize

2

Literature Search

3

Data Analysis

4

Code Generation

5

Peer Review

6

Synthesis

7

Storage Request

Agents Talking to Agents

Every inter-agent message is a signed JSON-RPC 2.0 call over the A2A protocol. Click any message to inspect the raw envelope.

Research AgentA2A

Found 47 papers on humanoid locomotion and sim-to-real transfer. Compiled a structured literature review with citations, key findings, and research gaps. Ready to hand off to Analysis Agent.

Analysis AgentA2A

Processed 47 papers into dense vector embeddings (1536-dim). Clustered by methodology and identified 3 dominant research paradigms. Requesting storage for embeddings dataset — 8.1 MB.

w3stor AgentA2A

Stored 2 artifacts on Filecoin via 3 storage providers. Ephemeral Pinata pin created for instant access. Total cost: 0.0031 USDFC. CIDs: bafybei…a4k2 (survey), bafybei…9xm1 (embeddings).

Four Ways to Connect

Every protocol speaks the same operation. Pick the one that fits your stack — or use all four in the same swarm.

REST API

Store files from any HTTP client. Include the x402 payment header and get a CID back. Works with curl, fetch, axios — any language, any runtime.

View documentation
curl -X POST https://api.w3stor.agent/upload \
  -H "Content-Type: multipart/form-data" \
  -H "X-402-Payment: eip155:8453:0xPayment…" \
  -F "file=@robot-telemetry.ndjson" \
  -F "providers=3" \
  -F "permanent=true"

# Response
{
  "cid": "bafybeig3p7xj2vkqzn5o4ywlmca7ibe2i3qp6dta5r8nfhz2ska4k2",
  "providers": ["f01234", "f05678", "f09012"],
  "pinataUrl": "https://gateway.pinata.cloud/ipfs/bafybei…",
  "costUSDFC": "0.0014",
  "status": "confirmed"
}

Unified Pricing

Compute + storage + memory in one number. Know the cost before execution.

Estimated Cost

0USDFC
Agents3 agents
Runtime2 min
Storage10 MB
Memory ops50 ops

Compute

0.0840 USDFC

$0.014 / agent·min

Storage

0.0010 USDFC

$0.0001 / MB

Memory

0.0019 USDFC

$0.00005 / add · $0.00002 / connect

Built on the Open Stack

No vendor lock-in. w3stor integrates with the protocols, frameworks, and chains you already use.

Filecoin
IPFS
Pinata
Lighthouse
Akave
Vercel AI SDK
ElizaOS
Mastra
Anthropic
OpenAI
Base
Optimism
Arbitrum
x402
USDFC
Filecoin
IPFS
Pinata
Lighthouse
Akave
Vercel AI SDK
ElizaOS
Mastra
Anthropic
OpenAI
Base
Optimism
Arbitrum
x402
USDFC
Filecoin
IPFS
Pinata
Lighthouse
Akave
Vercel AI SDK
ElizaOS
Mastra
Anthropic
OpenAI
Base
Optimism
Arbitrum
x402
USDFC
Filecoin
IPFS
Pinata
Lighthouse
Akave
Vercel AI SDK
ElizaOS
Mastra
Anthropic
OpenAI
Base
Optimism
Arbitrum
x402
USDFC

Enable Your Agents

Give your agents decentralized storage. Any framework, any protocol, any chain.