Guides
MCP and JSON
Two machine-readable surfaces: a JSON document for scripts, and an MCP server so an agent can ask about its own behaviour.
JSON
$ actualis --json --days 30 | jq '.cost_usd'Redaction is on by default, including in --json.
Every top-level key is documented in
docs/json.md, and a test asserts that
no key can be added without documenting it.
Two keys are worth knowing about because they qualify the numbers rather than report them:
unknown_models— models seen with no pricing entry. Billed at Opus-tier rates and excluded from confident totals.aggregator_priced_models— models priced from a third party because the vendor publishes no rate for that id. The rate is probably right; nobody authoritative has said so.
New in 0.5: with --reputation, network.items[].reputation
and network.reputation carry the offline host-reputation result. They are
additive; schema_version stays 1.
New in 0.7, also additive: coverage (per agent the files read, unreadable
and skipped by --days, the oldest file read and how long the agent keeps
transcripts; per check what was examined and what was not; and the gaps),
assumptions (every number derived or assumed rather than read),
rejected with rejected_total (leads checked and cleared), and
assessment, basis and missing on every finding. See
docs/json.md.
Claude Code plugin
New in 0.7. A Claude Code plugin adds an actualis skill, so your agent can
answer “what did my agents cost?”, “did a credential leak?” or
“was the bad version installed?” by running the CLI, and an
/actualis command. Install the CLI first, then:
$ claude plugin marketplace add digital-foundry/actualis $ claude plugin install actualis@actualis
Or inside a Claude Code session: /plugin marketplace add digital-foundry/actualis,
then /plugin install actualis@actualis. The skill never installs anything, never
prints credential values, and only suggests actualis-reputation (the one part that
uses the network); it does not run it.
MCP server
$ actualis --mcpRuns as an MCP server over stdio, exposing the same read-only data to an agent that the CLI shows a human. Point your agent's MCP configuration at that command.
It is the same code path and the same redaction. An agent querying Actualis
cannot see credential values that a human running the CLI could not.
Since 0.7 the coach_findings result carries the same assessment,
basis and missing as --json.