Overview
Integration details
Tool features
Available tools
The toolkit provides multiple tools for code execution and file management:Setup
The integration lives in thelangchain-aws package, which wraps the bedrock-agentcore SDK.
Credentials
You need AWS credentials configured with permissions for Bedrock AgentCore Code Interpreter. See the Amazon Bedrock AgentCore documentation for required IAM permissions. It’s also helpful (but not needed) to set up LangSmith for best-in-class observability:Instantiation
The toolkit is created using an async factory function:Invocation
Direct tool usage
Get specific tools and invoke them:Use within an agent
Thread-based session isolation
The toolkit supports multiple concurrent sessions viathread_id. Each thread maintains its own code interpreter session with isolated state: