✦ Want a lab built just for you? ✦
Request a Lab ↗

Building Your First AI Agent: E-commerce Shopping Assistant

About this lab

You are an AI engineer at ShopStream, an e-commerce company whose support team is stretched thin. Customers keep asking the same questions: "Where is my order?", "Do you have this in blue?", "What would go well with this?" The product lead wants an AI shopping assistant that can handle these queries instantly so the human team can focus on complex cases.

In this lab, you will build that assistant from scratch using AWS Bedrock AgentCore and the Strands Agents SDK. You will create tools with the @tool decorator for product search, order lookup, and recommendations, wire them into an Agent with a system prompt, and deploy it to AgentCore Runtime. By the end, your assistant is live and callable via API.

Lab details

  • Level: Intermediate
  • Cloud: AWS
  • Domain: AI Engineering
  • Duration: 60 minutes

What you will learn

  • Understand the fundamentals of AI agents and their components
  • Create custom tools using the Strands @tool decorator
  • Configure an Agent with system prompts and attached tools
  • Test agents locally before deployment
  • Deploy agents to AWS Bedrock AgentCore Runtime
  • Invoke deployed agents via the AgentCore CLI

Concepts covered

  • Introduction to AI agents and the agent loop
  • Building custom tools with Strands Agents
  • Deploying agents to AgentCore Runtime

Technologies used

  • Amazon Bedrock AgentCore
  • Strands Agents SDK
  • Amazon Bedrock (Claude)
  • AgentCore CLI
  • Amazon S3

Prerequisites

  • AWS account with Bedrock access enabled
  • Python 3.10+ installed
  • Basic Python knowledge
  • AWS CLI configured with credentials
  • Claude Sonnet model enabled in Bedrock console

Topics

  • AWS
  • AgentCore
  • Amazon Bedrock
  • Claude
  • S3
  • Strands SDK