Integration at a glance
Two parts of your platform talk to delta:
- Your backend, which runs checkout, calls the Orchestrator API over HTTP.
- Your agent, which shops for your users, writes templates through delta’s MCP.
You build a client for a handful of HTTP calls in your backend, the MCP connection in your agent and, if your users sign, signing in your app. Everything else is delta’s: compiling templates, extracting evidence, evaluating it and proving a satisfied verdict, delta-hosted or on your own infrastructure.
The lifecycle
Section titled “The lifecycle”-
The agent writes a template through the MCP, and gets its ID once it compiles. One template serves many intents.
-
Your backend submits the mandate: the template ID plus, when the template has parameters, the user’s parameter values (price cap, size, brands). It is signed by the user, or unsigned when the user fully delegates to the agent.
-
Your backend submits the proposal: one product, or a cart.
-
delta decides. It extracts evidence from the merchant’s data and checks it against the template and the user’s parameter values. If the verdict is violated or undetermined, delta says why, naming any failed constraints.
-
Your backend acts: checkout on
success, block onfailure.
What you send and get back
Section titled “What you send and get back”| You send | You get back |
|---|---|
| The agent’s template, via the MCP | Its ID, or a compile error to fix |
| The mandate | Acceptance |
| The agent’s proposal | Acceptance, then the result (success or failure), streamed or polled |
The full spec
Section titled “The full spec”Every call, signing, value encoding, the MCP contract and the constraint language are in Build. For alpha access, write to myles@delta.network.