Beam Shop
Building AI Agents in Go
From the Agent Loop to Production
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.
Versandkostenfreie Lieferung! (eBook-Download)
Als Sofort-Download verfügbar
- Artikel-Nr.: SW9781809310859450914
- Artikelnummer SW9781809310859450914
-
Autor
Dayna Blackwell
- Verlag Packt Publishing
- Barrierefreiheit
- Kommentar vom Verlag: The structure and markup of this publication follow WCAG guidelines.
- Navigation über Inhaltsverzeichnis
- Enthält kurze Alternativtexte
- Enthält Sprachinformationen für TTS
- Zertifiziert durch: PublishDrive
- Barrierefrei nach: EPUB Accessibility Spec 1.1
- Aussehen von Textinhalten kann angepasst werden
- Klar definierte Links und Buttons
- Barrierefrei nach: WCAG v2.0
- Barrierefrei nach: WCAG Level A
- ISBN 9781809310859
- Verlag Packt Publishing