Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@
.ruff_cache
uv.lock
.venv
node_modules
rest/nodejs/dist
.env
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,33 @@ Zod.
* Demonstrates implementation of UCP specifications for shopping,
checkout, and order management using a Node.js stack.

### Agentic Commerce (A2A)

Demonstrates how to build AI-powered shopping assistants using UCP as an
extension to the [A2A (Agent-to-Agent) protocol](https://google.github.io/A2A/).

* **[Full A2A Sample](a2a/README.md)**: Overview of the agentic commerce
architecture.
* **Business Agent**: AI shopping assistant built with Python, Google ADK, and
Gemini.
* **Chat Client**: React-based UI that renders UCP data types for
conversational commerce.

## Which Sample to Use?

This repository contains two different ways to implement UCP based on your
use-case:

| Use Case | Recommended Sample | Protocol |
| :--- | :--- | :--- |
| **Traditional E-commerce** | [REST Samples](rest/) | Standard RESTful HTTP |
| **AI / Conversational Commerce** | [A2A Samples](a2a/) | JSON-RPC over A2A |

* Use the **REST Samples** if you are building a standard web store backend and
want to follow the official UCP REST specification.
* Use the **A2A Samples** if you are building an AI agent that needs to help
users shop through natural language.

## Getting Started

Please refer to the specific README files linked above for detailed instructions
Expand Down
6 changes: 3 additions & 3 deletions rest/nodejs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.