invinoveritas-agentkit
v0.1.1
Published
Coinbase AgentKit action provider for invinoveritas — an automated, independent second opinion before an irreversible action (the agent calls it and decides, no human in the loop), plus free recomputable proof verification. The independent check an agent
Maintainers
Readme
invinoveritas-agentkit
A Coinbase AgentKit action provider that gives your agent an automated, independent second opinion on a high-stakes action — and free, recomputable proof verification. Fully autonomous: one API call, the agent weighs the verdict and decides — no human in the loop, never blocks. The independent check on another agent's output that an agent can't self-issue (you can't issue a trustworthy verdict on your own work).
npm install invinoveritas-agentkitRegister it
import { AgentKit } from "@coinbase/agentkit";
import { invinoveritasActionProvider } from "invinoveritas-agentkit";
const agentKit = await AgentKit.from({
walletProvider,
actionProviders: [
// ...your other providers (erc20, erc721, erc8004, ...)
invinoveritasActionProvider({ apiKey: process.env.INVINO_API_KEY }), // or just set INVINO_API_KEY
],
});Get a free key: POST https://api.babyblueviper.com/register {"label":"your-app"}. Verification is
pay-per-call (USDC via x402 on Base, or Lightning sats); verify_proof is free and needs no key.
Actions
invinoveritas_review
An independent verdict on a proposed action before you execute it. Specializes on the high-stakes actions a wallet/trading agent actually takes:
artifactType: "trade"→ capital-scale-aware risk review (position size vs equity, drawdown, regime, fee-adjusted edge)artifactType: "onchain_action"→ deterministic, recomputable checks on a prepared transaction (unlimited ERC-20 approval,setApprovalForAll, permit drainers, address poisoning, wrong-chain recipient)- also
plan,code_diff,shell_command,config_change,agent_output,general
Returns verdict (approve | approve_with_concerns | reject), confidence, summary, issues,
and — with sign: true — a portable signed proof of the verdict. Advisory by design: it informs
the decision, it never blocks it (errors/timeouts degrade to review_unavailable).
invinoveritas_verify_proof
The receiving half of the trust handshake — verify a signed proof another agent handed you. Free, no auth. Recomputes the Nostr event id and checks the BIP-340 signature against the published key, so you trust neither the presenter nor us.
Why this, not a generic reasoning-verifier
| | A generic reasoning-verifier | invinoveritas |
|---|---|---|
| The verdict | an opaque "trust our pipeline" score | a verdict plus an optional signed proof anyone recomputes from public data (NIP-01 id + BIP-340 vs a published key) — trust the math, not the pipeline |
| The verifier's own record | unaudited / private | a public, Nostr- and Bitcoin-anchored track record (/ledger) of being right — wins and losses |
| Anti-back-dating | — | the verdict is provably committed before the outcome it's graded against |
| High-stakes specialization | generic claim-checking | capital-scale-aware trade review + a deterministic on-chain risk engine |
| Checking proofs you receive | — | free verify_proof — the other half of the handshake |
| Composes with | — | the AgentKit erc8004 provider (this agent is ERC-8004 registered) |
The principle, both ways: demand a proof on what you receive; attach one to what you ship.
The autonomous pattern (no human in the loop)
// The agent calls this itself before placing a trade / signing a tx / shipping output,
// reads the verdict, and decides — automatically. No human approval step.
const result = JSON.parse(await invinoveritas_review({
artifact: proposedAction,
artifactType: "onchain_action", // or "trade", "plan", ...
sign: true, // attach a recomputable proof to whatever you ship
}));
if (result.verdict === "reject") { /* stop, surface result.summary */ }
// else proceed — and pass result.proof downstream so the next party can verify, not trust.Links
- Copy-paste setup for every MCP client: https://api.babyblueviper.com/install
- Public track record: https://api.babyblueviper.com/ledger
- Verify any proof yourself, offline:
pip install invinoveritas-verify/npm i invinoveritas-verify
MIT licensed.
