Repository navigation
Description
Description
Amazon Bedrock Managed Knowledge Bases reached general availability on 2026-06-17. It is a fully managed RAG offering: Bedrock owns the vector store, the ingestion pipeline and the retrieval infrastructure, so there is no self-managed vector store to configure.
It is created through the same bedrock-agent CreateKnowledgeBase operation as the existing self-managed base. The only differences are the shape of KnowledgeBaseConfiguration and the absence of storageConfiguration:
bedrock_agent.create_knowledge_base(
name='my-managed-kb',
roleArn=role_arn,
knowledgeBaseConfiguration={
'type': 'MANAGED',
'managedKnowledgeBaseConfiguration': {'embeddingModeType': 'MANAGED'},
}
}BedrockCreateKnowledgeBaseOperato currently cannot produce this call:
knowledgeBaseConfigurationis hardcorded inexecute():knowledge_base_configuration={ 'type': 'VECTOR', 'vectorKnowledgeBaseConfiguration': {'embeddingModelArn': self.embedding_model_arn}, }
storageConfiguration=self.storage_configis always passed to the API call.embedding_model_arnandstorage_configare required__init__arguments, and neither applies to a managed knowledge base.
Overrading viacreate_knowledge_nase_kwardsdoes not work either. BothknoeledgeBaseConfigurationandstorageConfigurationare already supplied as explicit keyword arguments, so sypplying them again through the kwargs dict raisesTypeError: got multiple values for keyword argument.
Separaetly, the wait_for_indexing / "no such index" retry loop exists purely to work around vector index propagation in a self-managed vector store. It has no meaning for a managed knowledge base, since there is no index for the user to create.
Net effect: there is currently no way to create a managed knowledge base from the amazon provider.
References:
- https://aws.amazon.com/about-aws/whats-new/2026/06/amazon-bedrock-managed-knowledge-base/
- https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_CreateKnowledgeBase.html
- https://aws.amazon.com/blogs/machine-learning/build-enterprise-search-for-agents-with-amazon-bedrock-managed-knowledge-base/
Use case/motivation
Refreshing a RAF corpus is a scheduled data pipeline concern: the source documents are usually produced or updated by upstream Airflow tasks, so provisioning the knowledge base and driving ingestion belongs in the same DAG. The provider already covers the self-managed path end to end(BedrockCreateKnowledgeBaseOperator -> BedrockCreateDataSourceOperator -> BedrockIngestDataOperator -> BedrockKnowledgeBaseActiveSensor). Managed knowledge bases are the missing half of an otherwise complete story, and they are the lower-friction option for teams that do not want to own vector srore.
Related issues
Not found.
Are you willing to submit a PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct
Activity
Dewanshh commentedon Sep 6, 2026
I'd like to work on this issue. Please assign it to me.
Support Managed Knowledge Bases in BedrockCreateKnowledgeBaseOperator
yamakazushi commentedon Sep 15, 2026
Hi @Dewanshh
If you wish to work on this, please go ahead and submit a RP.
This project is "no assignment" policy for issue. Please see the contribution docs for more information.
This is not to discourage people from contributing. They only want to ensure they do not have a backlog of "assigned" issues that are not actually being addressed.
HarshXAI commentedon Sep 29, 2026
I will work on this and open a PR (no-assignment policy noted).
Plan: extend
BedrockCreateKnowledgeBaseOperatorso managed knowledge bases are a first-class option alongside the existing vector-store path — wire the managed KB fields through the boto3 create call, document the new params next to the current examples, and add provider tests for the request payload shape.I have production RAG experience (hybrid retrieval / knowledge bases); happy to keep the diff limited to the Amazon Bedrock provider.