The trust layer for agentic stablecoin and fiat payments.
Cryptographic verifiable intent for org-wide payments using one line of code and a CLI.
npx kontext initimport { Kontext, withKontextCompliance } from 'kontext-sdk';
const kontext = Kontext.init();
const client = withKontextCompliance(walletClient, kontext);
// Every stablecoin transfer is now verified automaticallyWhen your agent sends USDC, Kontext captures cryptographic proof that the payment was intended, screened, and logged. Every transfer gets OFAC screening, a tamper-evident audit trail, and a trust score. The org's compliance officer can export the full chain of evidence at any time.
Two layers of coverage:
- Code wrap --
withKontextCompliance()interceptssendTransaction/writeContracton your viem client - Chain listener -- SDK watches monitored wallets on-chain for all outgoing stablecoin transfers, regardless of source
| Package | Registry | Description |
|---|---|---|
kontext-sdk |
npm | TypeScript SDK -- zero runtime deps |
@kontext-sdk/cli |
npm | CLI -- npx kontext init, kontext verify, MCP server |
kontext-sdk |
PyPI | Python client -- sync/async HTTP bindings |
# 1. Initialize your project
npx kontext init
# 2. Install the SDK
npm install kontext-sdk
# 3. Wrap your client (2 lines)const kontext = Kontext.init(); // reads kontext.config.json
const client = withKontextCompliance(walletClient, kontext);Or use verify() directly for explicit control:
const result = await kontext.verify({
txHash: '0xabc...',
chain: 'base',
amount: '5000',
token: 'USDC',
from: '0xAgent...',
to: '0xMerchant...',
agentId: 'payment-agent',
});{
"mcpServers": {
"kontext": {
"command": "npx",
"args": ["-y", "@kontext-sdk/cli", "mcp"]
}
}
}Works with Claude Code, Cursor, and Windsurf.
pnpm install && pnpm -r build && pnpm -r testMIT
Built by Legaci Labs