LATENT LIBRARY PROGRAMMING AI forDevelopers Coding Assistants, AI Features andGood Engineering LATENT LIBRARY EDITORIAL

AI for Developers

Coding Assistants, AI Features and Good Engineering

Latent Library Editorial

IntroductionIntroduction

Building software with large language models is different from traditional programming. The core component is probabilistic: the same input can produce different outputs, quality is measured statistically, and behaviour is shaped by prompts and data as much as by code. Yet the engineering disciplines still apply: clear interfaces, testing, observability, security, cost control and incremental delivery.

This book is for software developers who want to build reliable AI features. It is vendor-neutral: examples use simplified pseudo-code and common patterns found across model providers. It covers calling models, prompt design for applications, structured outputs, tool use, retrieval-augmented generation, agents, evaluation, observability, security, cost and using AI coding assistants well.

How the book is organised

Chapter 1The Developer's Mental Model

A language model takes text (and sometimes images or audio) as input and produces text as output. Your application builds the input (instructions, context, user message), calls the model, parses the output, and acts on it. Everything around the model call is ordinary software engineering.

You have reached the end of the free sample.
The full book continues with 71 more chapters, plus the appendices.

Get the full book