AWS Bedrock adds single-shot RAG and retrieval-only modes via maxAgentIteration 0-5
AWS ML Blog · rss · 2026-11-10
AWS ML Blog details the expanded maxAgentIteration range (0-5) in Amazon Bedrock Managed Knowledge Base, letting one API cover three retrieval modes:
- =1 single-shot RAG: one retrieval plus one grounded answer, no planning rounds — lowest latency and cost for direct, well-scoped questions.
- =0 retrieval-only: returns passages with zero LLM calls; setting generateResponse=true here returns a 4xx error.
- =2-5 agentic mode: the model decomposes sub-queries, evaluates evidence, and iterates — value n allows up to n-1 planning rounds for multi-part, comparative, cross-knowledge-base questions.
- One iteration equals one foundation-model call, with the final round reserved for answer generation; the initial speculative retrieval never counts toward the limit.
- A banking policy assistant example shows single-shot RAG for checklist lookups and agentic retrieval for cross-policy comparisons, without maintaining separate systems.
More from coding & agent
- Product idea: cloud Android VMs and home WiFi proxies to make agents look human — Darpinian · 2026-11-29
- Clairvoyance dev reveals 'staff model' agent architecture: one PM, named agents, per-agent inboxes — draginol · 2026-11-29
- Claude Opus Configures Karabiner Media Keys End-to-End, No Human Hands — cantrell · 2026-11-29
- Agentic GraphRAG unifies enterprise knowledge and agent memory in one traversable graph — vm324234 · 2026-11-29
- Coding agent blocked from npm rewrote the whole package from memory — and it worked — Panther1537 · 2026-11-29
- AI agents solve 909 open math problems in 2 days on 18-year-old's Left to Solve site — julianibarz · 2026-11-29