Now open source on GitHub

Trust Layer for the Agent Economy

Compliance and audit infrastructure for agentic stablecoin transactions. Log actions, score trust, detect anomalies, and export audit trails -- in five lines of code.

$npm install @kontext/sdk
Developer Experience

Five lines to production-grade compliance

Initialize the SDK, call verify() on every agent action, and you get a trust score, anomaly flags, and a complete audit trail. No infrastructure to manage.

  • Works with any agent framework
  • TypeScript-first with full type safety
  • Zero runtime dependencies
  • Under 10kb gzipped
agent.tstypescript
import { Kontext } from '@kontext/sdk';

const ctx = new Kontext({ apiKey: process.env.KONTEXT_KEY });

// Log and verify every agent transaction
const result = await ctx.verify({
  action: 'transfer',
  amount: '50.00',
  currency: 'USDC',
  chain: 'base',
  agent: 'payment-agent-v2',
});

console.log(result.trustScore); // 0.97
console.log(result.flagged);    // false
Features

Everything you need for agent compliance

A complete trust and compliance toolkit designed for developers building with stablecoins and agentic workflows.

Action Logging

Immutable audit trail for every agent action. Know what your agents did, when, and why.

Task Confirmation

Human-in-the-loop confirmation for high-value or sensitive transactions before execution.

Audit Export

Export compliance-ready reports in standard formats. Ready for regulators, auditors, and your own records.

Trust Scoring

Real-time trust scores for agent actions based on historical behavior, amount, and context.

Anomaly Detection

Flag unusual patterns automatically. Velocity checks, amount thresholds, and behavioral analysis.

Real-time Monitoring

Live dashboard for all agent activity. Filter by agent, chain, action type, and risk level.

Integrations

Works with your stack

First-class support for the leading agent commerce protocols and stablecoin infrastructure.

U

USDC

Circle's stablecoin on Base & Ethereum

x

x402

HTTP-native micropayments protocol

G

Google UCP

Universal Checkout Protocol & A2A

S

Stripe

Agentic commerce & payment intents

Regulatory Readiness

Built for the GENIUS Act era

The GENIUS Act is reshaping stablecoin regulation in the United States. Kontext gives your agents the compliance infrastructure to operate confidently -- audit trails, transaction logging, and risk scoring that align with where regulation is heading.

Stop bolting on compliance as an afterthought. Build it in from day one.

Community

Trusted by builders

Join the developers building the next generation of compliant agentic commerce.

Kontext made it trivial to add compliance to our payment agents. The trust scoring API is exactly what we needed.

Coming soon

Early adopter testimonials

We went from zero audit trail to full compliance reporting in under an hour. The DX is phenomenal.

Coming soon

Early adopter testimonials

Finally, a compliance SDK that doesn't feel like it was built by lawyers. Developer-first approach is refreshing.

Coming soon

Early adopter testimonials

Start building with trust

Add compliance to your agentic workflows in minutes. Open source, TypeScript-first, and ready for production.