Skip to content

aws-samples/sample-getting-started-with-amazon-agentcore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

13 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Starting with Amazon Bedrock AgentCore


Bring AI agents into production in minutes with Amazon Bedrock AgentCore

This repository contains hands-on labs demonstrating the capabilities of Amazon Bedrock AgentCore, an agentic platform to build, deploy and operate agents securely at scale - using any framework and model.

What is Amazon Bedrock AgentCore?

Amazon Bedrock AgentCore enables developers to accelerate AI agents into production with enterprise-grade scale, reliability, and security. AgentCore provides composable services that work with popular open-source frameworks and any model, eliminating the choice between open-source flexibility and enterprise requirements.

AgentCore Services Overview

agentcore_overview

Service Purpose Key Features
AgentCore Runtime⭐ Serverless execution Auto-scaling, session management, container orchestration
AgentCore Identity Credential management API keys, OAuth tokens, secure vault
AgentCore Memory⭐ State persistence Short-term memory, long-term storage
AgentCore Gateway Connects agent to tools and data Tool discovery, service integration
AgentCore Code Interpreter Code execution Secure sandbox, data analysis
AgentCore Browser Web interaction Cloud browser, auto-scaling
AgentCore Observability Monitoring Tracing, dashboards, debugging
AgentCore Policy Security boundaries Deterministic control, Cedar policies, natural language authoring
AgentCore Evaluations Performance assessment Automated testing, LLM-as-a-Judge, quality metrics

Prerequisites

Before starting any lab, ensure you have:

Optional: Using uv for Python Project Management

For faster Python dependency management, consider using uv instead of traditional pip and venv:

# Install dependencies with uv (faster alternative to pip)
uv pip install -r requirements.txt

# Or initialize projects with uv
uv init my-agent-project

This is optional - all labs work with standard pip commands as documented.

Overview

πŸ““ Services 🎯 Focus & Key Learning ⏱️ Time πŸ“Š Level
01 - Amazon Bedrock AgentCore Runtime Serverless AI agent deployment with auto-scaling, session management, and built-in security 10 min Intermediate
02 - Amazon Bedrock AgentCore Memory Context-aware memory for conversation context and cross-session knowledge retention 10 min Intermediate

Detailed Lab Descriptions

πŸ““ Services 🎯 Focus & Key Learning πŸ–ΌοΈ Diagram
Amazon Bedrock AgentCore Runtime Focus: Serverless AI Agent Deployment

Deploy production-ready AI agents with just 2 commands using AgentCore Runtime. This lab demonstrates:
β€’ Serverless agent deployment with auto-scaling
β€’ Session management and isolation
β€’ Built-in security and authentication
β€’ Integration with Strands Agents framework

Key Learning: Transform prototype agents into production-ready services in minutes, not weeks.
image
Amazon Bedrock AgentCore Memory Focus: Intelligent Memory Capabilities

Add context-aware memory to AI agents using AgentCore Memory. This lab covers:
β€’ Short-term memory for conversation context
β€’ Long-term memory for user preferences
β€’ Cross-session knowledge retention
β€’ Personalized agent experiences

Key Learning: Build agents that remember and learn from interactions to provide more intelligent responses.
memory

Getting Started

Each lab includes:

  • Prerequisites: Required setup and dependencies
  • Step-by-step deployment: Automated infrastructure setup
  • Code explanations: Detailed implementation walkthrough
  • Cleanup instructions: Resource removal

Ready to deploy production AI agents? Start with 01-agentcore-runtime to learn the fundamentals of AgentCore Runtime.

Resources

Documentation

Code Examples

Security

See CONTRIBUTING for more information.

License

This library is licensed under the MIT-0 License. See the LICENSE file.


About

This repository contains hands-on labs demonstrating the capabilities of Amazon Bedrock AgentCore, a suite of services that enables you to deploy and operate highly effective AI agents securely at scale

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

9 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages