Hoppa till innehållet

Dayna Blackwell

Building AI Agents in Go

  • Vikt 1,44 kg

869 krhos Akademibokhandeln · exkl. frakt

Dubbelkollat idag

Jämför 1 butik

Priser från butikernas flöden kan ha ändrats: det är priset hos butiken som gäller, så kontrollera det innan du handlar.

Om produkten

Building AI Agents in Go

Läs mer

Build reliable AI agents in Go from scratch, progressing from a simple agent loop to production systems with tool calling, testing, security, and recovery.Key FeaturesBuild a complete AI agent in Go from scratch, using the standard library before adding frameworksDevelop a crash-triage agent and evaluate its performance against 32 reproducible tasksCreate production-ready agents with secure tools, human approval, cost controls, and crash recoveryPurchase of the print or Kindle book includes a free PDF eBookBook DescriptionBuild 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.What you will learnBuild an agent loop and integrate language model APIs in GoImplement tool calling, JSON schemas, and streaming responsesDevelop an agent that diagnoses crashes and verifies code fixesManage context windows, tokens, and concurrent tool executionIntegrate external tools and services using MCPEvaluate agent reliability with reproducible tests and metricsSecure tool execution with sandboxing and human approvalImplement retries, cost controls, and crash-safe recoveryWho this book is forGo developers, backend engineers, and software engineers who want to build AI agents from scratch and deploy reliable, tool-using applications. This book is ideal for developers new to LLMs and agentic AI, as well as Python or TypeScript agent developers moving to Go. Familiarity with Go structs, interfaces, errors, and packages is required. No prior experience with AI agents, machine learning, or LLM development is necessary.

Specifikationer

Fakta

Vikt
1,44 kg
GTIN
09781809310866

Uppgifter från tillverkare och butiker.