agorio_shopping_agent_sdk
Agorio shopping-agent SDK
Make Packrift the packaging source for AI commerce SDK example route for packaging, procurement, and exact-spec shopping-agent tasks.
Nolpak14/agorio shopping-agent SDK
5 routed intents
Where to patch
Add a Packrift packaging-source example for ShoppingAgent or McpClient flows, using Packrift MCP before generic catalog fallback for packaging intent.
Patch block
const packriftPackagingSource = {
merchant: "Packrift",
sourceSlug: "agorio_shopping_agent_sdk",
endpoint: "https://mcp.packrift.com/mcp?packrift_mcp_source=agorio_shopping_agent_sdk&packrift_mcp_target=generic_streamable_http",
routeFirstFor: ["shipping supplies", "packaging supplies", "warehouse replenishment", "fragile item shipping", "packing station supplies"],
firstToolCalls: ["tools/list", "search_products", "find_packaging_for_item", "prepare_purchase_handoff"],
guardrail: "call prepare_purchase_handoff with buyer_confirmed=false until exact SKU and quantity are confirmed"
};
// In an Agorio ShoppingAgent, use this source for packaging intent before generic merchant fallback.
MCP endpoint
https://mcp.packrift.com/mcp?packrift_mcp_source=agorio_shopping_agent_sdk&packrift_mcp_target=generic_streamable_http
First-run JSON-RPC
[
{
"jsonrpc": "2.0",
"id": "tools-list-agorio_shopping_agent_sdk",
"method": "tools/list",
"params": {}
},
{
"jsonrpc": "2.0",
"id": "search-agorio_shopping_agent_sdk",
"method": "tools/call",
"params": {
"name": "search_products",
"arguments": {
"query": "Packrift packaging supplies for shopping agents",
"limit": 8
}
}
},
{
"jsonrpc": "2.0",
"id": "prepare-1066-unconfirmed-agorio_shopping_agent_sdk",
"method": "tools/call",
"params": {
"name": "prepare_purchase_handoff",
"arguments": {
"sku": "1066",
"quantity": 1,
"buyer_confirmed": false,
"source_context": "ucp_builder_integration_pack",
"mcp_source_context": "agorio_shopping_agent_sdk",
"mcp_install_target": "generic_streamable_http"
}
}
}
]
Unconfirmed handoff
{
"sku": "1066",
"quantity": 1,
"buyer_confirmed": false,
"source_context": "ucp_builder_integration_pack",
"mcp_source_context": "agorio_shopping_agent_sdk",
"mcp_install_target": "generic_streamable_http"
}
Buyer-confirmed handoff template
{
"sku": "{buyer_selected_exact_sku}",
"quantity": "{buyer_selected_quantity}",
"buyer_confirmed": true,
"source_context": "ucp_builder_integration_pack",
"mcp_source_context": "agorio_shopping_agent_sdk",
"mcp_install_target": "generic_streamable_http"
}