# Single-shot and agentic retrieval with Amazon Bedrock Managed Knowledge Base

DevFeed: [Single-shot and agentic retrieval with Amazon Bedrock Managed Knowledge Base](<https://devfeed.tech/articles/single-shot-and-agentic-retrieval-with-amazon-bedrock-managed-knowledge-base-125100.md>)

Original publisher: [Read original article](<https://aws.amazon.com/blogs/machine-learning/single-shot-and-agentic-retrieval-with-amazon-bedrock-managed-knowledge-base/>)

Author: Siddhant Sahu

Published: 2026-11-09T20:13:18Z

Content type: article

Language: en

Sources: [Artificial Intelligence](<https://devfeed.tech/sources/artificial-intelligence.md>)

Topics: [Amazon Bedrock Knowledge Bases](<https://devfeed.tech/topics/amazon-bedrock-knowledge-bases.md>), [information retrieval](<https://devfeed.tech/topics/information-retrieval.md>), [Agentic AI](<https://devfeed.tech/topics/what-is-agentic-ai.md>), [AI Architecture](<https://devfeed.tech/topics/ai-architecture.md>), [AI Chat](<https://devfeed.tech/topics/ai-chat.md>)

Tags: [agentic-retrieval](<https://devfeed.tech/tags/agentic-retrieval.md>), [amazon-bedrock](<https://devfeed.tech/tags/amazon-bedrock.md>), [amazon-bedrock-knowledge-bases](<https://devfeed.tech/tags/amazon-bedrock-knowledge-bases.md>), [banking](<https://devfeed.tech/tags/banking.md>), [expert-400](<https://devfeed.tech/tags/expert-400.md>), [policy](<https://devfeed.tech/tags/policy.md>), [rag](<https://devfeed.tech/tags/rag.md>), [retrieval](<https://devfeed.tech/tags/retrieval.md>), [technical-how-to](<https://devfeed.tech/tags/technical-how-to.md>)

## AI overview

Amazon Bedrock Managed Knowledge Base now uses `AgenticRetrieveStream` for three retrieval modes, selected per request by the application. Set `maxAgentIteration=0` and `generateResponse=false` to return passages without foundation model calls; setting generation to true at zero is invalid. Set it to 1 with generation enabled for one retrieval and one grounded answer, without planning. Values 2-5 retain agentic retrieval, allowing up to n−1 planning rounds before answer generation; this can help with multi-part questions but may add latency. The service can search multiple knowledge bases in all three modes. The article recommends evaluating representative questions, latency, cost, and answer support to choose an iteration limit; mode selection is application logic.

## Source excerpt

Amazon Bedrock Managed Knowledge Base now supports single-shot RAG and retrieval-only requests through AgenticRetrieveStream, alongside agentic retrieval. This post explains how the maxAgentIteration parameter matches retrieval effort to each request, using an illustrative internal banking policy assistant.