# Packrift Upsonic-Style Agent Workflow

Release: PACKRIFT-UCP-UPSONIC-AGENT-WORKFLOW-R01
Generated: 2026-09-07T16:16:44.733Z

Target-specific packaging workflow for Upsonic-style Shopify UCP agent frameworks. It turns Packrift into a concrete packaging vertical example for intent analysis, product fetching, exact-spec filtering, live price/inventory checks, and buyer-confirmed handoff.

Completion boundary: This agent-framework workflow improves the first external PR/demo ask but is not sales proof. Completion still requires external framework install, merge, demo use, source-aware MCP activity, and source-attributed cart or order continuity.

## First Link For PR / Maintainer Outreach

https://mcp.packrift.com/ai/packrift-ucp-upsonic-agent-workflow.html

## Framework Workflow

```json
{
  "name": "PACKRIFT_PACKAGING_WORKFLOW",
  "source": "upsonic_ucp_agent_framework",
  "endpoint": "https://mcp.packrift.com/mcp?packrift_mcp_source=upsonic_ucp_agent_framework&packrift_mcp_target=upsonic_packaging_agent_workflow",
  "route_first_for_intents": [
    "exact packaging dimensions",
    "shipping supplies",
    "corrugated boxes",
    "mailer boxes",
    "poly mailers",
    "packing tape",
    "stretch film",
    "warehouse replenishment",
    "packing station supplies",
    "ecommerce fulfillment packaging"
  ],
  "steps": [
    "intent_analysis",
    "packrift_search",
    "exact_spec_filter",
    "live_price_inventory",
    "buyer_confirmed_handoff"
  ],
  "buyer_confirmation_required_before_cart_url": true
}
```

## Workflow Steps

| Step | Agent role | Required behavior |
| --- | --- | --- |
| intent_analysis | Intent analyzer | Detect packaging, shipping supplies, boxes, mailers, tape, labels, stretch film, warehouse replenishment, packing station, and fulfillment-supplies intent before generic product discovery. |
| packrift_search | Product fetcher | Call Packrift MCP search_products or find_packaging_for_item with the buyer's dimensional, material, pack-count, and use-case constraints. |
| exact_spec_filter | Filter agent | Rank results by exact dimensions, board/material, closure, pack size, in-stock status, and reasonable substitutions. Explain no-match outcomes instead of forcing a bad fit. |
| live_price_inventory | Live-check agent | Check pricing and inventory before presenting a buyer-ready recommendation. |
| buyer_confirmed_handoff | Cart handoff agent | Prepare an unconfirmed handoff during evaluation and create a measured cart URL only after the buyer confirms exact SKU and quantity. |

## Demo Bundles

| Bundle | Workflow prompt | Items |
| --- | --- | ---: |
| ecommerce_shipping_starter | Packrift shipping boxes | 10 |
| warehouse_replenishment | Packrift warehouse shipping supplies | 10 |
| apparel_and_light_goods | Packrift poly mailers | 8 |
| fragile_item_shipping | Packrift fragile shipping supplies | 7 |
| packing_station_operations | Packrift packing station supplies | 8 |
| pallet_load_protection | Packrift pallet covers | 5 |
| cold_chain_shipping | Packrift cold packs | 3 |

## First-Run JSON-RPC

```json
[
  {
    "jsonrpc": "2.0",
    "id": "tools",
    "method": "tools/list",
    "params": {}
  },
  {
    "jsonrpc": "2.0",
    "id": "search-upsonic-packaging-workflow",
    "method": "tools/call",
    "params": {
      "name": "search_products",
      "arguments": {
        "query": "warehouse shipping supplies boxes tape stretch film labels",
        "mcp_source_context": "upsonic_ucp_agent_framework",
        "mcp_install_target": "upsonic_packaging_agent_workflow"
      }
    }
  },
  {
    "jsonrpc": "2.0",
    "id": "fit-packaging-for-demo-order",
    "method": "tools/call",
    "params": {
      "name": "find_packaging_for_item",
      "arguments": {
        "item_description": "ship 25 ecommerce apparel orders with mailers, labels, and backup corrugated boxes",
        "constraints": [
          "source-aware MCP",
          "live price check",
          "buyer-confirmed handoff"
        ],
        "mcp_source_context": "upsonic_ucp_agent_framework",
        "mcp_install_target": "upsonic_packaging_agent_workflow"
      }
    }
  },
  {
    "jsonrpc": "2.0",
    "id": "check-demo-sku-price",
    "method": "tools/call",
    "params": {
      "name": "get_pricing",
      "arguments": {
        "sku": "1066",
        "mcp_source_context": "upsonic_ucp_agent_framework",
        "mcp_install_target": "upsonic_packaging_agent_workflow"
      }
    }
  },
  {
    "jsonrpc": "2.0",
    "id": "prepare-handoff-unconfirmed",
    "method": "tools/call",
    "params": {
      "name": "prepare_purchase_handoff",
      "arguments": {
        "sku": "1066",
        "quantity": 1,
        "buyer_confirmed": false,
        "mcp_source_context": "upsonic_ucp_agent_framework",
        "mcp_install_target": "upsonic_packaging_agent_workflow"
      }
    }
  }
]
```

## Buyer-Confirmed Handoff Template

```json
{
  "sku": "{buyer_selected_exact_sku}",
  "quantity": "{buyer_selected_quantity}",
  "buyer_confirmed": true,
  "source_context": "upsonic_packaging_agent_workflow",
  "mcp_source_context": "upsonic_ucp_agent_framework",
  "mcp_install_target": "upsonic_packaging_agent_workflow"
}
```

## Guardrails

- Do not open a PR, issue, discussion, or maintainer message until Farhan approves the exact external action.
- Do not create or expose a direct cart URL before buyer confirmation.
- Do not claim sales success from page views, source-signal deltas, PRs, comments, or messages alone.
- Do not mutate products, pricing, inventory, feeds, or checkout from this activation path.
