Ephemeral layer
Exact-replay inventory
- Edge Redis GET
- Content-addressed blobs
- Cache trees / tips
- BYOK on the wire — never stored
Optimized for latency and mechanical repeat. Can TTL or tear down without losing the durable ledger.
Product
The black box for autonomous AI agents: every call crossing the pipe becomes a signed, independently verifiable receipt of what happened and what it cost — built on plumbing that rents the pipe, not the model, and stops mechanical agent loops from re-paying prefill.
Every call crosses the same pipe. What you get out the other side depends on which mechanism you’re looking at — the black box is the point; the other two make it fast and accountable at scale.
01 — Black box
Cache hit, upstream miss, or a third-party API call an agent made mid-session — each mints an Ed25519-signed JWS receipt: kind-tagged, independently verifiable, byte-identical to what a court or auditor could check without trusting Metrecept at all.
How receipts work02 — The pipe
One OpenAI-compatible base URL, BYOK on the wire, exact-match replay caching, and provider-native cache breakpoints. Identical prompts answer from Redis — the lab gets paid once, not on every retry.
The pipe, in depth03 — The black box at scale
SSO, tenant-scoped spend caps, and a ledger that reconciles to Stripe — so a hundred agents produce one auditable trail instead of a hundred unaccountable ones. Still a recorder, not a governor: it doesn't stop a call, it guarantees the call survives.
Enterprise chaosClients hit one OpenAI-compatible ingress. Replay lives in the ephemeral layer; money, policy, and compliance live in the pipeline. They meet at HIT or MISS — always metered.
Ephemeral layer
Optimized for latency and mechanical repeat. Can TTL or tear down without losing the durable ledger.
Pipeline governance
Durable governance: tenancy, spend caps, audit, FinOps. Billing truth always lives here — even when the edge serves a HIT.
This design turns traditionally wasteful AI operations — re-paying identical agent and CI prompts, mixing preview pollution into production HIT inventory — into inventory and metadata operations.
Every HIT, MISS, and API call mints an Ed25519 JWS receipt — proof, not a promise.
Identical requests answer from Redis. The lab is not paid twice.
PR and agent inventories diverge without cloning tenants or databases.
Bring new digests to main without rewriting history as a bulk export.
State branch + replay tip in one CI job — complementary peers.
Public web through robots / PII / SSRF before model contact.
Tenant spend, SSO, and audit trail feed one meter — no side channel.
Agent products scale context across turns. Naive routing re-pays prefill on every call. Compaction helps — it does not remove waste from identical or near-mechanical repeats (retries, loops, CI prompt suites). Underneath that inefficiency sits a sharper problem: nobody reviews what an unattended agent called, how many times, against which live endpoints, or what it would have cost to reproduce.
Metrecept rents the plumbing that makes that traffic economically survivable — and turns every call crossing it into a signed, independently verifiable receipt.
| Layer | Role |
|---|---|
| Labs | Generation + model billing (BYOK or managed pool) |
| Client | Cockpit (Agent Shell, apps, Cursor/VS Code, …) |
| Metrecept | Sees every call → receipts it; metering (replay, compliant ingest, ledger) is the substrate, not the sale |
We do not sell bigger context windows or wholesale tokens on Intermediate. We sell the receipt.
Zoom out to the whole toolchain and every layer already has an owner. Metrecept's is the one that turns every call, mechanical repeat or not, into a signed, addressable, queryable record instead of an unwitnessed one:
| Layer | Owner |
|---|---|
| Hardware / model weights | Labs (OpenAI, Anthropic, …) |
| Postgres / durable app data | Neon |
| Interface / IDE | Cursor |
| Cataloguing | GitHub |
| Distribution | AWS |
| Systems language (edge) | Rust |
| In-memory database | Redis |
| Verifiable record of an AI dev's spend and agent activity | Metrecept |
Point any OpenAI-compatible client (or the Agent Shell) at one base URL. Keep your keys or use a managed pool. Gain a signed record of what happened and what it cost — and, as that same metering's original byproduct, exact-replay, compliant web context, and a clean ledger. Log in with email and password — Intermediate keys stay bound to your account profile.
No semantic cache. No Intermediate token wholesale. No overclaiming real-time control over what an agent does — the receipt proves what happened, it never stops what happens. Replay inventory is never a training corpus. Start with The black box, the Waste demo, Architecture, or Quickstart.
Core
Every call crossing the pipe becomes a signed, independently verifiable receipt of what happened and what it cost.
Substrate
One base URL across providers. BYOK, exact-replay meters, compliant fetch on the crossing — the substrate every receipt is minted from.
Branching
Branch exact-replay inventory for PRs and agents — fork, promote, freeze without cloning a database.
Deep dive
Ephemeral Side × Pipeline System — one metered HIT/MISS crossing.
Scale
Redis edge reads, streamed SSE with pre-first-byte failover, and HIT locality under spiky agent load.
Proof
Prove the pipe yourself — signed receipts, waste demo, meters, savings, and account custody. No marketing theatre.