AWS Adds Coding-Agent Path for Bedrock Managed Knowledge Base Migration

AWS adds a coding-agent migration path to Amazon Bedrock Managed Knowledge Base, pairing managed retrieval with layered access controls for enterprise agents.

AI News

AWS is positioning Amazon Bedrock Managed Knowledge Base as a lower-operations alternative to customer-managed retrieval systems, and has published a migration guide that lets a coding agent help teams move without immediately replacing production infrastructure.

The guide, added to the Agent Toolkit for AWS's amazon-bedrock skill, uses read-only discovery to map an existing knowledge base, produces a migration plan for review, and can create a new managed knowledge base beside the original. AWS also documents a second path in which the agent generates an infrastructure-as-code template for a deployment pipeline.

The change matters because knowledge-base migrations affect ingestion, indexing, application retrieval calls, permissions, and cutover risk. AWS's recommended workflow keeps the original system serving requests while teams ingest content into the replacement and validate results before switching traffic.

What AWS changed in the migration workflow

A customer-managed Amazon Bedrock knowledge base requires teams to select and operate the vector and text stores, provision capacity, configure indexes, choose embedding models, and manage ingestion for each data source. AWS's Managed Knowledge Base takes responsibility for ingestion, storage, indexing, and retrieval as a single service.

The migration guide separates analysis from implementation. In its exploration mode, a coding agent can answer questions about Managed Knowledge Base and inspect the current configuration through read-only calls. In migration mode, it confirms the AWS account and Region, checks credentials, reads the existing knowledge base and data sources, and creates a plan describing which settings remain equivalent, which functions are handled differently, and which application changes are required.

After approval, the agent can create the managed resource and its data sources alongside the existing knowledge base. It does not automatically perform every operational step: AWS says teams retain responsibility for ingesting content, updating application calls such as Retrieve, and validating retrieval quality. That division is important for production systems, where a technically successful resource creation does not prove that answers, filtering, or application behavior remain correct.

The guide can also work from infrastructure-as-code files rather than a live resource. This gives teams a route to review generated changes through their existing pipeline instead of allowing an agent to make direct modifications in an account.

Managed retrieval and the claims behind it

AWS says Managed Knowledge Base includes always-on hybrid search, which combines keyword and semantic matching, along with a managed embedding model, reranker, and parser for multimodal files. Teams can still bring their own Amazon Bedrock embedding model, and each retrieval request can use the managed reranker, an Amazon Bedrock reranking model, or no reranking, subject to the service's constraints.

The service also offers native connectors for sources including Amazon S3, Microsoft SharePoint, and Atlassian Confluence. Subsequent synchronizations can process changes rather than re-ingesting everything, and AWS highlights a deletion safeguard intended to reduce the risk of accidental bulk removal of indexed content.

AWS further says Managed Knowledge Base supports agentic retrieval for multi-part questions and can search more than one knowledge base in a request. It can also be exposed through AgentCore Gateway as an MCP target, allowing compatible clients and AI agents to query it while the gateway handles authentication.

These are vendor-described capabilities, not independent performance results. AWS recommends the managed option on the basis of a balance among ease of use, retrieval accuracy, and cost, but the supplied material does not provide comparative benchmark figures or customer adoption data. Actual economics will depend on storage, retrieval volume, parser usage, Regions, and the infrastructure being replaced. Managed pricing follows stored and retrieved usage, while customer-managed deployments may incur separate vector-store capacity and operating charges.

Access control becomes part of the migration decision

A second AWS post shows why migration design cannot stop at retrieval quality. It describes a pattern for exposing a shared Managed Knowledge Base to agents while restricting results to documents each signed-in user can access.

The design uses ACL awareness, which stores document permissions during ingestion and filters results at query time using userContext.userId. AWS emphasizes that ACL awareness is not itself an authentication mechanism. The application must establish the user's identity and pass it to the retrieval request.

The sample architecture adds several controls around that boundary. Amazon Cognito issues a token; an AgentCore Gateway authorizer validates it; a request interceptor overwrites the tool's user identity with the identity from the verified token; Policy in AgentCore checks the request against a Cedar policy; and a resource-based policy limits direct knowledge-base access to the gateway's execution role.

This layered approach addresses a specific risk in agentic applications: an LLM may construct tool arguments, but it should not decide which employee or tenant the system searches on behalf of. AWS's example is a fictional internal assistant serving departments with separate business plans, but the same issue applies to multi-tenant SaaS products.

There are operational caveats. For Amazon S3 sources, ACL changes take effect after the next synchronization rather than through a real-time source check. Documents without the expected ACL metadata are silently excluded, according to AWS. Teams must also ensure that other principals cannot bypass the gateway and call the knowledge base directly.

Implications for builders and enterprise buyers

For builders, the migration guide reduces the mechanical work of translating a bespoke retrieval stack into AWS's managed resource model. It does not remove the need for application testing. Teams still need to compare retrieval results, verify metadata and permissions, update API calls, test failure modes, and decide whether managed defaults are acceptable for their workloads.

For enterprise buyers, the main trade-off is control versus operational consolidation. Managed Knowledge Base can eliminate separate vector-store provisioning and make connectors, reranking, hybrid search, and agentic retrieval part of one service. In exchange, teams give up some direct control over the underlying storage and index configuration and must evaluate service quotas, regional availability, rate limits, and usage-based costs.

The security pattern is particularly relevant for internal copilots and multi-tenant agents. A shared agent and knowledge base can be simpler to operate, but only if identity is derived from trusted authentication data rather than from model-generated arguments. Resource-based policies and gateway enforcement provide safeguards if an agent, interceptor, or application path behaves unexpectedly.

What to watch next

Teams evaluating the migration should first compare retrieval quality and cost against their current vector store using representative documents and queries. They should also confirm support in their target AWS Region, inspect connector-specific ACL behavior, and test both direct and agent-mediated access paths.

The next signals will be broader Managed Knowledge Base availability, additional connectors, clearer production guidance on quotas and pricing, and evidence from customers operating the service at scale. Independent benchmarks comparing managed and customer-managed configurations would also help buyers separate AWS's product claims from workload-specific outcomes.

Creati.ai perspective

AWS is not merely presenting Managed Knowledge Base as a new retrieval backend; it is packaging migration, agent tooling, and authorization patterns around a managed operating model. The coding-agent workflow is useful because it treats migration as a staged change with review and rollback options rather than as a one-command conversion.

The harder question is whether teams will accept AWS-managed defaults when retrieval quality, compliance, and tenant isolation are business-critical. The strongest part of the announcement is the emphasis on parallel deployment and layered identity controls. Those practices, rather than the coding agent alone, will determine whether the migration is safe enough for production AI systems.

Ads