Agenttique is an agentic Online Boutique Application that was forked from GoogleCloudPlatform/microservices-demo. The complete Online Boutique Application information can be found in here.
The main ADK code resides in this folder online_boutique_agent, while the MCP simulation
is located in external_shipping_tracker folder.
- Python virtual environment
cd /path/to/your/project python3 -m venv venv - Python packages
Since this is a python application, make sure you have all required python packages.
pip install google-adk
We will run all the application locally, so you will need your terminal.
-
Make sure the Online Boutique Application is configured in GKE. Follow all the required steps here.
-
Open connections to All Services Terminal 1:
kubectl port-forward deployment/productcatalogservice 3550:3550
Terminal 2:
kubectl port-forward deployment/cartservice 7070:7070
Terminal 3:
kubectl port-forward deployment/checkoutservice 5050:5050
Note: Make sure to leave all these terminals running.
-
Start the Agent Web UI In your Terminal 4, start the agent's web interface:
adk web
-
Open http://127.0.0.1:8000 in your browser and select the online_boutique_agent from the drop down on the left.
-
Now you can have a conversation with the agent to place an order. Here is an example workflow:
1. First, ask the agent to list the products: > list products 2. Next, add an item to your cart: > Add 1 of the watch to my cart > Add 1 of the "sunglasses" 3. Now, tell the agent to show your cart: > Show my cart 4. Then you can tell the agent to place your order: > Place my order