3AI Design Patterns

70 AI design patterns for LLM apps and agents

Proven answers to recurring problems in LLM apps and AI agents: composition, RAG, memory, tools, guardrails, and operations.

items
70
Groups
7
01

Composition 10

How to arrange model calls in sequence, in parallel, or in loops.

02

Context and knowledge 11

How to get the right information into the window at the right time.

03

Memory and state 8

How to remember, forget, and resume across turns, sessions, and failures.

04

Tools and action 10

How the model acts in the world without breaking things.

05

Agent behavior 13

How agents reason, plan, share work, and know when to stop.

06

Safety and reliability 10

How to contain the model and survive its failures.

07

Operations and quality 8

How to measure, cut cost, and evolve the system safely.

Search