AWS Builder Center

Bedrock Managed Knowledge Base: RAG Without the Plumbing

Amazon Bedrock Managed Knowledge Base gives you enterprise RAG in minutes — native connectors, Smart Parsing, and an Agentic Retriever for multi-hop queries.

Lead Data Scientist

Amazon Bedrock Managed Knowledge Base: Enterprise RAG That Builds Itself

Everyone who has shipped a retrieval-augmented generation (RAG) pipeline knows the dirty secret: the model was the easy part. The hard part was everything around it — writing a connector for SharePoint, then another for Confluence, tuning chunk sizes, picking an embedding model, standing up a vector store, wiring in a re-ranker, and then spending weeks discovering that your parsing strategy quietly dropped every table in every PDF.
At the AWS Summit in New York, AWS put a stake in the ground on that whole category of undifferentiated work. Amazon Bedrock Managed Knowledge Base is a fully managed RAG primitive: point it at your data, and it handles ingestion, parsing, embeddings, storage, retrieval, and re-ranking for you. Let's look at what's actually in it and why it's more than a repackaging of the Knowledge Bases you already know.

The three problems it's aimed at

AWS frames Managed Knowledge Base around three pain points every agent builder hits:
  • Connecting to enterprise data that lives across disparate systems, each with its own content types, formats, and access control lists.
  • Optimizing RAG accuracy when best practices for parsing, chunking, embeddings, and retrieval keep shifting under you.
  • Managing infrastructure at scale — whether that's one knowledge base with millions of documents or thousands of smaller ones across teams.
The service collapses the components you'd normally assemble yourself — storage, retrieval, embeddings, re-ranking, and foundation model selection — into a single managed primitive, with sensible default models chosen and maintained on your behalf.

Three things that make it more than "managed storage"

On top of that managed foundation, three capabilities do the real work:
Native data connectors. Six pre-built connectors ingest both content and source permissions: Amazon S3, SharePoint, Confluence, Web Crawler, Google Drive, and OneDrive. That permissions detail matters — the connectors carry over access control lists so your agent doesn't accidentally surface a document to someone who shouldn't see it.
Smart Parsing. Instead of forcing you to hand-tune a parsing strategy per source, Smart Parsing picks the right approach for each data type automatically. The Web Crawler connector preserves HTML structure including embedded images and tables; SharePoint connectors keep document hierarchy intact. It also does multimodal processing — detecting bounding boxes in documents and sending them to foundation models for extraction, captioning, and even scene description in video. This is the part that usually eats weeks of experimentation.
Agentic Retriever. This is the standout. A single retrieval step struggles with questions that require multi-step reasoning. Ask "Does our expense policy allow the ML platform team to prepay their annual cloud commitment?" and a naive retriever grabs documents about the ML team but never connects them to the expense policy. Agentic Retriever decomposes the question into a plan — who owns the ML platform and what's their budget, what the policy says about prepayment, and whether the two are compatible — then performs multi-hop retrieval across one or more knowledge bases before returning results.

What it looks like in code

If you already use the Bedrock Knowledge Bases APIs ( Retrieve ,  StartIngest ,  IngestKnowledgeBaseDocuments ), there's nothing new to learn — Managed Knowledge Base uses the same APIs, so "migration" is just pointing at a new knowledge base ID. Here's an agentic retrieval call with the AWS SDK for Python (boto3):
python
import boto3

agent_runtime = boto3.client("bedrock-agent-runtime")

response = agent_runtime.retrieve(
knowledgeBaseId="MKB-7f3a91",
retrievalQuery={
"text": "Can the ML platform team prepay this year's cloud commitment "
"under our expense policy?"
},
retrievalConfiguration={
"type": "AGENTIC", # let the retriever plan multi-hop queries
"agenticConfiguration": {"maxIterations": 5},
},
)

for result in response["retrievalResults"]:
print(result["content"]["text"], "\n---")
Switching from a single-shot lookup to multi-hop reasoning is a config change —  type: "AGENTIC"  — not a new pipeline.

It plugs straight into your agents

For agent builders, Managed Knowledge Base shows up as a pre-built target type in AgentCore Gateway. Select a knowledge base ID, and Gateway exposes it over the standard Model Context Protocol (MCP), auto-generates role-based permissions, and pipes observability and evaluation metrics into the AgentCore dashboard. Because it speaks MCP, the tools are discoverable by any compatible framework — Strands Agents, LangChain, LangGraph, CrewAI, LlamaIndex — with no custom integration code.
Crucially, AWS kept model choice open. The infrastructure (connectors, parsing, storage, retrieval orchestration) is decoupled from model selection, so you can adopt newer embedding, re-ranking, or foundation models as they ship without rebuilding the pipeline, and mix cheaper models for simple queries with more capable ones for hard reasoning.

Availability and cost

Managed Knowledge Base is available now in US East (N. Virginia), US West (Oregon), Asia Pacific (Sydney, Tokyo), Europe (Dublin, Frankfurt, London), and AWS GovCloud (US-West). Pricing is on-demand across two dimensions — the size of indexed data stored and the number of retrievals performed — with no upfront commitment, and it's part of the AWS Free Tier for new customers.

The takeaway

The interesting shift here isn't "AWS made RAG easier." It's that the parts builders used to treat as their differentiation — connector plumbing, parsing heuristics, multi-hop orchestration — are increasingly commodity infrastructure. That frees you to focus on the questions your agent needs to answer, and the quality of those answers, rather than the retrieval machinery underneath.
If your RAG pipeline became a single managed primitive tomorrow, what would you build with the time you got back? Let me know in the comments.


#AWS #Bedrock #RAG #AgentCore #GenAI #AIAgents #MachineLearning #KnowledgeBase
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article