Live demo

Run a session. Get one receipt.

An autonomous agent rarely makes one call — it plans, checks its own state, and acts. Metrecept doesn’t just meter each crossing; it closes the whole session into a single signed receipt. Run three turns below, then verify the aggregate yourself — no Metrecept code required.

  • Turn 2 replays turn 1 from cache — the pipe, doing its job.
  • Every turn is billed and ledgered live; nothing is staged to make the demo look better than production.
  • Closing the session mints one Ed25519 JWS (kind: session) over the whole run — decode and verify it right on this page (see The black box).

Loading a proof session…

  1. 1

    Turn 1 — plans the next step

    Check today's spend total before I draft anything.

  2. 2

    Turn 2 — re-checks its own plan

    Check today's spend total before I draft anything.

  3. 3

    Turn 3 — drafts the update

    Draft a two-line status update: spend is on track, continuing the task.

What receipts prove
Advanced — open the raw agent shell (PowerShell-style CLI)

The same pipe, driven by hand: MCP skill cmdlets, BYOK, and any model. Same tools as pip install withohm-mcp. Cursor / MCP docs · API keys

Agent Shell — Metrecept · Windows PowerShell
Model mockPath Key not setCtrl+L clear · ↑ history · Get-Help
Metrecept Agent Shell  ·  PowerShell-compatible CLI on the pipe
Copyright (c) Metrecept. Middleware governance — rent the plumbing.

MCP skills (pip install withohm-mcp  →  ohm-mcp)
  ohm_chat         Invoke-OhmChat     OpenAI-compatible chat through the pipe; Redis exact-replay on identical prompts
  ohm_fetch_web    Invoke-OhmFetch    Compliant public URL → markdown/JSON (robots-gated, purpose-bound)
  ohm_usage        Get-OhmUsage       Hit ratio, fetch meters, estimated pipe rent
  ohm_models       Get-OhmModel       Model ids the pipe routes (including BYOK upstreams)
  ohm_savings      Get-OhmSaving      Dual ledger — estimated provider $ avoided vs pipe rent
  ohm_receipt      New-OhmReceipt     Mint a public /r/… savings receipt + README badge
  ohm_providers    Get-OhmProvider    Upstream / failover readiness for the pipe
  ohm_policy       Get-OhmPolicy      Compliance policy — allowed fetch purposes and limits
  ohm_cache_trees  Get-OhmCacheTree   Cache-tree inventory — tips per tenant
  ohm_cache_inventory Get-OhmCacheEntry  Key-level cache entries in a tree — digest, model, TTL, size
  ohm_register_api_service Register-OhmApiService Register a named third-party API (audit-mode, one time)
  ohm_api_services Get-OhmApiService  List registered audit-mode API services
  ohm_api_call     Invoke-OhmApiCall  Receipted, metered GET to a registered business API (Black Box)
  ohm_session      Get-OhmSessionReceipt Signed flight-recorder receipt for one audit-mode session (Black Box Phase B)

Product features
  OpenAI-compatible pipe   One base URL · BYOK · api.withohm.dev/v1
  Cache trees              Tip / fork / promote / freeze exact-replay inventory (X-Ohm-Cache-Tree)
  Middleware governance    Compose with Neon AI Gateway beta on the same PR slug
  Streaming failover       Pre-first-byte retry — honest non-200 on failure
  Signed receipts          X-Ohm-Receipt + JWKS — verify HITs yourself
  API passthrough (audit-mode) Receipted, metered GET to registered business APIs — Black Box Phase A
  Org / FinOps             Cost centers, ledger export, spend caps, SSO path

Type Get-Help or Get-Command for cmdlets. Set-OhmKey -Key sk-at-… to authenticate.

What is Metrecept · The black box · Waste demo · Create Account