A production-grade reference for building AI agents on AWS Bedrock with a NestJS gateway in 2026 — Bedrock AgentCore, action groups backed by Lambda, knowledge bases over S3 + OpenSearch, the routing-and-guardrail layer that NestJS must own, the model-selection cost arithmetic, three-layer observability (gateway + agent-internal + per-token cost), Bedrock Guardrails plus app-specific PII redaction, multi-agent collaboration patterns, and the failure modes you only learn about by running this in production.