Tabularium

v0.5.5
io.github.SQLazy/tabularium Checked 22 hours ago Published 29 days ago

Agent memory and a signed spending ledger: pay any x402 API, keep a provable receipt.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

tabularium_menu Tabularium menu

Free. Use to check what Tabularium costs and how it works before the first paid call, or to show someone the prices. Returns the paid calls and their USDC prices, retention policy, network, the public signing key, and this session's spend so far.

tabularium_write Write a value

Paid (price: see tabularium_menu). Use to remember something beyond this session: decisions, state, results, notes, or a hand-off for another agent paying from the same wallet. Stores a UTF-8 value (up to 64KB; JSON as a string) under a key in the wallet's workspace. Every write is hash-chained and the head is signed, so what was stored, and when, can be proven later. The first write opens a 30-day workspace. Retries never write twice. Not for secrets unless encrypted first: the operator can read stored values.

ParameterTypeDescription
key *string1-128 chars of A-Z a-z 0-9 . _ : / -
value *stringThe value to store (UTF-8, max 64KB)
idempotency_keystringOptional. Reuse the same id when retrying the same write yourself; one is generated if omitted

tabularium_read Read a value

Paid (price: see tabularium_menu). Use to recall what was stored earlier, by this session, a previous one, or another agent paying from the same wallet. Returns the latest value for a key with its chain entry. A key that was never written gives 404 and is not charged.

ParameterTypeDescription
key *string

tabularium_renew Renew the workspace

Paid (price: see tabularium_menu). Use when the memory should outlast its term: adds 30 days from the later of now or the current expiry, so renewing early wastes nothing (tabularium_head shows the expiry for free). After expiry there is a 90-day grace period (read, export and renew work, writes do not), then the data is deleted. Charged before it runs; a missing workspace is refused free.

tabularium_export Export and verify history

Paid (price: see tabularium_menu). Use to back up the memory, take it elsewhere, or hand proof to someone (a principal, an auditor, another agent). Downloads the full history (or entries after `since`) with current values and a signed head, then verifies it offline: hash chain, values against their hashes, and the server's Ed25519 signature. Pass save_to to write the file and get a summary back.

ParameterTypeDescription
save_tostringOptional local file path to save the export JSON to
sinceintegerOnly entries with seq > since (incremental export)

tabularium_head Public signed head

Free. Use to check whether a workspace exists and when it expires, or to give someone a signed fingerprint of the history (seq + hash, no values) that a later export must match. Defaults to your own wallet.

ParameterTypeDescription
walletstring

tabularium_verify Verify a saved export

Free and local. Use to check an export file, yours or one someone handed you, without trusting the server: chain, values and signature. Uses the pinned or published signing key unless one is given.

ParameterTypeDescription
path *stringPath to an export JSON file
public_key_hexstring

tabularium_pay Pay an x402 service and keep a signed receipt

Use instead of a plain request when buying from an x402 service and the purchase should be accountable later. Pays the x402 v2 endpoint in USDC from your wallet, then writes a receipt into your Tabularium ledger, where it is hash-chained and signed by the server. Before paying, your wallet signs an intent (the reason, the exact terms accepted, and the payment's nonce), so the reason is a commitment made before the money moved, not a note written after; it is still a claim, and the receipt says so. The receipt also holds the full accepted terms, the transaction hash and a hash of the response.…

ParameterTypeDescription
reason *stringWhy you are buying this. Signed by your wallet before paying, and stored in the receipt.
url *stringThe x402 endpoint (https)
bodystringRequest body, e.g. a JSON string
content_typestringContent-Type of body; default application/json when body is given
max_usdnumberMost this purchase may cost; capped at $0.1
methodstringDefault GET
purchase_idstringOptional id for this purchase (e.g. task-42-report). Calling again with the same id never pays twice: a settled purchase is returned as it was, an unconfirmed one is retried with the same signed autho…
save_tostringOptional local path to save the full response body

tabularium_ledger What have I spent?

Paid (price: see tabularium_menu). Use to answer what was spent, on what, and why. Exports and verifies the workspace, then totals the receipts tabularium_pay wrote: spend overall, by service and by day, with the latest receipts, and checks each receipt's payer-signed intent against the receipt. Optional day_prefix narrows it (e.g. 2026-10 or 2026-10-26).

ParameterTypeDescription
day_prefixstring

tabularium_reconcile Check receipts against the chain

Paid (price: see tabularium_menu). Use to check that the ledger is complete and honest: compares the receipts tabularium_pay wrote with the USDC payments your wallet actually settled on-chain over the last `days` (default 3, at most 30). Reports purchases with no receipt, receipts with no matching settlement, and receipts whose amount, payee or transaction differ from the chain. Payments to Tabularium itself (writes, reads, exports) are counted separately, since they carry no receipt by design. Reads the chain through a public Base node (TABULARIUM_RPC_URL to use your own); a 30-day check can…

ParameterTypeDescription
daysinteger