---
title: "Discussion on \"Rules First, Then the AI: Guardrails, Evals, and Every Way My Agent Broke\" | Hashnode"
description: "Discussion on \"Rules First, Then the AI: Guardrails, Evals, and Every Way My Agent Broke\". Part 3 of the series where I build an AI agent to learn how agents really work. This is the long one: the whole middle of the project, from writing the rules to measuring three different models.\n\nHere"
url: "https://hashnode.com/posts/rules-first-then-the-ai-guardrails-evals-and-every-way-my-agent-broke/6ae8407bbefdddb0f65c6b4d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Rules First, Then the AI: Guardrails, Evals, and Every Way My Agent Broke](https://theagenticworld.hashnode.dev/rules-first-then-the-ai-guardrails-evals-and-every-way-my-agent-broke?utm_source=hashnode&utm_medium=feed)

Part 3 of the series where I build an AI agent to learn how agents really work. This is the long one: the whole middle of the project, from writing the rules to measuring three different models. Here

Nov 2 · 14 min read · theagenticworld.hashnode.dev  
Read the article

## Written by

[N I R A N J A N](https://hashnode.com/@nirxnjxn)

@nirxnjxn · Bengaluru, India

  
[View profile](https://hashnode.com/@nirxnjxn)

Still learning. Already shipping. Blogging so you don't have to figure it out alone.

Devoloping in web3 and AI

## Responses 1

Markdown supported · ⌘↵ to post

[Salman Parvez | ML Systems](https://hashnode.com/@ml-systems)

[Nov 3](https://hashnode.com/posts/rules-first-then-the-ai-guardrails-evals-and-every-way-my-agent-broke/6ae8407bbefdddb0f65c6b4d/comment/6ae9e1621eb734eebb06a668)

33% to 61% with the same model is a great example. Every gain came from the rules and checks around it, the way a crew gets better with the same people and a better process. The safety gate hitting 100% is the number I'd watch first.
