Break the context window barrier with Amazon Bedrock AgentCore
Amazon Bedrock just solved the context window problem. Here's how to process unlimited-length documents without rewriting your stack.

Why it matters
Amazon is shipping a practical workaround to context-window limits via AgentCore's Code Interpreter, enabling enterprises to process arbitrarily long documents through recursive sub-LLM calls—a key competitive move against OpenAI's extended context models.
The key facts
12 to knowAmazon Bedrock AgentCore Code Interpreter enables Recursive Language Models (RLM)
Supports document processing with no upper bound on context size
Uses persistent working memory for iterative document analysis
Integrates Strands Agents SDK for orchestration
Sandboxed Python environment for sub-LLM calls
Published May 21, 2026 on AWS ML blog
Amazon Bedrock AgentCore Code Interpreter launched with RLM support
Enables document processing with no upper bound on context size
Strands Agents SDK integration for orchestration
Persistent working memory for iterative analysis
Sub-LLM calls from sandboxed Python environment
Solves context window limitation without model switching
Go to the source
AWS Machine Learning Blogaws.amazon.com
Publisher excerpt: In this post, you will learn how to implement Recursive Language Models (RLM) using Amazon Bedrock AgentCore Code Interpreter and the Strands Agents SDK. By the end, you will know how to process documents of varying lengths, with no upper bound on context size, use Bedrock AgentCore Code…
