@verax-ai/proxy
v0.3.0
Published
The decision proxy behind VERAX: policy, signed decision records, and the ledger they live in.
Maintainers
Readme
@verax-ai/proxy
The decision proxy behind Verax. Every tool call goes through a policy that
denies what it does not name, leaves a signed decision record before the
call runs, and an effect row after it did. The records live in a ledger on
local disk, and explain reads that ledger back and reports what it finds,
including a record whose effect does not match it.
Part of Verax by
VERAX Teknoloji. Most callers want
@verax-ai/body, the MCP
server built on this package. What the code carries and what stays unproven
is stated in
docs/STATUS.md.
Install
npm install @verax-ai/proxyNode 22.6 or newer. Decision records use the Cedulon record format
(@cedulon/core, @cedulon/audit).
Use
import { createProxy, loadPolicy, FileLedger, explain } from "@verax-ai/proxy";loadPolicyreads a policy file.policy/default.jsonin this package is the one the body starts from.createProxywraps tool functions: each call is decided and recorded, then run or refused.FileLedgerandMemoryLedgerhold the records, oneFileLedgerper directory.explainreads a ledger and reports the chain, its signatures and its findings.approvePending,reconcileandparseCardCsvare what the body'sapproveandreconcilecommands call.
The exports map is the whole public surface; deep imports are not in it.
License
Apache-2.0.
