Private payment rails for autonomous agents.
Ohlarr drops into any HTTP API in 4 lines of code. Powered by x402 and MagicBlock Private Ephemeral Rollups (Intel TDX TEE) on Solana — amounts and intent stay encrypted, settlement stays verifiable.
import { ohlarrMiddleware } from '@ohlarr/sdk';
app.get('/api/premium',
ohlarrMiddleware({ programId, sellerPubkey, per, price: 1000n }),
(req, res) => res.json({ oracle: 'BTC/USD', price: 99421.18 }),
);Encrypted by default
State lives inside Intel TDX. Public observers see opaque commits — only Permission members read amounts.
One-RTT payments
Settle inside the Ephemeral Rollup at L1.5 latency. No waiting for finality on the base layer.
Agent-native
Standard HTTP 402. Drop a middleware on the seller, wrap fetch() on the buyer. No custom protocols.
Built on the right primitives.
Ohlarr uses MagicBlock's ER + PER + Permission Program in concert. The agent handshake follows Coinbase's x402 spec verbatim, so any LangChain / CrewAI / MCP agent works out of the box.
How it works
Three steps. No custom protocols. No key exchange ceremonies.
Seller adds middleware
One line of code wraps any Express/Next.js route with x402 payment requirements.
Buyer agent pays
The agent receives HTTP 402, signs a settlement TX inside the Private Ephemeral Rollup.
Encrypted settlement
Payment settles in the TEE. Public chain sees only opaque commits. Permission members see everything.
Ready to make agent payments private?
Explore the live dashboard, read the source, or deploy your own instance.