Skip to content

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Agenttique

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.

Architecture

Agenttique Architecture The main ADK code resides in this folder online_boutique_agent, while the MCP simulation is located in external_shipping_tracker folder.

Prerequisite

  1. Python virtual environment
    cd /path/to/your/project
    python3 -m venv venv
  2. Python packages Since this is a python application, make sure you have all required python packages.
    pip install google-adk

Quickstart (GKE)

We will run all the application locally, so you will need your terminal.

  1. Make sure the Online Boutique Application is configured in GKE. Follow all the required steps here.

  2. 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.

  3. Start the Agent Web UI In your Terminal 4, start the agent's web interface:

    adk web
  4. Open http://127.0.0.1:8000 in your browser and select the online_boutique_agent from the drop down on the left.

  5. 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
    

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages