Skip to content

About

Autonomous AI Customer Support Agent built with Amazon Bedrock AgentCore & Strands SDK. Features MCP tool discovery, Knowledge Base RAG, cross-session memory, and Python sandbox code execution. Project 2 for Future AWS Agent Engineer Nanodegree.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Autonomous Tool Orchestration & Multi-Capability Support Agent

Project 2 — Future AWS Agent Engineer Nanodegree


Overview

This repository contains the full implementation for Project 2, featuring an autonomous AI Customer Support Agent deployed on Amazon Bedrock AgentCore Runtime. Built using a single Strands SDK Agent orchestrator and the bedrock-agentcore-starter-toolkit, this agent acts as an intelligent hub for an e-commerce platform by orchestrating multiple underlying AWS tools and capabilities (Model Context Protocol Gateway, Knowledge Base RAG, AgentCore Memory, and Python Code Interpreter).

📚 Detailed Articles & References

For a deep dive into the engineering principles, architectural decisions, and step-by-step walkthrough, check out the following resources:


Architecture & Integrated Tool Subsystems

The agent unifies five distinct AWS and Bedrock capabilities into a single conversational entry point:

  1. AgentCore Gateway & Model Context Protocol (MCP): Exposes backend AWS Lambda functions (order tracking, refund processing) dynamically at runtime using MCP docstrings and schema definitions.

  2. Bedrock Knowledge Base (RAG): Connects to an S3 bucket storing unstructured product catalog and policy documents (product\_catalog.txt) for grounded vector search retrieval.

  3. AgentCore Memory: Provides persistent, cross-session context using custom MemoryHook implementations to extract semantic facts and user preferences automatically.

  4. AgentCore Code Interpreter: Executes exact numerical math (points redemptions, tier calculations, and tiered discounts) inside an isolated Python execution sandbox.

  5. AgentCore Browser Tool: Grants real-time web access for external URL inspection when information is missing from internal databases.


Prerequisites

AWS Account

  • An active AWS account with permission to create and manage:
    • IAM roles and policies
    • Lambda functions
    • API Gateway REST APIs
    • Amazon Bedrock Managed Knowledge Bases (with S3 access)
    • Amazon Bedrock AgentCore resources (Runtime, Gateway, Memory)
  • All resources should be created in us-east-1 (N. Virginia) unless stated otherwise.

Local Development Environment

Tool Version
Python 3.13+
uv Latest
AWS CLI v2
AgentCore CLI (agentcore) Installed via bedrock-agentcore-starter-toolkit
Node.js (for MCP Inspector) 18+

Model Access

Enable the following model in the Amazon Bedrock console under Model access:

  • Amazon Nova 2 Lite (amazon.nova-2-lite-v1:0). The starter code invokes its global inference profile, global.amazon.nova-2-lite-v1:0.

CLI compatibility: This released project intentionally uses the Python-based Bedrock AgentCore Starter Toolkit CLI. AWS recommends the newer npm-based AgentCore CLI for new projects, but its project format and commands differ from this project. Do not install both CLIs in the same environment because both provide an agentcore command.


Repository Structure


├── starter/

│   ├── lambda/

│   │   ├── order\_tracker.py

│   │   ├── refund\_processor.py

│   │   └── lambda schema

│   ├── main.py

│   └── product\_catalog.txt

├── setup\_permissions.py

├── pyproject.toml

└── README.md  





About

Autonomous AI Customer Support Agent built with Amazon Bedrock AgentCore & Strands SDK. Features MCP tool discovery, Knowledge Base RAG, cross-session memory, and Python sandbox code execution. Project 2 for Future AWS Agent Engineer Nanodegree.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages