5
Anatomy of an AI System
Production AI systems are not just models. They are stacks of data pipelines, prompts, retrieval systems, orchestration layers, APIs, tool calls, infrastructure, monitoring, and human workflows. The model may be the part everyone talks about, but the real security posture comes from how all of those pieces connect.
That is where a lot of teams get into trouble. They secure the model endpoint and miss the training data path. They review the prompt and miss the retrieval layer. They restrict the application and forget that the agent can still call a tool with standing permissions. They assume the trust boundary sits around the model, when in practice, it may sit around a vector database, a feature store, a logging pipeline, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access