How to use this AI Engineering guide
Words made simple
A few useful meanings before you read the explanation.
- AI
- Software techniques for tasks such as recognizing patterns, understanding language or generating content.
- API
- A way for one piece of software to ask another for data or an action. A claims API might return the current status of a claim.
- Retrieval
- Finding and fetching information that is useful for the current question.
More words from this lesson
- Agent
- An application that uses a model to choose its next action within defined limits. It can use tools and continue through several steps.
- Durable
- Able to retain progress and recover across interruptions. Durable workflows require appropriate storage and retry behavior.
- Idempotency
- Making a repeated request have the same intended business effect as one request. It helps avoid duplicate submissions or payments.
- Authentication
- Checking who a user or service is, such as by verifying a login session.
- Authorization
- Checking what that identity is allowed to read or do. Being logged in does not grant access to every record.
AI Engineering Notes for an Experienced MERN Developer
A practical textbook for building AI applications, agents, and reliable client solutions.
Audience: You already understand TypeScript, React, Next.js, Node.js, APIs, authentication, MongoDB, and backend design. AI terms are introduced from the beginning. The recurring project is an Insurance AI Assistant that explains policies, looks up claims, prepares claim submissions, and escalates to staff.
Document scope: All learning material stays in this existing file. Insurance deadlines, monetary thresholds, policy names, and sample customers below are fictional teaching data, never insurance advice or universal rules.
Version note — 7 October 2026: Concepts such as authorization, retrieval, idempotency, and evaluation are durable. Framework names, imports, supported models, cloud branding, prices, and quotas change. Official documentation links accompany implementation details. Code blocks are study examples; examples that depend on application services explicitly identify those dependencies. No provider calls were executed while preparing these notes.
How to study
-
Read sections 1–6 to learn the vocabulary.
-
Build projects 1–5 while reading sections 7–18.
-
Spend extra time on section 8, LangGraph.
-
Use sections 24–27 to connect the pieces to MERN, then practice the questions in section 29 and the decisions in section 30.
-
The final cheat sheet is for revision after learning the explanations.
-
Concept cards follow your requested order: what, why, everyday example, technical example, how, flow, insurance example, use, avoid, interview answer, and senior note.
-
Closely related terms are taught together so that their differences are visible.
-
The senior note includes alternatives, failure behavior, security, cost, and trade-offs when relevant.
Can you explain it without the notes?
How to use this AI Engineering guide
Use your own words. Explain an example and one limitation before checking the explanation.
Check your explanation
A practical textbook for building AI applications, agents, and reliable client solutions.
Turn this concept into a clear answer.
Practice this conceptAdapted from 13_AI.MD · “How to study”. Examples are study fragments; framework behavior can depend on your version.