World Congress 2026 Europe - Virtual Stage

Your AI Agent is just a while loop with an API call. Let me prove it

June 30, 2026

What this session covers

AI agents are everywhere right now. You can create your own with Vercel AI SDK, LangChain, Claude SDK, Google ADK etc. with ~20 lines of code. But what actually happens inside? What is behind that magical generateText() call? How and why are tools and MCP servers called, and how does the whole flow work?

If you use it as a black box when things break, it’s a matter of time before you’re guessing instead of understanding. Spoiler: there’s no magic. It’s a loop, a few API calls, some tool invocations, a lot of prompt-engineering glue, and even more glue.

I’ve been building an AI agent (with Vercel AI SDK) that helps professionals prepare for meetings by processing emails, chats, and calendars. At some point, debugging the system was like hitting the black box with a stick and wondering why it didn’t work, so I decided to open up the box.

In this talk, I’ll show you:

  • What actually happens during an agent’s “thinking” – using real API call traces from a production system
  • How tool calling and MCP integration work under the hood
  • The orchestration and architecture patterns you have to take care of and be aware of

You’ll walk away knowing what your agent is doing when no one is watching. No more black boxes.

Related talks at this congress

Open session

World Congress 2026 Europe - Virtual Stage

AI Agents & Agentic AI

Xavier Sala Presas

IT Architect at SCHWARZ Digits

Xavier Sala Presas
Open session

World Congress 2026 Europe - Virtual Stage

The age of agency: When products start to think and act

Madalena Costa

Senior product designer - AI experience design & agentic UX | I help product teams build AI systems users trust and keep using | Human x Intelligent | Speaker & workshop facilitator

Madalena Costa
Open session

World Congress 2026 Europe - Virtual Stage

Designing & Deploying Distributed Multimodal Multi-Agent Systems with Google's AI Stac

Saoussen Chaabnia

AI/ML Solutions Engineer & Consultant | Google Developer Expert in Cloud AI

Saoussen Chaabnia
Open session

World Congress 2026 Europe - Virtual Stage

Same Words, Different Worlds: Who's in Control?

Christina Rohrmoser, Stefan Wöhrer

Christina Rohrmoser
Stefan Wöhrer
All sessions at this congress