Skip to content

Bring your own agent

This is a live preview of the whole architecture, built for Claude Code (other MCP-capable agent harnesses can often figure out the flow too). You bring the agent and drive the full lifecycle yourself — author a policy, propose a product, and read back a cryptographically verified verdict — against the real Shopify catalog over UCP.

  • The Claude Code CLI.
  • Shopify UCP (the ucp skill + CLI), for product discovery — set up below.
Terminal window
curl -fsSL -X POST https://delta-mandate-mcp.repyhlabs.dev/install | sh

Mints your identity and wires the MCP into Claude Code. Re-running /install creates a fresh identity.

Then run claude and type /mcp — you should see delta-mandate connected with 5 tools.

You need the ucp CLI for product discovery. If it isn’t installed yet, Claude Code can set it up autonomously when needed.

The agent uses it to find products in Shopify’s Global catalog via UCP and propose a variant — delta mandate extracts the evidence straight from that exact variant.

The ucp skill mentioned in the link above isn’t strictly necessary, but it improves the agent’s efficiency at catalog search.

In Claude Code, type:

use delta-mandate to find me a black leather wallet under $50
What happens behind the scenes?

The agent drives it by calling the delta-mandate MCP’s tools (step 3 is the separate Shopify ucp CLI):

  1. get_language_guide + search_taxonomy — learn the DSL, find the product’s taxonomy category.
  2. submit_policy — author and validate the policy → policy_id.
  3. Search Shopify UCP (the ucp CLI) for a matching variant → its ProductVariant GID.
  4. submit_proposal (policy_id + GID) — signs and submits the intent → intent_id.
  5. get_outcome (intent_id) — read the verified verdict.