Strategic AI architecture handbook
Enterprise AI & Agentic AI Knowledge Hub
Understand the concepts. Draw the architecture. Review with confidence.
Strategic AI architecture explained simply: LLMs and model selection, the enterprise AI stack, RAG and GraphRAG, vector databases, evaluation, agents, MCP and multi-agent patterns, Spring AI, AI security and governance — with diagrams, system designs and review questions.
This handbook explains enterprise AI the way an architect needs it: what each building block does, why it exists, how the pieces fit into a system, and what can go wrong. Every article follows the same structure: a simple definition, the problem it solves, diagrams of the architecture and the request flow, trade-offs, common mistakes, and review questions with answers. Key flows are drawn as interactive Archify diagrams you can zoom, explore by guided view and export.
The handbook has six modules and a review section:
- LLM Foundations & the Enterprise AI Stack: AI engineering fundamentals, how large language models are trained and work, inference and its optimisation, prompting, fine-tuning in depth, dataset engineering, evaluation methodology and pipelines, model selection, the reference stack, a progressive AI application architecture, user feedback, on-premise and hybrid deployment, LLMOps, GenAI adoption strategy and hybrid AI in financial services.
- RAG, Vector Databases & GraphRAG: retrieval-augmented generation from first principles to hybrid search, reranking, GraphRAG and evaluation, plus a full system design.
- Agentic AI, MCP & Multi-Agent Systems: generative vs agentic AI, the five levels and the SPAR loop, the agent loop, tool calling, planning and failure modes, MCP and the agent protocol stack (A2A, AG-UI, Agent Skills), workflow patterns, multi-agent topologies, memory, harnesses, computer use, agent identity, reliability, strategy and a practical agent-building playbook (opportunity scoring, the A.G.E.N.T. framework).
- Spring AI, AI Security & Governance: building all of the above in Java with Spring AI 2.0, then securing and governing it.
- Agent Frameworks & Platforms: LangGraph, OpenAI Agents SDK, Claude Agent SDK, Google ADK, Microsoft Agent Framework, CrewAI, Embabel, LangChain4j and more — plus managed agent platforms and how to choose.
- Claude for Engineering & the SDLC: the Claude model family and how to choose model and effort, the Claude API for builders, Claude Code for development teams, a phase-by-phase SDLC playbook and the practices for using Claude safely, cheaply and well.
- Review: an architecture review framework, review questions by module and a quick-reference sheet.
Start here
- How LLMs workTokens, embeddings, the transformer, attention, context windows, sampling and the training stages that turn a next-token predictor into an assistant — explained simply, with diagrams and review questions.
- Enterprise AI stackThe layers of an enterprise AI platform — infrastructure, models, AI gateway, data and knowledge, orchestration and agents, applications, LLMOps, security and governance — with a reference architecture, request flow and platform-team operating model.
- RAG fundamentalsWhat RAG is, why enterprises use it, the ingestion and query pipelines step by step, naive vs advanced vs modular RAG, failure points and how to design a first RAG system.
- What is an agent?Agents explained simply: the agent loop, ReAct, workflows vs agents, the components of an agent (model, tools, memory, planning, guardrails), levels of autonomy, and when to use — and not use — agents.
- Framework landscapeWhat an agent framework actually does, the categories of frameworks (graph runtimes, multi-agent SDKs, agent harnesses, JVM frameworks, managed platforms, low-code builders), where they sit in an enterprise platform, a comparison table and a decision guide.
- Agent protocol stackHow the open agent standards fit together in 2026 — MCP for tools and data, A2A for agent-to-agent delegation, AG-UI for agent-to-interface streaming, Agent Skills for packaged know-how, AGENTS.md for repository instructions — with an end-to-end flow, governance under the Agentic AI Foundation, and adoption guidance.
Explore by topic
- Learning PathsOrdered routes through the handbook, from LLM basics to designing and reviewing agentic systems.
- 1 · LLM FoundationsAI engineering fundamentals, how LLMs are trained and work, inference and its optimisation, prompting, fine-tuning in depth, dataset engineering, evaluation methodology and pipelines, model selection, a progressive application architecture, user feedback, the enterprise AI reference stack, on-premise and hybrid deployment, LLMOps, GenAI adoption strategy and hybrid AI in financial services.
- 2 · RAG & GraphRAGRetrieval-augmented generation end to end: chunking, embeddings, vector databases, hybrid search, reranking, GraphRAG, evaluation and a full system design.
- 3 · Agentic AI & MCPGenerative vs agentic AI, the five levels and SPAR, the agent loop, tool calling, planning and failure modes, the Model Context Protocol, agentic workflow patterns, multi-agent topologies, memory, reliability, strategy, an agent-building playbook and a full system design.
- 4 · Spring AI & GovernanceImplementing chat, RAG, tools, MCP and memory with Spring AI 2.0, running it in production, and securing and governing enterprise AI.
- 5 · Agent FrameworksThe frameworks, SDKs and managed platforms used to build AI agents in 2026 — Python, TypeScript, Java and .NET — what each is good at, and how to choose.
- 6 · Claude for EngineeringUsing Anthropic's Claude across the software lifecycle: the model family and how to pick a model and effort level, the Claude API for builders, Claude Code for development, a phase-by-phase SDLC playbook, and the practices that make it safe, cheap and effective.
- ReviewCheck your understanding and review AI designs: an architecture review framework with checklists, review questions with answers across all modules, and a one-page quick-reference sheet.
Recently reviewed
- Claude Code in practiceHow Claude Code works and how to set it up well: the agentic loop and harness, where it runs, defaults (auto mode, Opus 5.5 at medium effort), CLAUDE.md, rules and auto memory, permission modes and rules, the sandbox, hooks, skills, sub-agents, MCP, plugins, output styles, checkpoints and sessions — from the official documentation.
- Cheatsheet: best practicesA one-page reference for working well with Claude Code: tell it what it can't see, give it a check to run, enforce rules that can't have exceptions, change defaults only with evidence, steer the session, and run it safely unattended — plus the old advice you can stop following.
- Cheatsheet: commandsEvery Claude Code command worth knowing on one page: slash commands grouped by job, bundled skills, CLI subcommands and flags, keyboard shortcuts, input prefixes, MCP and plugin commands, and the configuration files they act on.
- Reference: hooksEverything needed to write Claude Code hooks: where they live, every event and whether it can block, matchers and the if filter, the five handler types, input JSON, exit codes, JSON decision fields, how hooks interact with permissions, ready-to-use recipes, security and debugging.
- Reference: settingsA practical map of Claude Code configuration: settings files and precedence, how arrays and locks merge, permission rule syntax, the most useful settings keys by area (permissions, sandbox, model, memory, MCP, plugins, hooks, git, worktrees, enterprise), key environment variables, and copy-ready example files for a developer, a team and an organisation.
- Reference: skillsHow to write and run Claude Code skills: where SKILL.md files load from, every frontmatter field, who can invoke a skill, arguments, supporting files, dynamic context with !commands, running in a forked sub-agent, pre-approving tools, how skill content stays in context, bundled skills, and troubleshooting.