4.0 KiB
📚 Amazon Bedrock AgentCore Tutorials
Welcome to the tutorials section of the Amazon Bedrock AgentCore samples repository!
This folder contains interactive, notebook-based tutorials designed to help you learn the fundamental capabilities of Amazon Bedrock AgentCore through hands-on examples.
Our tutorials are organized by Amazon Bedrock AgentCore components:
- Runtime: Amazon Bedrock AgentCore Runtime is a secure, serverless runtime capability that empowers organizations to deploy and scale both AI agents and tools, regardless of framework, protocol, or model choice—enabling rapid prototyping, seamless scaling, and accelerated time to market
- Gateway: AI agents need tools to perform real-world tasks—from searching databases to sending messages. Amazon Bedrock AgentCore Gateway automatically converts APIs, Lambda functions, and existing services into MCP-compatible tools so developers can quickly make these essential capabilities available to agents without managing integrations.
- Memory: Amazon Bedrock AgentCore Memory makes it easy for developer to build rich, personalized agent experiences with fully-manged memory infrastructure and the ability to customize memory for your needs.
- Identity: Amazon Bedrock AgentCore Identity provides seamless agent identity and access management across AWS services and third-party applications such as Slack and Zoom while supporting any standard identity providers such as Okta, Entra, and Amazon Cognito.
- AgentCore tools: Amazon Bedrock AgentCore provides two built-in tools to simplify your agentic AI application development: Amazon Bedrock AgentCore Code Interpreter tool enables AI agents to write and execute code securely, enhancing their accuracy and expanding their ability to solve complex end-to-end tasks. Amazon Bedrock AgentCore Browser Tool is an enterprise-grade capability that enables AI agents to navigate websites, complete multi-step forms, and perform complex web-based tasks with human-like precision within a fully managed, secure sandbox environment with low latency
Additionally, we provide an end-to-end example that demonstrate how to combine these components in practical scenarios.
Amazon Bedrock AgentCore
The Amazon Bedrock AgentCore services can be used independently or combined to create production ready agents. They work with any agentic framework (such as Strands Agents, LangChain, LangGraph or CrewAI) and any model, available on Amazon Bedrock or not.
In these tutorials, we will learn how to use each service individually and combined.
🎯 Who These Tutorials Are For
These tutorials are perfect for:
- Getting started with Amazon Bedrock AgentCore
- Understanding core concepts before building advanced applications
- Getting a solid foundation in AI agent development using Amazon Bedrock AgentCore
Setting up environment
You will need to install the pre-requisites for deploying your agent into AgentCore Runtime. Follow the instructions below to get your environment up and running:
- Install Docker or Finch. You can get started here
- Make sure that you Docker or Finch is running
- For better package control it is strongly recommended that you create a virtual environment to run your applications.
uv
tool is a high-speed package and project manager for Python. We recommend usinguv
to manager your environment here. You can install uv with the instructions from here - Once you have
uv
installed, create and activate a new environment using the following commands:
uv python install 3.10
uv venv --python 3.10
source .venv/bin/activate
uv init
- Next add the required packages to your
uv
environment:
uv add -r requirements.txt --active
uv add ipython --active
uv add ipykernel --active
uv add pandas --active
- You can start a Jupyter notebook instance from your
uv
environment using:
uv run --with jupyter jupyter lab