SUBSTRATE.
Substrate SDK · emotional AI for any platform

One script tag.
An honest pause before every click.

Add Substrate to a wealth app, a prediction market, a broker or a sportsbook without writing backend code. Mark any button with data-substrate-check and Substrate reads the order, the person and the moment, then shows the truth before the click goes through. Kindly, in your brand, on the record.

No-code builder

Choose, preview on the right, copy the snippet.


      

Live preview

What the SDK does

Gate any button

data-substrate-check on Buy, Place bet or Confirm. Reads attributes or the surrounding form. Re-fires the click only if the person proceeds.

Closes the loop itself

Cancel records "followed", Proceed anyway records "ignored". The genome learns with zero extra integration.

Pacts in one tap

"Hold me to it until 9am". If they come back early, Substrate quotes their own promise.

Safe by default

Publishable keys locked to your domains, hashed user ids, per-IP limits, fail-open, shadow DOM isolation, text only.

Chat widget

data-mode="check,widget" adds a floating heart: an honest advisor that remembers each user.

Events for your app

substrate:verdict, substrate:proceed, substrate:cancel, substrate:pact on window.

Open API

Full OpenAPI 3 spec at /openapi.json, interactive reference at /docs.


  
EndpointKeyWhat it does
POST /v1/embed/advisepkThe honest pause: order context plus the user's note in, verdict, reasons, forecasts, pact offer out
POST /v1/embed/outcomepkFollowed or ignored, from the widget
POST /v1/embed/pactpkMake a precommitment
POST /v1/embed/keystenantCreate a publishable key locked to your origins
POST /v1/advisetenantFull engine response for server-side use
POST /v1/chat/completionstenantOpenAI-compatible harness, substrate or guard mode
POST /v1/markets/analyzenoneStateless bet maths: parlays, round robins, Kelly
POST /v1/volatility/analyzenoneFX and gold volatility, stop-out odds, event combinatorics, trader biases
PUT /v1/tenant/webhooktenantSigned escalation, safety and pact events to your systems