Understand the available interfaces for using Amazon Bedrock AgentCore - Amazon Bedrock AgentCore

Understand the available interfaces for using Amazon Bedrock AgentCore

Amazon Bedrock AgentCore supports various interfaces for developing and deploying your agent code. The simplest approach is to use the AgentCore Python SDK to create your agent code and use the AgentCore starter toolkit to deploy your agent.

The AgentCore starter toolkit and AgentCore Python SDK don't support all AgentCore operations that the AWS SDK supplies. If they don't support a specific AgentCore operation, use the AWS SDK.

Amazon Bedrock AgentCore starter toolkit

The AgentCore starter toolkit provides CLI tools and higher-level abstractions for:

  • Deployment: Containerize and deploy agents to AWS infrastructure

  • Import Agent: Migrate existing Bedrock Agents to AgentCore with framework conversion

  • Gateway Integration: Transform existing APIs into agent tools

  • Configuration Management: Manage environment and deployment settings

  • Observability: Monitor agents in production environments

The getting started instructions in this guide use the AgentCore starter toolkit.

AgentCore Python SDK

The AgentCore Python SDK provides Python primitives for agent development with built-in support for:

  • Runtime: Lightweight wrapper over the AgentCore operations in the AWS SDK that lets you easily write Python code for an agent.

  • Memory: Persistent storage for conversation history and agent context

  • Tools: Built-in clients for code interpretation and browser automation

  • Identity: Secure authentication and access management

The AgentCore Python SDK supports multiple frameworks, such as Strands Agents and LangGraph. If you are using other AWS services, you'll need to use the AWS SDK to integrate those services into your agent, alongside your AgentCore Python SDK code.

Amazon Bedrock AgentCore MCP server

The AgentCore Model Context Protocol (MCP) server helps you transform, deploy, and test AgentCore-compatible agents directly from your preferred development environment. With built-in support for runtime integration, gateway connectivity, and agent lifecycle management, the MCP server simplifies moving from local development to production deployment on AgentCore services.

The MCP server works with popular MCP clients including Kiro, Cursor, Claude Code, and Amazon Q CLI, providing conversational commands to automate complex agent development workflows.

For more information, see Amazon Bedrock AgentCore MCP Server: Vibe coding with your coding assistant.

AWS SDK

You can use the AWS SDK to achieve the same results as the AgentCore Python SDK, as well as other tasks that the AgentCore Python SDK doesn't support. You'll need to use the AWS SDK to interact with other AWS services such as AWS Lambda and Amazon S3. You'll also need to the AWS SDK if you aren't using Python as your coding language.

To configure and deploy an agent, you use AWS control plane API. For example, you can create an AgentCore Runtime or create an AgentCore Memory.

At runtime, you use the AgentCore data plane API for tasks such as adding a memory event to an AgentCore Memory. The client code that calls your agent uses the InvokeAgentRuntime data plane operation to invoke an agent that you have hosted in an AgentCore Runtime.

Amazon Bedrock AgentCore console

You can use the AgentCore console to create and manage the AgentCore services that your agent code uses. You can get code snippets that show to call an agent hosted in an AgentCore Runtime. You can also test your agent in the agent sandbox. Open the console at https://console.aws.amazon.com/bedrock-agentcore/home#.

AWS Command Line Interface

You can use the AWS CLI with the AgentCore services that you use. Use control plane api to create and manage services. For example you can create an AgentCore Memory or update the endpoint for an AgentCore Runtime. You can also perform runtime actions with the data plane API, which can be useful for testing an agent.