Movement 1 - Introduction

Preface: The Map for the Hidden Iceberg

Introduction to AI-driven systems philosophy and architecture

🤖 AI Collaboration Note

This book was written with the support of artificial intelligence tools for research, content structuring, and editing. The experience, methodologies, and strategic insights are the result of the author's practical work, while AI assisted in the writing process and organization of ideas.

Claude (Anthropic) Gemini (Google) Assisted Research Content Review

📚 Recommended Prerequisites

To get the most out of this book, it's recommended to have familiarity with the following concepts and technologies:

🐍 Python & Backend

  • Python (basic/intermediate)
  • FastAPI framework
  • Pydantic models
  • Async/await patterns
  • REST API design

🧠 AI & LLM

  • Basic LLM concepts
  • OpenAI API usage
  • Prompt engineering
  • Token management
  • RAG concepts

🏗️ Architecture & DevOps

  • Microservices patterns
  • Database design (SQL)
  • Docker & containers
  • API orchestration
  • System monitoring

🌐 Frontend (optional)

  • React/Next.js basics
  • TypeScript
  • State management
  • API integration
  • UI/UX principles

In 2015, Google published a prophetic paper, "Hidden Technical Debt in Machine Learning," showing how in an ML application, the machine learning code was just a small black box at the center of a vast and complex infrastructure.

Ten years later, history repeats itself. The industry is in love with the promise of AI agents: a simple "magic box" where you insert an objective and extract value. But anyone who has tried to build a real application knows the truth. As Tomasz Tunguz writes, "What appeared to be a simple 'AI magic box' reveals itself to be an iceberg, with most of the engineering work hidden beneath the surface."

That submerged iceberg is made of context management, tool orchestration, memory systems, information retrieval (RAG), security guardrails, monitoring and, above all, managing the skyrocketing costs of APIs.

This book is the map to build that iceberg.

You won't find here another tutorial on how to make an API call. This is a strategic case study on how we built the hidden infrastructure, the 90% of work that allows the 10% of "AI magic" to function reliably and scalably.

We understood that to manage non-deterministic agents, which improvise and have "creative freedom," you don't need a better tool. You need a better organization, replicated in code. In these chapters, you'll discover how we built:

We built an "Agent Manager": an AI operating system that manages other agents, solving the problem of complexity and technical debt at the root. This manual is the story of how we succeeded, full of our scars and the lessons we learned. It's the guide for anyone who wants to stop playing with the tip of the iceberg and start building the submerged foundations.

← Movement Index Next Chapter →