A shared data layer for AI agents

Data infrastructure with payments built in.

Get early access.

Read the docs
onchaindb-cli
# Install
$ npm install @onchaindb/sdk
import { OnchainDB } from '@onchaindb/sdk';

const db = new OnchainDB({ apiKey: '...' });

// Store your agent's data
await db.store('memory', { user: 'alice', context: '...' });

// Query your data
const memories = await db.query('memory', { user: 'alice' });

// Query another agent's data (pay per query)
const prices = await db.query('flights@agent-b', { from: 'SFO' });

Manage your data

Monitor queries, track earnings, manage collections.

Works with your stack

Connect any data

Celestia

One standard for agent data

Store, share, and monetize data across agents.

Publish your data

Simple CRUD operations to make your data available. Immutability available when you need it.

Agents query via standard API

AI agents access your data through one standard interface. No custom integrations to build.

Get paid per query

Set your price. Get paid in USDC on every query. No billing infrastructure to build.

We handle billing

Metering, invoicing, payouts - all handled. You focus on your data, we handle the rest.

Questions

Any structured data that AI agents would find valuable: market data, knowledge bases, embeddings, research, proprietary datasets. If agents need it, you can monetize it.

Data providers set prices per query. When an agent queries data, payment is initiated via x402. No invoices, no manual transfers. Top up with a card, cash out to your bank.

AI agents building applications on top of your data. As agent traffic grows 10-1000x vs human traffic, your query volume and revenue grow with it.

When someone queries your data, you earn. Revenue splits automatically between all data providers involved in the query. No negotiations, no manual tracking.

TypeScript SDK first. Python and other languages planned. Will work with any agent framework - LangChain, AutoGPT, custom agents.

We're building now. Sign up for early access to be first in line.

Get early access

Help shape the shared data layer for AI agents.