sebbi.pro / receipts / AI SDK

sebbi for the Vercel AI SDK

Give your agent tools to seal a tamper-evident receipt for anything it does, check a receipt, and reverse an action, each with a public link anyone can verify. Or wrap your existing tools so every call is sealed automatically.

Install

npm install sebbi ai

Works with AI SDK 5, 6 and 7 (ai is a peer dependency). No API key needed to start: 1,000 receipts a day free. Set SEBBI_API_KEY from sebbi.pro/connect for up to 100,000 a day.

Tools your agent calls itself

import { generateText, isStepCount } from 'ai';
import { sebbiTools } from 'sebbi/ai-sdk';

const { text } = await generateText({
  model: 'anthropic/claude-sonnet-5.5',
  prompt: 'Refund order 7 for 42 GBP using the payments tool, then seal a receipt for it and give me the link.',
  tools: { ...paymentTools, ...sebbiTools() },
  stopWhen: isStepCount(5),
});
sealReceiptThe agent seals a receipt for an action it just took: action name, plus what it was based on and what it produced (only SHA-256 fingerprints leave your app). Returns receiptId and a public receiptUrl.
checkReceiptChecks any receipt: intact or not, when it was sealed, and whether the action was reversed.
reverseReceiptReverses an action this app sealed earlier, with a reason. The original stays on record, shown as REVERSED and linked to the new reversal receipt.

Seal every tool call automatically

import { wrapTools } from 'sebbi/ai-sdk';

const result = await generateText({
  model, prompt,
  tools: wrapTools({ getWeather, sendEmail }),   // every tool call sealed automatically
});

Each call's input and output are fingerprinted where your code runs. Only fingerprints, the tool name and a timestamp are sent. Sealing happens in the background in batches and never throws into your code.

What a receipt is

Each request becomes an RFC 6962 Merkle batch whose root is sealed as one block in the sebbi.pro chain. That chain is witnessed by independent chains, timestamped into Bitcoin and signed post-quantum. A receipt page at https://sebbi.pro/r/<id> re-runs every check for whoever opens it. As JSON: GET https://sebbi.pro/v1/receipts/<id>.

npm: sebbi All languages and frameworks

AI news
The VergeTrump’s latest land grab is an AI hub in the Philippines12mThe VergeWhat’s next for Nvidia? Whatever doesn’t rock the mind-bogglingly profitable boat23mThe DecoderGoogle Deepmind's Project Genie update brings Genie 4, chainable worlds, and a community gallery for remixing26mThe DecoderMicrosoft is replacing outside AI models in its own products with cheaper in-house alternatives1hThe VergeWhat is Nvidia without AI’s sugar daddy in charge?1hArs TechnicaWill Wright's next simulation will use AI to mine content from your memories1hTechCrunchGoogle’s AI feature in Search gets its own incognito mode1hThe DecoderOpenAI says its models delivered a year's worth of chip optimization on top of AMD's own engineering1hThe VergeDisney’s new Star Wars animatronics interact with guests using AI2hWiredInside Nvidia’s First Post-Jensen All-Hands: Pay Raises and More Equity2hTechCrunchMore banks say customers using AI agents are on their own — even if they get hacked2hThe GuardianUS senators urge White House AI chief to fix vulnerabilities after mass outages2hTechCrunchSam Altman warns against a future where AI, not humans, calls the shots2hWiredArtex Is Criminals’ New Favorite ‘Point-and-Shoot’ AI Hacking Tool3hTechCrunchOpenAI CEO Sam Altman says it’s ‘hard to imagine the AI industry without Jensen’3hThe DecoderPangram flags 99 percent of an award-winning Peruvian novel as AI-generated, but the publisher stands by its author3hThe DecoderAnthropic, OpenAI, and Google models readily marked medics, journalists, and surrendering soldiers as kamikaze drone targets4hThe VergeRemember the frontier AI pause? Chip companies don’t either4hWired‘Just Ridiculous’: A Famed Philosopher Takes on AI Consciousness4hMIT Technology ReviewThe AI Hype Index: AI is everywhere5hBBC NewsThe seven Anthropic founders who are about to become multi-billionaires5hBBC NewsHacks, AI or just overdue updates - why have there been so many outages?6hTechCrunchNvidia clarifies when it will — and won’t — keep financing neoclouds6hThe GuardianAria awards: how do Australian artists feel about their music being used to train AI? – video9hThe VergeTrump’s latest land grab is an AI hub in the Philippines12mThe VergeWhat’s next for Nvidia? Whatever doesn’t rock the mind-bogglingly profitable boat23mThe DecoderGoogle Deepmind's Project Genie update brings Genie 4, chainable worlds, and a community gallery for remixing26mThe DecoderMicrosoft is replacing outside AI models in its own products with cheaper in-house alternatives1hThe VergeWhat is Nvidia without AI’s sugar daddy in charge?1hArs TechnicaWill Wright's next simulation will use AI to mine content from your memories1hTechCrunchGoogle’s AI feature in Search gets its own incognito mode1hThe DecoderOpenAI says its models delivered a year's worth of chip optimization on top of AMD's own engineering1hThe VergeDisney’s new Star Wars animatronics interact with guests using AI2hWiredInside Nvidia’s First Post-Jensen All-Hands: Pay Raises and More Equity2hTechCrunchMore banks say customers using AI agents are on their own — even if they get hacked2hThe GuardianUS senators urge White House AI chief to fix vulnerabilities after mass outages2hTechCrunchSam Altman warns against a future where AI, not humans, calls the shots2hWiredArtex Is Criminals’ New Favorite ‘Point-and-Shoot’ AI Hacking Tool3hTechCrunchOpenAI CEO Sam Altman says it’s ‘hard to imagine the AI industry without Jensen’3hThe DecoderPangram flags 99 percent of an award-winning Peruvian novel as AI-generated, but the publisher stands by its author3hThe DecoderAnthropic, OpenAI, and Google models readily marked medics, journalists, and surrendering soldiers as kamikaze drone targets4hThe VergeRemember the frontier AI pause? Chip companies don’t either4hWired‘Just Ridiculous’: A Famed Philosopher Takes on AI Consciousness4hMIT Technology ReviewThe AI Hype Index: AI is everywhere5hBBC NewsThe seven Anthropic founders who are about to become multi-billionaires5hBBC NewsHacks, AI or just overdue updates - why have there been so many outages?6hTechCrunchNvidia clarifies when it will — and won’t — keep financing neoclouds6hThe GuardianAria awards: how do Australian artists feel about their music being used to train AI? – video9h