---
title: "Discussion on \"I've Built AI Agents. Now I'm Learning to Build Them Properly - From the Ground Up.\" | Hashnode"
description: "Discussion on \"I've Built AI Agents. Now I'm Learning to Build Them Properly - From the Ground Up.\". Starting a build-in-public series on agent engineering - the craft, not just the code."
url: "https://hashnode.com/posts/building-ai-agents-properly-from-the-ground-up/6a34018f34714dccefd61be5"
---

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

Discussion

# [I've Built AI Agents. Now I'm Learning to Build Them Properly - From the Ground Up.](https://agentbuildlog.hashnode.dev/building-ai-agents-properly-from-the-ground-up?utm_source=hashnode&utm_medium=feed)

Starting a build-in-public series on agent engineering - the craft, not just the code.

Jun 18 · 3 min read · agentbuildlog.hashnode.dev  
Read the article

-   [#ai](https://hashnode.com/tag/ai)
-   [#agents](https://hashnode.com/tag/agents)
-   [#ai-agents](https://hashnode.com/tag/ai-agents)

## Written by

[António Hernández](https://hashnode.com/@fidelke)

@fidelke · Košice, Slovakia

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

Senior Implementation Engineer at Atlan

I'm an engineer who builds systems and writes about what actually happens when I do. I'm currently working through the craft of AI agent engineering from the ground up - documenting the experiments, the failures, and the moments that change my mental model. No polished takes. Just the build log.

## Responses 2

Markdown supported · ⌘↵ to post

[Hansjörg Wyss](https://hashnode.com/@wysh22)

[Jun 18](https://hashnode.com/posts/building-ai-agents-properly-from-the-ground-up/6a34018f34714dccefd61be5/comment/6a34424efe5015636f54302e)

The "it works vs. I understand why it works" gap is the one that actually separates people who can debug agents from people who can only demo them. My honest take: the understanding doesn't come from reading more — it comes from deliberately breaking things. Strip the framework, write the loop by hand once, watch where it falls apart.

One habit that accelerated this for me: when I hit a behavior I couldn't explain, I'd run the same prompt across a few different models side by side (I use MultipleChat for this) and compare how each one reasoned through it. Seeing where they diverged usually exposed which part was the model and which part was my scaffolding — that contrast taught me more than any single explanation did.

Looking forward to following the ground-up series. Are you rebuilding with a framework stripped out, or starting from raw API calls?

[António Hernández](https://hashnode.com/@fidelke)

[Jun 19](https://hashnode.com/posts/building-ai-agents-properly-from-the-ground-up/6a34018f34714dccefd61be5/comment/6a34424efe5015636f54302e#reply-6a3518856614463ad4208f5f)

[Hansjörg Wyss](https://hashnode.com/@wysh22 "Hansjörg Wyss") , that "which layer to blame" problem is exactly where I kept getting stuck - and your cross-model comparison trick is a clean way to isolate it. Going to find a way to build that into the debugging workflow here - probably as a standard step when a sprint turns up a behavior I can't explain.

To answer your question: raw API calls. First sprint is literally `while True`, tools as plain functions, state as a dict. No framework until I have something hand-rolled to compare against - otherwise I won't know what the framework is actually buying me.

The "break it on purpose" instinct is baked into every sprint here - each one has an explicit failures section and tests designed to find breakage, not just pass. But I'm curious what your experience was when you finally did add a framework back - did it actually solve the things that broke, or just hide them?
