Bedrock's AgenticRetrieveStream now takes maxAgentIteration 0 or 1: passages only, or one retrieval plus one answer
On November 9, 2026, AWS said Amazon Bedrock Managed Knowledge Base can run retrieval‑only and single‑shot RAG requests through AgenticRetrieveStream. Setting maxAgentIteration to 0 with generateResponse false returns passages with no foundation model call. Setting it to 1 retrieves once and generates one answer with no planning rounds. Values 2 to 5 keep the existing agentic behavior. The application chooses the mode; the parameter does not route requests automatically. AWS gives no new latency, cost or accuracy measurements, and the passages‑only stream differs in shape from a direct Retrieve call.
What changed
The three settings
Per the announcement 1:
maxAgentIteration=0: one guaranteed retrieval, no foundation model call. Use it withgenerateResponse=false. Combining 0 withgenerateResponse=trueis invalid and returns a 4xx error, because generating an answer needs a model call.maxAgentIteration=1: one retrieval, then one answer‑generation call, with no planning and no query rewriting. Pair it withgenerateResponse=true.maxAgentIteration=2to5: agentic mode, unchanged. Up to n minus 1 planning rounds, then an answer. Existing requests in this range keep their current behavior.
The API reference says a generated response is produced by default and can be turned off 2. The sources do not say what happens if a request sets 0 and omits generateResponse, so set it to false explicitly. They also do not state a default for maxAgentIteration.
What counts as an iteration
AWS defines one iteration as one foundation model call. The loop always ends with a single answer‑generation call, so a value of n allows up to n minus 1 planning rounds. Each planning round is a query rewrite plus a retrieval 1.
Three things the number does not measure:
- Documents retrieved. An iteration is a model call, not a document.
- Knowledge bases. All three modes can query multiple knowledge bases, including 0 and 1. What agentic mode adds is query decomposition, evidence evaluation and iterative searches.
- Speculative retrieval. The initial retrieval that runs ahead of the first planning step is not an iteration and does not count against the limit.
AWS also says the parameter is not automatic routing. The application decides which value to send for each request.
What the stream returns
When to return passages without an answer
Picking a value, and what is not established
AWS's guidance is to pick the lowest iteration limit that meets each workflow's quality needs 1:
- Well‑scoped, direct questions: 1 is suggested as a likely default if most traffic looks like that.
- Multi‑part, comparative, exploratory or cross‑knowledge‑base questions: 2 to 5. In the example, a question comparing sole proprietors and LLCs plus checks for nonresident owners uses 4, which allows up to three planning rounds.
- Source review: 0 with generation off.
AWS says lower values make calls faster and more predictable. The announcement publishes no latency, price or accuracy figures, and the retained sources include no independent test of the API. A higher value gives the planner more chances to decompose and refine a hard question, but AWS itself warns against assuming it always produces a better answer.
Its suggested evaluation is to run representative questions from your own documents against both single‑shot and your current agentic setting on the same knowledge base. Measure latency and request cost, and check that answers are correct and supported by the retrieved passages. Include questions that span several documents and questions the documents cannot answer, so a faster response does not hide missing evidence.
Related News
Nov 11, 2026
AgentCore Web Answer vs Web Search: who runs the model, what you get back, and what the managed tool decides for you
AWS announced general availability of Web Answer on Amazon Bedrock AgentCore on 5 November 2026. Web Search hands your agent ranked links and snippets and leaves synthesis to your own model. Web Answer runs the retrieval loop, model, synthesis and citation step and returns a finished cited answer through AgentCore Gateway. This piece compares the returned artifact, the permissions, the controls you keep, the $10 per 1,000 tool calls price and the limits, including what AWS's guide does not establish.
Nov 11, 2026
AgentCore memory poisoning: what AWS builds in, what its new write-validation pattern adds, and where the demo evidence stops
An AWS Security Blog post from 9 November 2026 separates the memory-poisoning controls AgentCore already offers (IAM namespace conditions, namespace-variable validation, Cedar policy, custom consolidation prompts, the ApplyGuardrail API) from a custom pre-write Lambda interceptor that scores each write and returns ALLOW, QUARANTINE or DENY. The custom layer is a sample you deploy, not a default setting. Its published 11-scenario demo used a keyword-overlap stand-in for embeddings, so the results do not show production accuracy or false-positive rates. Writes that bypass AgentCore Gateway, such as direct SDK calls, are not covered by the interceptor.
Nov 10, 2026
Google's MKA benchmark tests AI agents on 200 private professional tasks; a separate set of 10 public tasks is available for inspection
Google DeepMind's new Multimodal Knowledge Agent benchmark evaluates AI agents on 200 private tasks requiring visual analysis of complex professional files like architectural blueprints and engineering schematics. While the benchmark's headline scores are based on these private evaluations, only 10 sample tasks are publicly available for inspection. The benchmark uses weighted criteria where harder 'Climb' criteria measure advanced performance, and costs reported by Artificial Analysis exclude judge calls, limiting direct workplace cost comparisons.