chio-metering 0.1.0

Receipt metering and economics for the Chio protocol -- cost attribution, budget enforcement, and billing export
Documentation

Receipt metering and economics for the Chio protocol.

This crate provides per-receipt cost attribution, cumulative cost queries, monetary budget enforcement via chio-link oracle integration, and billing-export-compatible cost metadata.

Modules

  • [cost] -- Per-receipt cost metadata (compute time, data volume, API cost)
  • [query] -- CLI-style cost queries by session, agent, tool, or time range
  • [budget] -- Monetary budget enforcement with denominated currency
  • [budget_hierarchy] -- Tree-structured budget governance across organizational scopes (org -> department -> team -> agent)
  • [export] -- Billing-export-compatible cost records