A self-hosted companion layer for IronClaw that records agent activity, reconciles spend to within 3%, and surfaces tamper-evident audit proofs — without writing a line of SQL.
Three questions, answered
IronClaw runs your agents. The companion data layer tells you exactly what happened.
Estimated token costs are confirmed against NEAR AI's billing API within 3%. Every inference ID is reconciled — nothing is silently billed as $0 and nothing is fabricated.
At least 98% of agent turns, tool calls, and model calls are logged as redacted OpenTelemetry spans. Query run timelines, failure rates, and memory health from pre-built dbt models — no raw SQL required.
Responses from NEAR AI's confidential inference API carry attestation quotes checked against Intel Trust Authority tokens. The companion tracks the percentage of verified responses per model.
How it works
A clean, OTel-native pipeline with no proprietary lock-in.
Features
Every guarantee is backed by deterministic code with tests — no LLM decides what is billed or verified.
Batches up to 10,000 inference IDs per call to NEAR AI's billing API. Confirmed, incomplete, and mismatched rows are tracked separately — nothing collapses to $0.
OTel GenAI spans capture every agent turn, model call, and tool execution. The LiteLLM proxy provides full coverage while upstream hooks are in review.
Privileged actions are recorded in an append-only chain; head hashes are signed periodically by the TEE key. ironclaw audit verify exits non-zero on any tamper.
Gateway quotes are checked against Intel Trust Authority tokens for every NEAR AI TEE model. Models that don't support attestation are explicitly labelled — never silently skipped.
Metadata-only spans by default. A two-pass redaction pipeline strips secrets before data leaves the runtime. Any runtime LLM calls run on NEAR AI TEE or local models only — agent data never reaches a public API.
One Docker Compose stack, a single install.sh, and a .env template. Services run non-root with read-only filesystems and all Linux capabilities dropped.
Open & vendor-neutral
Built on OpenTelemetry. Runs anywhere Docker Compose runs. Designed for Tailscale-private deployments.