Buch erschienen: KI-Agenten in TypeScript entwickeln
Das Buch AI Engineering with TypeScript ist auf Leanpub und Amazon erschienen. Es richtet sich an Entwickler, die bereits TypeScript beherrschen und KI-Produkte im gewohnten Stack bauen wollen.

My book: AI Engineering with TypeScript: A Comprehensive Guide to Building AI Agents is out, on Leanpub and Amazon, for developers who already know TypeScript and want to build AI products in familiar dev stack.
This post covers what the book is, who it's for, what you build chapter by chapter, and what it leaves out.
For most teams, building AI products means calling a model provider's API, not training a model. You send an HTTP request, handle a streamed response, validate JSON, keep state, and deal with failures and cost. That's work TypeScript developers already do every day.
So the book uses the TypeScript stack end to end: Hono on the server, React on the client, PostgreSQL with pgvector for storage and retrieval, Drizzle for database access, and Zod to validate what comes back from the model. Types are shared between frontend and backend in a pnpm monorepo.
It's an engineering book. There's no Transformer math and no model training. It covers how to build an AI application that keeps working once real users and real bills arrive.
You don't need backend experience or any background in machine learning. If you've done backend work before, you can start at Chapter 5 and use Part One as a reference.
The book has 24 chapters in six parts. Each part ends with something that runs.
The move from frontend to full stack. You set up a monorepo with TypeScript, ESM, tsx, Biome and Vitest. Then you learn the server-side patterns AI apps lean on: the Node.js event loop, streams, error handling and type-safe APIs. The part ends with a full-stack app with a database, migrations and authentication.
The Model Context Protocol, from the JSON-RPC layer up:
The appendices cover a TypeScript server-side reference, a troubleshooting guide, a glossary, prompt/context/harness engineering, and current trends.
Every chapter has runnable code in github.com/aiengineering-book/code, organized by chapter, with a server/ and usually a web/ directory. The code blocks in the book are synced from that repository, so what you read is what runs. You'll need an OpenAI API key, and Docker for PostgreSQL from Chapter 4 on.
Several posts here are adapted from chapters, or start from a chapter and push further with a measurement:
If those are useful to you, the book goes into the same topics in more depth, and builds them into one system.
Questions, corrections and "this didn't work for me" reports are all welcome in the comments.