Expert AWS Bedrock AgentCore

VérifiéPrudence

Expert complet pour déployer et gérer des agents IA sur AWS Bedrock AgentCore. Couvre Gateway, Runtime, Memory, Identity et plus avec intégration MCP et CLI.

Spar Skills Guide Bot
Data & IAAvancé
29/08/2026
Claude Code
#aws#bedrock#ai-agents#mcp-gateway#agent-deployment

Recommandé pour

Synthèse automatique

Skill de référence qui oriente vers les neuf services d'AWS Bedrock AgentCore (Gateway, Runtime, Memory, Identity, Code Interpreter, Browser, Observability, Registry, Evaluations) et décrit les workflows de déploiement via AWS CLI.

Points forts

  • Routage clair par service vers un README dédié avant toute réponse
  • Workflows pas à pas concrets, comme le déploiement d'une cible Gateway via un schéma OpenAPI stocké sur S3
  • Vérification des faits AWS imposée via deux serveurs MCP de documentation (AgentCore et AWS général)
  • Hook PreToolUse qui contrôle l'identité AWS avant toute création de ressource AgentCore

Limites

  • Suppose une configuration MCP et des identifiants AWS opérationnels (skill aws-mcp-setup)
  • Le SKILL.md n'est qu'un index : le contenu réel dépend de fichiers README annexes non fournis ici
  • Agent Registry est en Preview, donc l'API et les commandes peuvent évoluer
Quand l'utiliser

Pour déployer, cataloguer, intégrer via MCP ou évaluer des agents sur AWS Bedrock AgentCore.

Quand l'éviter

Pour développer un agent en dehors d'AWS ou pour des questions AWS générales sans lien avec AgentCore.

Analyse de sécurité

Prudence
Score qualité82/100

The skill is a documentation-and-routing guide for AWS Bedrock AgentCore. It only invokes scoped AWS CLI read/deploy commands, S3 copy, Secrets Manager, and documentation MCP tools for clearly stated legitimate purposes (deploying agents, managing credentials, cataloging resources). There is no obfuscation, no piping remote scripts to a shell, no exfiltration of secrets, and no attempt to disable safety controls. It is rated caution rather than safe only because it wields powerful, account-mutating tools (including a broad secretsmanager wildcard and S3 copy) that a human should be aware of.

Points d'attention
  • •Broad `Bash(aws secretsmanager *)` wildcard permits reading/writing secrets, though framed for legitimate credential provider management
  • •`Bash(aws s3 cp *)` allows arbitrary object upload/download via the AWS CLI
  • •Wildcard MCP tool grants (`mcp__aws-mcp__*`, `mcp__awsdocs__*`) delegate capability to external MCP servers not visible in this file
  • •Runs AWS CLI mutations against live accounts (create/register/deploy) that can alter infrastructure
Comment cette analyse est faite

Exemples

Deploy an agent to Runtime
Deploy my agent code in ./agent to Amazon Bedrock AgentCore Runtime and give me the invocation endpoint when it's live.
Expose an OpenAPI as MCP tools
Turn the OpenAPI schema at s3://my-bucket/petstore.json into an AgentCore Gateway MCP target using API key auth.
Evaluate agent quality
Run an AgentCore evaluation with LLM-as-a-Judge on my deployed agent and summarize the quality scores.

name: aws-agentic-ai aliases:

  • bedrock-agentcore description: AWS Bedrock AgentCore comprehensive expert for deploying and managing AI agents at scale. Use when working with any AgentCore service including Gateway, Runtime, Memory, Identity, Code Interpreter, Browser, Observability, Agent Registry, or Evaluations. Covers agent deployment, MCP tool integration, credential management, agent discovery, governance workflows, and automated quality assessment. Essential when user mentions AgentCore, agent runtime, agent registry, agent evaluation, MCP gateway, deploy agent, register MCP server, discover agents, evaluate agent quality, agent credentials, or wants to build, deploy, catalog, or monitor AI agents on AWS. context: fork model: sonnet skills:
  • aws-mcp-setup allowed-tools:
  • mcp__aws-mcp__*
  • mcp__awsdocs__*
  • mcp__acdocs__search_agentcore_docs
  • mcp__acdocs__fetch_agentcore_doc
  • Bash(aws bedrock-agentcore *)
  • Bash(aws bedrock-agentcore-control *)
  • Bash(aws bedrock-agentcore-runtime *)
  • Bash(aws bedrock *)
  • Bash(aws s3 cp *)
  • Bash(aws s3 ls *)
  • Bash(aws secretsmanager *)
  • Bash(aws sts get-caller-identity) hooks: PreToolUse:
    • matcher: Bash(aws bedrock-agentcore-control create-*) command: aws sts get-caller-identity --query Account --output text once: true

AWS Bedrock AgentCore

AWS Bedrock AgentCore provides a complete platform for deploying and scaling AI agents with nine core services. This skill covers service selection, deployment patterns, and integration workflows using AWS CLI.

How to use this skill: Identify the service(s) the user needs from the table below, then read the corresponding service README before responding. For cross-service patterns (credentials, security, registry integration), check the Cross-Service Resources section. Verify AWS-specific details using the MCP documentation tools.

AWS Documentation Requirement

Always verify AWS facts using MCP tools before answering. Two documentation sources are available:

  • AgentCore-specific docs (mcp__acdocs__*) — bundled with this plugin, provides search_agentcore_docs and fetch_agentcore_doc for AgentCore documentation
  • General AWS docs (mcp__aws-mcp__* or mcp__*awsdocs*__*) — loaded via the aws-mcp-setup dependency for broader AWS documentation

Prefer the AgentCore docs MCP for AgentCore-specific questions. If MCP tools are unavailable, guide the user through the aws-mcp-setup skill's setup flow.

Available Services

| Service | Use For | Documentation | |---------|---------|---------------| | Gateway | Converting REST APIs to MCP tools | services/gateway/README.md | | Runtime | Deploying and scaling agents | services/runtime/README.md | | Memory | Managing conversation state | services/memory/README.md | | Identity | Credential and access management | services/identity/README.md | | Code Interpreter | Secure code execution in sandboxes | services/code-interpreter/README.md | | Browser | Web automation and scraping | services/browser/README.md | | Observability | Tracing and monitoring | services/observability/README.md | | Agent Registry | Catalog, discover, and govern agents/tools (Preview) | services/registry/README.md | | Evaluations | Automated agent quality assessment (LLM-as-a-Judge) | services/evaluations/README.md |

Common Workflows

Deploying a Gateway Target

Read services/gateway/README.md before implementing — Gateway setup involves deployment strategies, IAM, and auth choices that vary significantly by use case.

  1. Upload OpenAPI schema to S3
  2. (API Key auth only) Create credential provider and store API key
  3. Create gateway target linking schema (and credentials if using API key)
  4. Verify target status and test connectivity

Credential provider is only needed for API key authentication. Lambda targets use IAM roles, and MCP servers use OAuth.

Managing Credentials

Read cross-service/credential-management.md first — credential patterns differ across services and getting them wrong causes hard-to-debug auth failures.

  1. Use Identity service credential providers for all API keys
  2. Link providers to gateway targets via ARN references
  3. Rotate credentials quarterly through credential provider updates
  4. Monitor usage with CloudWatch metrics

Discovering Agents and Tools (Agent Registry)

Read services/registry/README.md first — the registry has governance workflows, MCP endpoint options, and sync modes that affect how records become discoverable.

  1. Create a registry to catalog your organization's AI resources
  2. Register resources (MCP servers, agents, skills, custom) with descriptive metadata
  3. Submit records for approval (auto-approve for dev, manual for production)
  4. Search and discover approved resources via CLI or MCP endpoint

Agent Registry is in Preview. Available in us-east-1, us-west-2, eu-west-1, ap-northeast-1, ap-southeast-2.

Evaluating Agent Quality

Read services/evaluations/README.md first — evaluators, scoring modes, and IAM setup vary between online monitoring and on-demand testing.

  1. Instrument the agent with OpenTelemetry (ADOT) for trace collection
  2. Create evaluators (use built-in like Builtin.Helpfulness or create custom)
  3. Set up online evaluation with sampling rate and data source
  4. Monitor scores in CloudWatch dashboards; investigate low-scoring sessions

Monitoring Agents

Read services/observability/README.md for the full monitoring setup — observability configuration depends on your Runtime protocol and framework choice.

  1. Enable observability for agents
  2. Configure CloudWatch dashboards for metrics
  3. Set up alarms for error rates and latency
  4. Use X-Ray for distributed tracing

Deep-Dive References

Each service README (linked in the table above) contains sub-links to getting-started guides, troubleshooting, and advanced topics. Start with the service README and follow pointers from there.

Advanced Runtime & OAuth References

Deep-dive reference documentation for Runtime internals, deployment, OAuth integration, and communication protocols. Read these when building production Runtime deployments or configuring OAuth authentication:

  • OAuth Integration: references/agentcore-oauth-integration.md - Three-layer OAuth architecture (Inbound JWT, Outbound Credential Provider, Gateway OAuth), Cognito configuration, supported IdPs, end-to-end CDK examples
  • Runtime Core Mechanisms: references/agentcore-runtime-core.md - Container contract, MicroVM Session model, Agent lifecycle (per-request vs per-session), tool integration (MCP/HTTP), startup flow
  • Runtime Deployment & Operations: references/agentcore-runtime-deploy.md - CDK deployment (L1/L2 constructs), multi-Runtime architecture, security model, observability (OTel/CloudWatch), BedrockAgentCoreApp vs FastAPI comparison
  • Runtime Protocol Reference: references/agentcore-runtime-protocols.md - HTTP, MCP, A2A, AG-UI protocol specifications with container contracts, endpoint specs, and selection guide

Runnable Script Templates

Production-ready templates in scripts/ for common deployment patterns:

| Script | Protocol | Description | |--------|----------|-------------| | Dockerfile.runtime-template | — | ARM64 multi-stage Docker build for AgentCore Runtime | | runtime-fastapi-template.py | HTTP | FastAPI Runtime with SSE streaming and MCPClient | | mcp-server-template.py | MCP | MCP Server with Streamable HTTP transport | | a2a-server-template.py | A2A | A2A Server with Agent Card discovery | | agui-server-template.py | AG-UI | AG-UI Server with standard AG-UI event stream | | gateway-custom-resource-lambda.py | — | CDK Custom Resource Lambda for Gateway lifecycle |

Cross-Service Resources

For patterns and best practices that span multiple AgentCore services:

Additional Resources

Du fichier au premier essai

Le téléchargement contient exactement le contenu affiché sur cette fiche. Cette copie peut différer de la dernière version du dépôt source.

Consulter la source et ses fichiers annexes

Ce téléchargement contient uniquement SKILL.md. Les scripts, références, modèles et dépendances éventuels ne sont pas inclus. Récupérez les fichiers nécessaires depuis la source en conservant leur arborescence avant de poursuivre.

1. Télécharger le fichier

Télécharger SKILL.md

Depuis la racine d’un projet de test, enregistrez le fichier sous .skill-downloads/aws-bedrock-agentcore-expert-mte1lifu/SKILL.md, ou utilisez la commande suivante. Ce dossier sert à examiner la skill avant son installation.

Commande pour macOS/Linux ou WSL : un shell POSIX et curl sont nécessaires. Sous Windows sans WSL, utilisez le bouton de téléchargement et créez le dossier manuellement.

mkdir -p '.skill-downloads/aws-bedrock-agentcore-expert-mte1lifu' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/aws-bedrock-agentcore-expert-mte1lifu/download' --output '.skill-downloads/aws-bedrock-agentcore-expert-mte1lifu/SKILL.md.part' && mv '.skill-downloads/aws-bedrock-agentcore-expert-mte1lifu/SKILL.md.part' '.skill-downloads/aws-bedrock-agentcore-expert-mte1lifu/SKILL.md'

2. Vérifier les prérequis

Lisez SKILL.md avant de l’utiliser. Si le fichier cite des scripts ou services externes, examinez-les et préparez les accès nécessaires dans votre environnement de test.

Aucune section de prérequis reconnue dans ce fichier. Cela ne signifie pas qu’il est autonome : les bibliothèques, outils et accès peuvent être cités ailleurs dans le contenu ou dans le dépôt source.

Les plateformes de la fiche sont des indications du catalogue. Les chemins ci-dessous suivent la documentation des outils ; ils ne prouvent pas que cette skill y a été exécutée. Aucune version minimale de ces outils n’est attestée pour cette fiche.

3. Charger la skill

Après vérification, copiez le dossier complet dans le projet avec l’une des commandes ci-dessous, puis ouvrez une nouvelle session de l’outil. La commande s’arrête si un dossier du même nom existe déjà : comparez les fichiers avant de le remplacer.

Claude Code
test -f '.skill-downloads/aws-bedrock-agentcore-expert-mte1lifu/SKILL.md' && test -s '.skill-downloads/aws-bedrock-agentcore-expert-mte1lifu/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/aws-agentic-ai' && cp -R '.skill-downloads/aws-bedrock-agentcore-expert-mte1lifu' '.claude/skills/aws-agentic-ai'

OpenSkills

OpenSkills doit déjà être installé. La procédure locale install/read est contrôlée avec OpenSkills 1.5.0, qui exige Node.js ≥ 20.6.0. Aucun slug du catalogue n’est résolu automatiquement.

Installation officielle d’OpenSkills
openskills install './.skill-downloads/aws-bedrock-agentcore-expert-mte1lifu'

openskills read 'aws-bedrock-agentcore-expert-mte1lifu'

La lecture doit afficher le contenu du fichier installé et son dossier de base. Elle ne lance ni la skill ni ses dépendances.

Pour un agent qui lit AGENTS.md, synchronisez ensuite l’index. Cette commande modifie AGENTS.md : relisez le diff avant de l’utiliser.

openskills sync

Mode manuel ou autre outil : joignez SKILL.md à une conversation, ou ouvrez-le dans un agent capable de lire les fichiers. Ajoutez les ressources annexes nécessaires. Il n’existe pas de dossier universel reconnu par tous les outils.

4. Faire un premier essai

Utilisez une entrée courte et fictive : un endpoint d’API, un petit document ou un brief d’interface. Dans une nouvelle conversation, joignez le fichier ou donnez son chemin à l’agent, puis adaptez cette demande :

Lis .skill-downloads/aws-bedrock-agentcore-expert-mte1lifu/SKILL.md et applique ses instructions à cet exemple : [décrire une entrée de test]. Indique les fichiers, dépendances ou accès qui manquent. Produis le résultat demandé par la skill sans inventer de données ni exécuter de script non examiné.

Résultat attendu : une sortie correspondant aux instructions de la skill, ou une liste précise des prérequis manquants. Une simple confirmation de lecture ne valide pas le premier usage. Si une ressource externe est indisponible, ce parcours reste à tester.

Skills similaires