In this tutorial you will learn how to use AgentCore Bedrock Code Interpreter to:
- Set up a sandbox environment
- Load and analyze data
- Execute code in a sandbox environment
- Process and retrieve results
| Information | Details |
|---|---|
| Tutorial type | Conversational |
| Tutorial components | Bedrock AgentCore Code Interpreter |
| Tutorial vertical | Cross-vertical |
| Example complexity | Easy |
| SDK used | Amazon BedrockAgentCore Python SDK and boto3 |
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.
