$ kontext — compliance & lifecycle control plane for AI agents moving stablecoins
Watch the CLI run a treasury payment through the 8-stage lifecycle. Then try it yourself.
$ What authorize() returns
Three outcomes. One policy engine call each.
{
decision: 'allow',
allowed: true,
checksRun: [
{ name: 'Sanctions screening', passed: true },
{ name: 'Max transaction amount', passed: true },
{ name: 'Daily aggregate limit', passed: true },
],
violations: [],
digestProof: { valid: true, chainLength: 12 },
}{
decision: 'review',
allowed: false,
checksRun: [
{ name: 'Sanctions screening', passed: true },
{ name: 'Human approval threshold', passed: false },
],
violations: [
{ code: 'REQUIRES_HUMAN_APPROVAL', severity: 'medium' }
],
requiredActions: [
{ code: 'REQUEST_APPROVAL', message: 'Collect human approval' }
],
}{
decision: 'block',
allowed: false,
checksRun: [
{ name: 'Sanctions screening (recipient)', passed: false },
],
violations: [
{ code: 'SANCTIONED_RECIPIENT', severity: 'critical' }
],
requiredActions: [
{ code: 'CHANGE_RECIPIENT', message: 'Do not send to this recipient' }
],
}$ 8-stage payment lifecycle
Every payment follows the same path. Every stage is logged.
intent
start()
authorize
authorize()
prepare
record()
transmit
broadcast()
confirm
confirm()
recipient_credit
credit()
reconcile
record()
retry_or_refund
refund()
$ Policy engine — compliance at every authorize()
The policy engine runs at the authorize stage. Every payment is checked against configurable rules before transmission.
GENIUS Act (S. 1582) regulations due July 2026. Kontext policy engine covers BSA requirements out of the box.
+ OFAC sanctions screening (sender + recipient)
+ Amount limits (max transaction, daily aggregate)
+ Blocklist / allowlist enforcement
+ Required metadata by payment type
+ Human approval thresholds
+ Tamper-evident digest chain on every receipt
$ Pricing
FREE
$0 forever
- 20K payment stage events/month
- Core lifecycle (8 stages)
- Policy engine (OFAC, limits, blocklists)
- Digest chain
- 5 workspace profiles
- JSON export
- Base chain
PAY AS YOU GO
$0.002 / payment stage event above 20K
- First 20K events free every month
- All chains (Base, Ethereum, Solana)
- CSV export
- Ops dashboard (5 views)
- Slack + email notifications
- Advanced policy configurations
- 6 provider adapters
Ship payment infrastructure in minutes.
npm install. Kontext.init(). start(). authorize(). 8 stages, fully logged. Open source, TypeScript-first, free tier included.