Trust infrastructure for agents that move money.
Audit trails, OFAC screening, on-chain proof, and agent-to-agent attestation. One SDK. One function call. Free forever.
On-Chain Proof
Anchored on Base
A2A Attestation
Agent-to-agent trust
8 Chains
Base, ETH, SOL + 5 more
Free Forever
20K events/mo
MIT License
Open source
GENIUS Act
Aligned
See it live — no API key required
Chat with an AI agent that moves USDC. Watch the audit trail, digest chain, trust score, and compliance checks update in real time.
Loading interactive demo...
One function. Three layers of proof.
Call verify() on every wallet transfer. Get OFAC screening, trust scoring, on-chain anchoring, and counterparty attestation. All in one call.
- Digest chain — tamper-evident local proof
- On-chain anchor — immutable proof on Base
- A2A attestation — bilateral compliance proof
- Zero runtime dependencies
import { Kontext } from 'kontext-sdk';
const ctx = Kontext.init({
projectId: 'treasury-agent',
environment: 'production',
});
const result = await ctx.verify({
txHash: '0xabc...def',
chain: 'base',
amount: '5000',
token: 'USDC',
from: '0xAgentWallet',
to: '0xRecipient',
agentId: 'treasury-agent-v2',
reasoning: 'Within daily limit. Recipient in allowlist.',
anchor: {
rpcUrl: 'https://mainnet.base.org',
contractAddress: '0xbc71...b46',
},
});
result.compliant // true
result.trustScore.score // 87
result.digestProof.valid // true — tamper-evident
result.anchorProof?.txHash // 0x... — on-chain proofDrop into your wallet stack
Circle Programmable Wallets, on-chain anchoring on Base, and agent-to-agent attestation.
Circle Programmable Wallets
Wrap every Circle wallet transfer with compliance logging. OFAC screening, trust scoring, and digest-chain proof in a single call.
// Circle Programmable Wallets
const result = await ctx.verify({
txHash: circleResponse.txHash,
chain: 'base',
amount: '5000',
token: 'USDC',
from: agentWallet,
to: recipientAddress,
agentId: 'treasury-agent-v2',
});
if (!result.compliant) {
// Block transfer. result.checks shows what failed.
}On-Chain Anchoring
Anchor your terminal digest to Base. Immutable, publicly verifiable proof that compliance checks ran. Anyone can audit — no Kontext account needed.
import { verifyAnchor } from 'kontext-sdk';
// Anyone can verify — read-only, zero deps
const proof = await verifyAnchor(
'https://mainnet.base.org',
'0xbc71...b46',
digest,
);
console.log(proof.anchored); // true
// Or anchor inside verify()
const result = await ctx.verify({
txHash: '0x...',
chain: 'base',
amount: '10000',
token: 'USDC',
from: agentWallet,
to: recipientAddress,
agentId: 'treasury-agent',
anchor: {
rpcUrl: 'https://mainnet.base.org',
contractAddress: '0xbc71...b46',
privateKey: process.env.ANCHOR_KEY,
},
});A2A Attestation
Exchange compliance proofs with counterparty agents. Both sides prove they ran checks on the same transaction. Zero dependencies.
// A2A: prove both sides ran compliance
const result = await ctx.verify({
txHash: '0x...',
chain: 'base',
amount: '5000',
token: 'USDC',
from: '0xSender',
to: '0xReceiver',
agentId: 'sender-agent',
counterparty: {
endpoint: 'https://receiver.example.com',
agentId: 'receiver-agent-v1',
},
});
result.counterparty?.attested // true
result.counterparty?.digest // receiver's proofEverything your compliance officer will ask for
verify() logs the transaction, screens for sanctions, scores trust, anchors to the chain, and exchanges attestations with counterparties.
verify() in One Call
Log the transaction, run OFAC screening, score trust, and return a structured result. One function.
On-Chain Anchoring
Anchor your digest chain to Base. Immutable proof that compliance ran. Anyone can verify with just an RPC URL.
A2A Attestation
Exchange compliance proofs with counterparty agents. Both sides prove they checked the same transaction.
Agent Reasoning Logs
Record why your agent approved a transfer. When regulators ask, you have the answer.
Trust Scoring
0-100 trust score per agent. Five-factor breakdown: history, amount, frequency, destination, behavior.
Anomaly Detection
Flag unusual amounts, frequency spikes, new destinations, and off-hours activity.
Audit Export
Export JSON audit trails with tamper-evident digest proofs. CSV and SAR/CTR reports on Pro.
Digest Chain
Every action links to the previous via SHA-256. Proves no records were inserted, deleted, or reordered.
Agent Provenance
Session delegation records who authorized the agent. Action envelopes bind every call to a session. Human attestation proves a reviewer signed off.
Agent Forensics
Map wallets to agents, detect multi-wallet clustering with 5 heuristics, and compute identity confidence scores. Pro tier.
Kontext CLI
Verify transactions, audit digest chains, anchor on-chain, sync OFAC lists, and manage agent sessions — all from the terminal.
Three layers of proof. One function call.
Each layer makes it harder to claim compliance checks didn't happen.
Digest Chain
Local Proof
SHA-256 hash chain links every action to the previous one. Tamper with one record and the chain breaks.
On-Chain Anchor
Immutable Proof
Terminal digest anchored to Base. Anyone with an RPC URL can verify it existed at a specific block.
A2A Attestation
Bilateral Proof
Both agents exchange digests. Each side proves independently that they ran compliance on the same transaction.
Three-Layer Agent Accountability
Session delegation records who authorized the agent. Action envelopes bind every call to a session. Human attestation proves a reviewer signed off with a key the agent never touches.
- Session delegation — records who granted agent authority
- Action binding — ties every verify() call to a session
- Human attestation — proves a reviewer signed off
- Key separation — agent never touches the attestation key
const session = await ctx.createAgentSession({
agentId: 'treasury-agent',
delegatedBy: 'user:vinay',
scope: ['transfer', 'approve'],
});
// Actions bound to session via sessionId
const result = await ctx.verify({
...txData,
sessionId: session.sessionId,
});
// Human reviews and attests
const cp = await ctx.createCheckpoint({
sessionId: session.sessionId,
actionIds: [result.transaction.id],
summary: 'Reviewed $5K transfer',
});GENIUS Act signed. Regulations due July 2026.
The GENIUS Act (S. 1582) treats payment stablecoin issuers as financial institutions under the BSA. Implementing regulations drop July 2026. Prohibitions take effect November 2026. If your agents move USDC above $3K, you need an audit trail.
Ship compliance before the deadline.
npm install. Kontext.init(). verify(). Three layers of proof in one call. Open source, TypeScript-first, free forever.