Cover of AI Application Architecture: Patterns for Building Intelligent Systems by Alex Merced

AI Application Architecture: Patterns for Building Intelligent Systems

Published by Self-published · Tech

Covers architectural patterns for building intelligent applications, from inference pipelines to multi-agent orchestration.

About the author: Alex Merced is Head of Developer Relations at Dremio and the author of 77 books on data, AI, economics, fiction, and tabletop RPGs. His story is on WhoIsAlexMerced.com.

Who this book is for

AI engineers and software architects designing AI applications, backend engineers adding AI to existing systems, platform engineers building shared AI infrastructure, and technical leaders choosing architectural approaches.

Table of contents

  1. Why AI Needs Architecture
  2. Foundational Patterns
  3. RAG Architecture Patterns
  4. Agent Architecture Patterns
  5. Tool Use Patterns
  6. Orchestration Patterns
  7. Streaming AI Systems
  8. Hybrid Pipelines
  9. Multi-Model Architectures
  10. Context Management Patterns
  11. Reliability Patterns
  12. Anti-Patterns and Decision Framework

Excerpt

Building an AI application is easy. Keeping it running in production is hard. The gap between a working prototype and a production system is the same gap that software engineering has been bridging for decades: the gap between "it works on my machine" and "it works for a thousand users at 3 AM." This chapter establishes why AI systems need architectural discipline, what makes AI architecture different from traditional software architecture, and the cost of getting it wrong.

Related books

Work with Alex