# Building AI Agents in Go. From the Agent Loop to Production

Canonical: https://www.kolczanksiazek.pl/dayna-blackwell/building-ai-agents-in-go-from-the-agent-loop-to-production/9781809310859

Wersja JSON (te same dane): https://www.kolczanksiazek.pl/dayna-blackwell/building-ai-agents-in-go-from-the-agent-loop-to-production/9781809310859.json

![Building AI Agents in Go. From the Agent Loop to Production](https://quivercdn.com/covers/packt-publishing-z-checia-przeczytam-ksiazke-w-jezyku-polskim/dayna-blackwell/building-ai-agents-in-go-from-the-agent-loop-to-production_978-18-0931-085-9-2e6a7301.webp?v=2026-11-26%2002%3A24%3A31)

- Książka: [Building AI Agents in Go. From the Agent Loop to Production](https://www.kolczanksiazek.pl/dayna-blackwell/building-ai-agents-in-go-from-the-agent-loop-to-production) ([Building AI Agents in Go. From the Agent Loop to Production.md](https://www.kolczanksiazek.pl/dayna-blackwell/building-ai-agents-in-go-from-the-agent-loop-to-production.md))
- Autorzy: [Dayna Blackwell](https://www.kolczanksiazek.pl/dayna-blackwell)
- Wydawnictwo: Packt Publishing (Z chęcią przeczytam książkę w języku polskim)
- ISBN: 978-18-0931-085-9
- Liczba stron: 786
- Język: pl_PL
- Oprawa: Softcover

## Opis

Build AI agents that do more than call a language model. Learn to design the Go harness that controls model requests, executes tools, manages context, and handles failures. Starting with a simple agent loop, this hands-on guide takes you through building a complete agent from scratch and preparing it for production. You'll begin with a testable agent loop before connecting to a real model API. Using Go's standard library, you'll implement HTTP clients, streaming responses, structured tool calling, and concurrency. You'll then build an agent that investigates crashes in a Go web service, groups related reports, identifies root causes, writes reproducer tests, and proposes fixes. The book takes an evidence-driven approach, measuring agent performance against 32 tasks with hidden tests. You'll explore MCP integration, context management, parallel execution, and framework trade-offs through reproducible experiments. You'll also implement retries, sandboxing, human approval, spending limits, evaluation workflows, and durable state for crash recovery. By the end, you'll have built a production-oriented crash-triage agent that runs as a CLI or service, handles concurrent investigations, survives restarts, and verifies fixes before reporting them.