UP
Upsonic/UCP-Agent
A shopping assistant powered by Upsonic AI Agent and UCP (Universal Checkout Protocol).
UCP Shopping Agent
A shopping assistant powered by Upsonic AI Agent and UCP (Universal Commerce Protocol).
How it works
flowchart LR
subgraph User
A[๐ค You]
end
subgraph Upsonic
B[๐ค AI Agent]
end
subgraph UCP
C[๐ UCP Tools]
end
subgraph Merchant
D[๐ช Shop API]
E[(๐ฆ Products)]
F[(๐ Orders)]
end
A -->|Chat| B
B -->|Tool Calls| C
C -->|API Requests| D
D --> E
D --> F
D -->|Response| C
C -->|Results| B
B -->|Answer| A
UCP (Universal Checkout Protocol) enables AI agents to interact with e-commerce systems through a standardized interface.
| Tool | Description |
|---|---|
get_available_products() |
Browse product catalog |
get_available_discount_codes() |
View discount codes |
get_your_user() |
Get user info & addresses |
discover_merchant() |
Merchant & payment info |
create_cart() |
Create shopping cart |
apply_discount() |
Apply discount to cart |
set_shipping_address() |
Set delivery address |
complete_purchase() |
Complete checkout |
Installation
uv venv
uv pip install "ucp-client[server]==0.0.11"
uv pip install upsonic==0.69.3
uv pip install streamlitUsage
Terminal 1 - Start the mock server:
uv run ucp mockup_serverTerminal 2 - Run the agent (CLI):
uv run upsonic_shopping_agent.pyStreamlit UI
You can also use the Streamlit web interface:
uv run streamlit run streamlit_app.pyThen open http://localhost:8501 in your browser.

On this page
Languages
Python85.2%Makefile14.8%
Contributors
MIT License
Created January 12, 2026
Updated March 5, 2026