Amazon Bedrock AgentCore Code Interpreter is a secure and serverless, environment where AI agents can directly write and execute code to complete end-to-end tasks, enabling them to perform complex data analysis, run simulations, generate visualizations, and automate programming tasks.
The code execution sandbox enables agents to safely process user queries by creating an isolated environment with a code interpreter, shell, and file system. After a Large Language Model helps with tool selection, code is executed within this session, before being returned to the user or Agent for synthesis.
Ability to persist sessions across executions
Provides enterprise-grade features including VPC connectivity and outside internet access
Multiple pre-built runtimes including Python, NodeJS & TypeScript(coming soon: support for custom runtime code execution engine with custom libraries)
Amazon Bedrock AgentCore Code Interpreter integrates with other Amazon Bedrock AgentCore capabilities through a unified SDK, including:
- Amazon Bedrock AgentCore Runtime
- Amazon Bedrock AgentCore Identity
- Amazon Bedrock AgentCore Memory
- Amazon Bedrock AgentCore Observability
This integration aims to simplify the development process and provide a comprehensive platform for building, deploying, and managing AI agents, with powerful code execution capabilities.
The Amazon Bedrock AgentCore Code Interpreter is suitable for a wide range of applications, including:
- Code Execution and Review
- Data Analysis and Visualization
In these tutorials we will cover the following functionality:
