Intent
Intent is the goal or purpose attributed to an agent that motivates or guides an action, request, or interaction.
Effective Conversational AI
A user intent is the goal, purpose, or desired action that a user expresses or implies in a conversational interaction.
- How it is used
- Identifies the user’s goal so a chatbot can answer, begin a process flow, or route the request.
- How deep it goes
- Defines intents through utterance groupings and works through response, flow, coverage, and testing decisions without detailing classifier internals.
- Examples
- Uses store-hours questions, password problems, flight-booking requests, and claim-status flows to distinguish phrasing, goals, and next steps.
- What you can do after
- Build it from scratch by grouping real requests into intents, choosing actions and fallbacks, and testing recognition against unseen utterances.
AI-Powered Search
User intent is the goal or information need that motivates a person's query or interaction with a search system.
- How it is used
- Guides search and recommendation responses toward the user’s information need rather than keyword matching alone.
- How deep it goes
- Explains intent dimensions and query interpretation, with a worked semantic knowledge graph classifier and practical response choices.
- Examples
- Uses browsing and purchase queries, an airport ride search, and driver-related category classifications.
- What you can do after
- Apply query classification and contextual signals to inform search filtering, boosting, navigation, and personalized results.
Build High Value Software Systems
The desired outcome, requirements, and rationale that guide software implementation.
- How it is used
- Guides implementation and review by making the problem, constraints, and success criteria explicit before code is treated as complete.
- How deep it goes
- Defines three components of intent and works through API prompting and review consequences, without prescribing a complete requirements process.
- Examples
- Contrasts an authentication feature request with success criteria and uses an order endpoint’s contract, skeleton, and tests to expose decisions.
- What you can do after
- Practice/perform it by stating success criteria, bounding AI prompts with contracts, and checking generated changes for unsupported decisions.
Read how Build High Value Software Systems explains intent →
Spec-Driven Development
Intent is the actionable expression of purpose for a specific change, concrete enough to guide implementation and verification.
- How it is used
- Guides a specific change by connecting its purpose to implementation, design decisions, and verification.
- How deep it goes
- Defines intention, contrasts it with vaguer inputs, and follows its effects through context selection, specifications, tests, and governance.
- Examples
- Uses compromised-account password reset and cross-platform log cleanup to expose omitted requirements and distinguish durable intention from generated code.
- What you can do after
- Practice/perform it by stating a change’s purpose and success criteria, preserving them in artifacts, and repairing gaps at their source.
Architecting for Autonomy
The desired purpose or objective that motivates an interaction or requested action.
- How it is used
- Defines why an agentic interaction exists within a governed conversational contract.
- How deep it goes
- Defines intent and contrasts it with an operation name through a concrete example.
- Examples
- Contrasts querying production history with assessing whether lot 2418 requires containment.
- What you can do after
- Understand how to state an agent’s purpose so it bounds an interaction rather than merely naming an operation.
WordPress Power Toolkit: Harness AI to build next-level websites
User intent is the motive or objective underlying a user's search query.
- How it is used
- Guides keyword choices and content matching by identifying the motive behind a query.
- How deep it goes
- Defines user intent, distinguishes four query goals, and illustrates content matching without detailing a research procedure.
- Examples
- Uses fishing queries about recipes, knots, lure comparisons, and purchases to illustrate different goals.
- What you can do after
- Apply intent by matching content to query needs, such as choosing an educational article over a product page.
Read how WordPress Power Toolkit: Harness AI to build next-level websites explains intent →
The Art of AI Product Development
A user’s underlying goal or requested task expressed through an interaction.
- How it is used
- Focuses AI products on user tasks the model can handle and guides users toward those supported requests.
- How deep it goes
- Explains intent through product decisions and examples, but does not detail technical intent-detection methods.
- Examples
- Uses chatbot question guidance, unauthorized investment-advice requests, and product-description rewrites.
- What you can do after
- Apply intent boundaries by testing real user questions and steering requests toward supported tasks.
Read how The Art of AI Product Development explains intent →
Build an AI Agent (From Scratch)
User intent is the goal or desired outcome underlying a user's request to an AI system.
- How it is used
- Guides agent prompt rules for choosing immediate action versus clarification.
- How deep it goes
- States the clear-versus-ambiguous rule and sample prompt wording, but does not specify how to detect ambiguity.
- Examples
- Uses weather search, calculation, and file analysis to illustrate acting on clear requests.
- What you can do after
- Configure agents to act on clear requests and ask minimal clarifying questions when intent is unclear.
Natural Language Processing in Action, Second Edition
An intent is a category representing an objective that a user wants an NLP system or chatbot to carry out.
- How it is used
- Maps user messages to conversational goals, such as starting a chat or requesting a task.
- How deep it goes
- Defines intent and demonstrates keyword detection for greeting versus unknown, while pointing toward regular expressions as an extension.
- Examples
- Uses “Hello Joshua” to illustrate greeting detection and a Ukrainian translation query to illustrate a task intent.
- What you can do after
- Build a simple keyword recognizer that assigns greeting or unknown intent, then extend its rules with more categories or regular expressions.
Read how Natural Language Processing in Action, Second Edition explains intent →
Also covered in
- Knowledge Graphs and LLMs in Action
- Build AI-Enhanced Web Apps
- Causal AI
- Designing Deep Learning Systems: A guide for software engineers
- Context EngineeringIn early access (MEAP)
- Authorization in Action
- Grokking AI Algorithms, Second Edition
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.
- schemaA data schema is a formal specification of the structure, fields, types, relationships, and constraints of data.
- user experienceUser experience is a person’s overall perceptions and responses resulting from interacting with or using a product, service, or system.
- contractA contract is an agreed specification of the conditions, expectations, rights, or obligations that govern behavior or interactions between parties or software components.
Related concepts
- goalcontrasts with · A goal is a desired outcome or state that guides actions and decisions or provides a basis for evaluating progress.
- contextpart of · Context is the relevant information, state, or circumstances surrounding an input, decision, or activity that influence its interpretation or behavior.
- intuitioncontrasts with · Intuition is the formation of a judgment or insight without deliberate, explicit analytical reasoning.
- actioncontrasts with · An action is a choice or operation selected or performed by an actor that can affect a system, environment, or process.
Questions about intent
What is intent?
Intent is the goal or purpose attributed to an agent that motivates or guides an action, request, or interaction.
Which Manning books explain intent?
Effective Conversational AI, AI-Powered Search, Build High Value Software Systems, Spec-Driven Development, Architecting for Autonomy, WordPress Power Toolkit: Harness AI to build next-level websites, The Art of AI Product Development, Build an AI Agent (From Scratch) and 1 more.
What should I know before learning intent?
Manning books that teach intent usually introduce language model, schema, user experience and contract first.
What is the difference between intent and goal?
Intent is the goal or purpose attributed to an agent that motivates or guides an action, request, or interaction. A goal is a desired outcome or state that guides actions and decisions or provides a basis for evaluating progress.
What kinds of intent are there?
Kinds of intent include navigational intent.
What is intent part of?
Intent is part of context. Context is the relevant information, state, or circumstances surrounding an input, decision, or activity that influence its interpretation or behavior.
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.








