Lifestyle
Amazon Bedrock Managed Knowledge Base Adds Single-Shot RAG and Retrieval-Only Modes, Letting Developers Match Retrieval to Question Difficulty
AWS announced that Amazon Bedrock Managed Knowledge Base now supports single-shot RAG and retrieval-only requests through AgenticRetrieveStream, alongside its existing agentic retrieval. Developers building internal company AI assistants can handle quick lookups and complex comparisons with one API. AWS says simple questions can get faster responses with less model usage.
About 5 min read

What happened
In an official blog post, AWS announced that Amazon Bedrock Managed Knowledge Base now supports single-shot retrieval-augmented generation (RAG) and retrieval-only requests through AgenticRetrieveStream, an API (the interface applications use to send requests to the service). RAG means first finding relevant passages in a company's documents, then having an AI model write an answer based on those passages. A knowledge base is the store that holds those documents for the AI to query.
According to AWS, single-shot RAG searches the knowledge base once, and a foundation model (the large AI model that understands the question and generates text) then writes an answer from the passages found. Retrieval-only returns just the matching passages without generating an answer, so an application or user can work with the original text directly. These two modes join the existing agentic retrieval, in which the service plans and runs multiple searches on its own before answering.
AWS explains that in agentic retrieval, the foundation model breaks the question into sub-queries, searches the relevant knowledge bases and evaluates whether the results are sufficient. When necessary, it adjusts the search within the configured iteration limit, and it can also fetch the full document when a passage lacks context. When response generation is enabled, the service combines the retrieved information into an answer with citations, and trace events (a step-by-step log for developers) show the planning and retrieval steps.
How to choose among the three modes
AWS says the range of maxAgentIteration, a setting in each request, is now 0 to 5, and this single parameter decides which mode each request uses. One iteration equals one foundation model call. A value of n allows at most n minus 1 rounds of agentic planning, with the final iteration reserved for generating the answer. AWS also notes that the initial speculative retrieval run before the first planning step does not count toward the iteration total.
| maxAgentIteration | Behavior (per AWS) | Suited for |
|---|---|---|
| 0 | One retrieval, no foundation model call, equivalent to calling the Retrieve API (AWS's existing passage-fetching call) directly | Getting passages, reviewing source text |
| 1 | One retrieval plus one answer, no planning or query rewriting | Direct questions with a clear scope |
| 2 to 5 | Up to n minus 1 rounds of planning, then an answer | Multi-part, comparison and cross-knowledge-base questions |
Practical impact for users and developers
For internal company Q&A assistants, simple lookups and complex comparisons can now share the same API. AWS notes that single-shot RAG uses just one foundation model call, which can reduce latency and model usage compared with agentic retrieval, while retrieval-only makes no foundation model call at all.
AWS gives three usage examples. For the question "What documents are required to open a business checking account for a sole proprietor?", use maxAgentIteration=1 with response generation on. For a question comparing account-opening requirements for sole proprietorships and limited liability companies (LLCs), use maxAgentIteration=4. When someone needs to read the original policy text, use 0 with response generation off.
Limits and caveats
- AWS says choosing a mode is application logic; the parameter does not route requests automatically.
- With maxAgentIteration=0, setting generateResponse to true is an invalid configuration and returns a 4xx error (the service rejects the request).
- Retrieval-only passages appear in the stream's result events and do not include score or location fields, unlike the response format of a direct Retrieve call.
- AWS says its example assistant does not approve accounts and does not replace the bank's review and authorization processes.
- AWS cautions that a higher iteration limit does not always produce better answers, and recommends evaluating with representative questions.
How to get started (per AWS)
- Prepare a set of representative questions and expected answers from your own documents, including questions that require multiple documents to answer and questions the documents cannot answer.
- Following the AgenticRetrieveStream API reference, set maxAgentIteration and generateResponse in the request.
- On the same knowledge base, compare single-shot RAG with your existing agentic setup, measuring response latency and request cost, and checking whether answers are correct and supported by retrieved passages.
- Based on the results, choose the lowest iteration limit that meets the quality requirements for each workflow.
Frequently asked questions
Is single-shot RAG limited to a single knowledge base?
No. AWS says all three modes, including maxAgentIteration of 0 and 1, support multiple knowledge bases. What agentic mode adds is query decomposition, evidence evaluation and iterative search.
Will existing agentic requests be affected?
According to AWS, existing requests using 2 to 5 keep their current behavior. Developers can therefore adopt the new modes selectively without redesigning the whole application.
Does retrieval-only mode call a language model?
No. AWS says maxAgentIteration=0 calls no foundation model and behaves like a direct Retrieve API call, though the response format differs.
Should the value be set high or low?
AWS says lower values mean faster, more predictable calls, while higher values let the planner decompose and adjust searches for truly difficult questions. AWS recommends starting low for simple queries and raising the value when accuracy on complex questions matters more than latency.
Browse the latest news in this topic
Lifestyle
Claude Code 2.1.321 Update: Fable 5.2 Becomes the Default Model, With Changes to mods Permissions and Enterprise Management Rules
Anthropic's official Claude Code changelog says version 2.1.321 adds Claude Fable 5.2 and makes it the default Fable model. This release also changes mods permissions, Remote Control, managed marketplaces and gateway behavior. Both general users and enterprise administrators may be affected.
Lifestyle
Nvidia Board Investigates CEO Jensen Huang Over Ties to Megaspeed Executive Alleged to Be a Chinese Spy
The Verge reports that Nvidia has announced an investigation into CEO Jensen Huang's relationship with Megaspeed executive Alice Huang, whom US officials call a Chinese spy. The company says it sees no reason to believe national security or its secrets were compromised; the probe continues.
Lifestyle
Anthropic Publishes a Claude Model Guide: How Haiku, Sonnet, Opus and Fable Divide the Work
A post on the claude.dev blog explains what each of Claude's four general-purpose models is suited for, how much their API prices differ, and what to check before switching. For anyone building products or writing code with Claude, the choice affects cost, speed and results. Everything below is as stated by that official source.
Lifestyle
AWS Adds NVIDIA Nemotron 3.5 Super VL: SageMaker JumpStart Users Can Deploy an AI Model That Reads Images and Video
AWS announced that NVIDIA's Nemotron 3.5 Super VL, which understands images, video and text, is now available in Amazon SageMaker JumpStart in NVFP4 and BF16 versions, for processing documents, charts, video and screen content. This article covers what it does, how the two versions differ, performance figures and limits.