Skip to content
プロジェクト

awslabs/agentcore-samples

GitHubで見る

概要

Amazon Bedrock AgentCore は、実運用に不可欠なスケール、信頼性、セキュリティを備え、AI エージェントの本番導入を加速します。

セキュリティ・プライバシー

この数値の測り方

できること

  • Runtime — Secure, serverless runtime for deploying agents and tools at scale
  • Gateway — Convert APIs, Lambda functions, and services into MCP-compatible tools
  • Identity — Agent identity and access management across AWS and third-party apps
  • Memory — Managed memory infrastructure for personalized agent experiences

計測したスター増加

24時間
+3
7日間
+21
15日間
+37
1か月
+65

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

Amazon Bedrock AgentCore Samples

Deploy and operate AI agents securely at scale - using any framework and model

GitHub commit activity GitHub open issues GitHub open pull requests License

Documentation ◆ Python SDK ◆ AgentCore CLI ◆ Discord

Welcome to the Amazon Bedrock AgentCore Samples repository!

Amazon Bedrock AgentCore is both framework-agnostic and model-agnostic, giving you the flexibility to deploy and operate advanced AI agents securely and at scale. Whether you’re building with Strands Agents, CrewAI, LangGraph, LlamaIndex, or any other framework—and running them on any Large Language Model (LLM)—Amazon Bedrock AgentCore provides the infrastructure to support them. By eliminating the undifferentiated heavy lifting of building and managing specialized agent infrastructure, Amazon Bedrock AgentCore lets you bring your preferred framework and model, and deploy without rewriting code.

This collection provides examples and tutorials to help you understand, implement, and integrate Amazon Bedrock AgentCore capabilities into your applications.

Starter Toolkit retirement: For a new project, follow the CLI v1 getting-started sample. The migration guide and some existing Harness labs target CLI v0; follow their version-specific prerequisites rather than mixing v0 and v1 commands. Some older examples still use Starter Toolkit; check the selected sample’s setup rather than installing it repository-wide. bedrock-agentcore is the supported Python Runtime SDK, distinct from both the deprecated Toolkit and the Node.js AgentCore CLI.

🎥 Video

Build your first production-ready AI agent with Amazon Bedrock AgentCore. We’ll take you beyond prototyping and show you how to productionize your first agentic AI application using Amazon Bedrock AgentCore.

📁 Repository Structure

🚀 getting-started/

Your First Agent in Minutes

Get up and running with the AgentCore CLI — the fastest way to create, develop, and deploy agents on Amazon Bedrock AgentCore.

  • python/ — Python agent samples (Code Interpreter, Gateway, Memory, Identity, and more)
  • typescript/ — TypeScript agent samples

🧩 features/

AgentCore Capabilities Deep Dives

Focused examples for individual AgentCore capabilities:

  • Runtime — Secure, serverless runtime for deploying agents and tools at scale
  • Gateway — Convert APIs, Lambda functions, and services into MCP-compatible tools
  • Identity — Agent identity and access management across AWS and third-party apps
  • Memory — Managed memory infrastructure for personalized agent experiences
  • Tools — Built-in Code Interpreter, Browser Tool, Web Search Tool
  • Observability — Trace, debug, and monitor agent performance with OpenTelemetry
  • Evaluation — Built-in and custom evaluators for on-demand and online evaluation
  • Policy — Fine-grained access control with Cedar policies

💡 end-to-end/

Complete Applications

Production-ready use cases that combine multiple AgentCore capabilities to solve real business problems. Each includes deployment instructions, architecture diagrams, and testing guides.

🔌 integrations/

Connect AgentCore to Your Stack

🏗️ infrastructure-as-code/

Deployment Automation

Production-ready templates for provisioning AgentCore resources with CloudFormation, AWS CDK, or Terraform.

🚀 blueprints/

Full-Stack Reference Applications

Complete, deployment-ready agentic applications with integrated services, authentication, and business logic you can customize for your use case.

Quick start with the AgentCore CLI

Follow Build a customer-support agent for one complete path: install the tested CLI version without replacing your global installation, run the offline tests, try the agent locally, deploy it in a sandbox, and clean up. Local model calls and deployed resources can incur charges. Check the sample’s prerequisites and verify the account before deployment; don’t grant broad administrator or model permissions just to follow an example.

Already using CDK, CloudFormation, Terraform or direct service APIs? Use the setup that matches your chosen sample. A working infrastructure-as-code example does not need an additional CLI project.

Running a notebook

Use a separate environment per sample. Start from the notebook’s README, not a repository-wide collection of frameworks. The root requirements.txt installs only JupyterLab and its Python kernel; it does not install the Runtime SDK, model providers or deployment tooling.

For a sample that uses pip (Bash, from the repository root):

repo=$PWD
cd path/to/the/notebook-directory  # replace with the actual directory
python3 -m venv .venv
source .venv/bin/activate
python -m pip install -r "$repo/requirements.txt"  # optional notebook UI and kernel
# Install the requirements specified by THIS sample, e.g. when it has a requirements.txt:
python -m pip install -r requirements.txt
jupyter lab

If the example uses uv and a lockfile, follow its frozen install instructions instead. In Jupyter, select the kernel for that sample environment. Read setup, cost and cleanup steps before executing cells: some notebooks provision billable resources or contact external providers. Do not paste credentials or tokens into notebook cells or outputs.

🔗 Related Links

🤝 Contributing

We welcome contributions! Please see our Contributing Guidelines for details on:

  • Adding new samples
  • Improving existing examples
  • Reporting issues
  • Suggesting enhancements

📄 License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

Contributors

関連プロジェクトを探す

読み込み中…