Mental model
A mental model is a person's internal representation of how a system, situation, or process works, used to understand it and reason about its behavior.
The Art of AI Product Development
A mental model is an internal representation of relevant entities, relationships, and processes that supports reasoning about a domain.
- How it is used
- Guides AI interface design toward expectations that support appropriate user trust and control.
- How deep it goes
- Explains mental models through research questions, design guidelines, and prototype testing rather than cognitive theory.
- Examples
- Uses an AI-generated report with progress explanations, missing-data warnings, and low-confidence highlights.
- What you can do after
- Practice testing and refining interface explanations against users’ interpretations and responses to AI errors.
Read how The Art of AI Product Development explains mental model →
Vibe Engineering
An internal representation of how a system works that supports reasoning about its behavior and consequences.
- How it is used
- Frames mental models as necessary for owning and verifying AI-generated code without deferring understanding to incidents.
- How deep it goes
- Develops practical evaluation questions and exploration steps, while cautioning that neither checklists nor passing tests establish correctness.
- Examples
- Uses a scaling-related endpoint timeout, markup parsing edge cases, and exploratory testing of generated code.
- What you can do after
- Diagnose and debug with an understanding of code intent, failure modes, and the limits of passing tests.
Crack Any Codebase with AI
A mental model is an internal conceptual representation of a system, its structure, and its behavior.
- How it is used
- Uses mental models to understand unfamiliar systems before modifying them with AI.
- How deep it goes
- Develops the concept through system traces, dependency maps, diagrams, verification, and layer-by-layer reverse-engineering.
- Examples
- Uses one-sentence explanations, request traces, diagrams, dependency lists, and a VS Code file-opening walkthrough.
- What you can do after
- Evaluate/understand unfamiliar codebases well enough to locate change points, challenge AI claims, and modify systems confidently.
Think Distributed Systems
An internal representation of a target system that forms the basis for comprehension, communication, and reasoning.
- How it is used
- Uses internal representations to replace vague intuition with confident reasoning and effective communication about complex systems.
- How deep it goes
- Defines correctness and completeness, illustrates relevance and perspective, and stops short of prescribing one universal model.
- Examples
- Uses electric circuits, overlapping interpretations, multiple system perspectives, and code-free process interleavings as teaching examples.
- What you can do after
- Evaluate system descriptions, construct relevant abstractions, identify omissions, and communicate shared understanding without relying on implementation details.
Functional Programming in JavaScript
An internal conceptual representation used to understand how a system or program behaves.
- How it is used
- Uses mental models to reason about program behavior, data flow, readability, and expressive design.
- How deep it goes
- Defines dynamic and static aspects, then explains how pure functions and functional chains make behavior easier to follow.
- Examples
- Contrasts imperative loops with functional chains that clean, normalize, deduplicate, sort, and summarize person data.
- What you can do after
- Evaluate/understand program behavior by tracing transformations and data flow through clear functional operations.
Read how Functional Programming in JavaScript explains mental model →
Software Testing with Generative AI
An internal conceptual representation through which a person understands a system, feature, or situation.
- How it is used
- Uses heuristic perspectives to create focused prompts for risk-based test planning.
- How deep it goes
- Explains reinterpretation through SFDIPOT and stops short of prescribing a complete modeling procedure.
- Examples
- Uses a booking-list user-flow model and the SFDIPOT mnemonic to generate perspective-specific risks.
- What you can do after
- Apply it to produce more specific, actionable prompts while retaining human judgment about risks and results.
Read how Software Testing with Generative AI explains mental model →
Collaborative Software Design: How to facilitate domain modeling decisions
A mental model is an individual’s internal representation of how a domain, business process, or software system works.
- How it is used
- Aligns stakeholders and software teams around how a domain, business process, or system works.
- How deep it goes
- Explains mental models, visualizes them to expose misunderstandings, and tests them through group observations and sensemaking questions.
- Examples
- Uses EventStorming visualizations and a dot-on-a-line exercise contrasting standard products with custom-made solutions.
- What you can do after
- Evaluate and refine shared understanding by visualizing assumptions, surfacing conflicts, and incorporating group evidence.
Everyday Data Visualization
A person's internal conception of how a system, visualization, or part of the world works.
- How it is used
- Guides interactive visualization design by aligning exploration features with users’ expectations and experience.
- How deep it goes
- Defines the concept and gives observational research guidance, but defers detailed user-research methods.
- Examples
- Uses a selectable Blood Pressure bar, interactive segmentation, and observation of users with familiar or unfamiliar visualizations.
- What you can do after
- Evaluate/understand users’ expectations and adapt visualization guidance and interactions to support independent data exploration.
Read how Everyday Data Visualization explains mental model →
Also covered in
- BDD in Action, Second Edition
- Spec-Driven DevelopmentIn early access (MEAP)
- 100 Go Mistakes and How to Avoid Them
- Effective Conversational AI
- The Creative Programmer
- JavaScript in DepthIn early access (MEAP)
- LLM Evaluation and Alignment, The Foundational IdeasIn early access (MEAP)
What to know first
- language modelA language model is a computational model that represents patterns in linguistic sequences to assign probabilities, predict, generate, or evaluate language.
- software testingSoftware testing is the systematic evaluation of software under specified inputs or conditions to assess its behavior against expected results or requirements and identify defects.
- automationAutomation is the execution of tasks or processes by machines or software with reduced direct human intervention.
- conversational aiConversational AI is artificial intelligence that enables software systems to interpret user input and interact with users through natural-language dialogue.
Related concepts
- language modelkind of · A language model is a computational model that represents patterns in linguistic sequences to assign probabilities, predict, generate, or evaluate language.
- conflicting contextused by · Conflicting context is a condition in which supplied information, instructions, or state contain mutually incompatible facts or interpretations.
- context poisoningused by · Context poisoning is the introduction of misleading, adversarial, outdated, unsafe, or otherwise untrusted content into an AI system’s context to bias its behavior or outputs.
Questions about mental model
What is mental model?
A mental model is a person's internal representation of how a system, situation, or process works, used to understand it and reason about its behavior.
Which Manning books explain mental model?
The Art of AI Product Development, Vibe Engineering, Crack Any Codebase with AI, Think Distributed Systems, Functional Programming in JavaScript, Software Testing with Generative AI, Collaborative Software Design: How to facilitate domain modeling decisions and Everyday Data Visualization.
What should I know before learning mental model?
Manning books that teach mental model usually introduce language model, software testing, automation and conversational ai first.
What is the difference between mental model and diagnostic analytics?
A mental model is a person's internal representation of how a system, situation, or process works, used to understand it and reason about its behavior. Diagnostic analytics is the collection and analysis of information to investigate observed behavior, failures, faults, or anomalies and determine their likely causes.
What kinds of mental model are there?
Kinds of mental model include correct mental model.
What is mental model a kind of?
Mental model is a kind of language model. A language model is a computational model that represents patterns in linguistic sequences to assign probabilities, predict, generate, or evaluate language.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.







