Skip to content

feat: add Bedrock Managed Knowledge Base support#43

Open
PVidyadhar wants to merge 1 commit into
aws-samples:mainfrom
PVidyadhar:bmkb-managed-kb-support
Open

feat: add Bedrock Managed Knowledge Base support#43
PVidyadhar wants to merge 1 commit into
aws-samples:mainfrom
PVidyadhar:bmkb-managed-kb-support

Conversation

@PVidyadhar

Copy link
Copy Markdown

Issue #, if available:

N/A — new feature addition for AWS Bedrock Managed Knowledge Base GA launch.

Description of changes:

Added Bedrock Managed Knowledge Base support to the AgentCore starter kit. The CDK stack defaults to MANAGED KB type (simpler setup, no external
vector store needed). VECTOR path remains available via --context knowledgeBaseType=VECTOR.

Changes:

  • CDK stack defaults to MANAGED KB type (no blog dependency, new repo)
  • Creates KB with Type: MANAGED via CfnKnowledgeBase + addPropertyOverride
  • Data source uses MANAGED_KNOWLEDGE_BASE_CONNECTOR
  • Agent tool supports both MANAGED and VECTOR via KNOWLEDGE_BASE_TYPE env var
  • AgenticRetrieveStream with fallback to Retrieve + managedSearchConfiguration
  • Updated README with managed KB section, reranking options, and doc links
  • Added BEDROCK_MANAGED_KB.md design doc
  • VECTOR path available via --context knowledgeBaseType=VECTOR

Testing:

  • CDK synth: ✅ Successfully synthesized with MANAGED type
  • CDK deploy: ✅ CREATE_COMPLETE (KB + Data Source created, ACTIVE status)
  • TypeScript: ✅ Compiles with no errors
  • Agent retrieval: ✅ AgenticRetrieveStream returns results from managed KB
  • VECTOR path: ✅ Works when --context knowledgeBaseType=VECTOR specified

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@PVidyadhar
PVidyadhar force-pushed the bmkb-managed-kb-support branch 2 times, most recently from 722e8db to 557d3f4 Compare July 13, 2026 17:53
@PVidyadhar
PVidyadhar marked this pull request as ready for review July 13, 2026 17:57
@PVidyadhar
PVidyadhar force-pushed the bmkb-managed-kb-support branch 4 times, most recently from 87b6fc0 to 9928b40 Compare July 16, 2026 08:54
- CDK stack defaults to MANAGED KB type (no blog, new repo)
- Creates KB with Type MANAGED via CfnKnowledgeBase + addPropertyOverride
- Data source uses MANAGED_KNOWLEDGE_BASE_CONNECTOR
- Agent tool supports both MANAGED and VECTOR via KNOWLEDGE_BASE_TYPE env var
- AgenticRetrieveStream with fallback to Retrieve + managedSearchConfiguration
- Updated README with managed KB section, reranking options, and doc links
- Added BEDROCK_MANAGED_KB.md design doc
- VECTOR path available via --context knowledgeBaseType=VECTOR
@PVidyadhar
PVidyadhar force-pushed the bmkb-managed-kb-support branch from 9928b40 to cdd56ef Compare July 16, 2026 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant