AIToday
Large Language ModelsAI Coding AssistantsOpen-Source AIAmazon AI BlogPublished: Nov 5, 2026, 04:00 JST

Deep Insight cuts agent context tokens 95% with four-layer design

Send on LINE
Deep Insight cuts agent context tokens 95% with four-layer design

3 Key Points

  1. What happened

    Deep Insight, an open-source multi-agent data analysis solution built on the Strands Agents SDK and Amazon Bedrock AgentCore, applies four context-engineering layers; its write-and-execute tool cuts per-script context tokens by about 95 percent, and on-demand skill loading shrinks the system prompt by about 97 percent.

  2. Why it matters

    Its layered isolation, prompt budgets, file externalization and verification agents together keep even the most context-hungry agent under 25K tokens, suggesting long data-analysis tasks can run without overflowing the model's context window.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, every morning.

By signing up you agree to the Terms of Service and Privacy Policy.

Context & Analysis

Deep Insight organizes its approach around a problem familiar to anyone running agents on long data tasks: a task like analyzing sales data and producing a report can consume over 150K tokens across 15 minutes, pushing against the 200K context window of models such as Anthropic Claude Sonnet 4.5 on Amazon Bedrock. The series draws on Anthropic's engineering posts and features in the Strands Agents SDK to define four layers, each compensating for what the previous one misses. The first layer gives each specialized agent its own context, passing only compressed summaries through a shared Python dictionary limited to four fields. The second layer caps each agent's output with token budgets and rules like self-contained code scripts. The third layer moves heavy content to the filesystem, and the fourth adds Tracker, Validator and Auditor agents plus a SummarizingConversationManager as a final safety net. The post says the combination lets even the most context-hungry agent stay under 25K tokens, and it points to Part 3 for deployment guidance.

FAQ
What is Deep Insight?
Deep Insight is an open-source multi-agent data analysis solution built on the Strands Agents SDK and Amazon Bedrock AgentCore, used as the reference implementation for the four context-engineering layers.
How does Deep Insight keep context under control?
It uses four layers: isolating context across specialized agents, limiting agent outputs through prompts, externalizing heavy content to files, and verifying results with independent agents and safeguards.
What concrete savings does the write-and-execute tool deliver?
By writing and executing code in one step, the tool keeps code out of context and returns only a short summary, cutting the tokens each script adds by about 95 percent.
Amazon AI BlogRead Original Article
Send on LINE

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

By signing up you agree to the Terms of Service and Privacy Policy.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Related Articles

Next articleGoogle AI Mode use doubles to 44%, Canly survey finds