---
title: "Introducing Rubrics: Build Agents that Evaluate and Correct Their Work"
url: https://daily.dev/posts/introducing-rubrics-build-agents-that-evaluate-and-correct-their-work-ixbpbst3m
source_url: https://www.langchain.com/blog/introducing-rubrics-for-deepagents
type: article
source: "LangChain"
published: 2026-07-08T19:22:57.454Z
updated: 2026-08-24T06:52:33.921Z
tags: ["llm", "ai-agents", "langchain"]
reading_time: 5
upvotes: 0
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Introducing Rubrics: Build Agents that Evaluate and Correct Their Work

**[LangChain](https://daily.dev/sources/langchain)** · 5 min read · 0 upvotes · 0 comments

## Summary

LangChain has introduced RubricMiddleware for Deep Agents, a self-evaluation loop that lets agents check their own work against defined criteria and iterate until they pass. You define a rubric (a checklist of success criteria), configure a grader sub-agent with its own model and optional tools (like a test runner), and attach it to your main agent. If the agent's output fails any criterion, the grader injects targeted per-criterion feedback and the agent retries, up to a configured iteration limit. The loop terminates on success, failure, max iterations, or grader error. This is particularly useful for tasks with verifiable success criteria like code generation with test suites, reducing the need for manual inspection and re-runs.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.langchain.com/blog/introducing-rubrics-for-deepagents>

---

Tags: [#llm](https://daily.dev/tags/llm), [#ai-agents](https://daily.dev/tags/ai-agents), [#langchain](https://daily.dev/tags/langchain)

[View this post on daily.dev](https://daily.dev/posts/introducing-rubrics-build-agents-that-evaluate-and-correct-their-work-ixbpbst3m)
