---
id: 9974
lang: en
title: "How to Control AI Agents: Validating Responses on Bedrock"
published_at: "2026-05-23 18:07:00"
source_name: "AWS Machine Learning Blog"
source_url: "https://aws.amazon.com/blogs/machine-learning/build-custom-code-based-evaluators-in-amazon-bedrock-agentcore/"
canonical_url: "https://news.hamidun.com/en/news/9974"
categories: ["autonomous"]
publisher: "AI News by Jemal Hamidun (news.hamidun.com)"
---

# How to Control AI Agents: Validating Responses on Bedrock

> **Краткая суть (BLUF):** AWS has published a guide to building Lambda-based evaluators for Amazon Bedrock AgentCore. They check agent responses in real time: fact-checking, detection of personal data, and alerting.  They can be combined with the built-in checks.

Controlling AI agents is a critical task when deploying AI. Amazon Bedrock AgentCore now supports custom Lambda-based evaluators: functions that check an AI agent's responses on the fly, before they reach the user.

### What are AI agent evaluators?
Evaluators are validators that check the quality, safety and factual correctness of responses generated by an agent.

### Why do you need custom evaluators?
Built-in checks do not catch domain-specific errors. Custom evaluators let you build checks tailored to a specific domain.

### How do you control AI agent responses?
Through validators (evaluators) that check quality, safety and factual correctness on the fly. Amazon Bedrock natively supports checks for hallucinations and style, and also lets you write your own for domain-specific errors.

### Why do neural networks need custom evaluators?
Generic checks do not catch domain-specific errors. A financial agent needs validators for calculation correctness, a medical one for the safety of its recommendations. Lambda evaluators in Bedrock let you write checks for a specific business case.

---
- **Первоисточник:** [AWS Machine Learning Blog](https://aws.amazon.com/blogs/machine-learning/build-custom-code-based-evaluators-in-amazon-bedrock-agentcore/)
- **Каноническая ссылка:** https://news.hamidun.com/en/news/9974
- **Экосистема автора:** [Бесплатный интенсив по вайбкодингу — предзапись в Нике](https://t.me/vibecodeguidebot?start=agent_intensive_news_md) · [Nomad AI](https://nomadnet.ai) · [Telegram @jemal_hamidun](https://t.me/jemal_hamidun)
