Dev.to
6/25/2026

I Let My AI Agent Build a Bedrock RAG Knowledge Base, Here Are the 2 Mistakes the AWS Agent Toolkit Caught
Short summary
Author uses AWS Agent Toolkit to build an Amazon Bedrock RAG knowledge base backed by S3 Vectors, demonstrating how the toolkit caught two critical setup mistakes (deprecated model API format and missing S3 Vectors index metadata configuration) that would have shipped silently. Includes step-by-step AWS CLI commands and explains why current documentation matters for AI agents building cloud infrastructure.
- •AWS Agent Toolkit provides validated procedures for building Bedrock RAG systems with current AWS API patterns
- •Two critical catches: model versions require cross-region inference profiles, and S3 Vectors indexes need explicit metadata key declaration
- •Tutorial includes IAM role setup, vector store creation, and retrieval validation with working AWS CLI commands
Generated with AI, which can make mistakes.
Is this a good recommendation for you?



