Persona
A persona is a defined identity or representative profile characterized by traits, goals, perspectives, or behavior that guides an agent’s or user group’s representation.
AI Agents in Action
A persona is an agent's behavioral and biographical characterization that guides how it responds and performs tasks.
- How it is used
- Guides an LLM’s responses and agent behavior by supplying context, rules, background, personality, or task-specific framing.
- How deep it goes
- Defines persona elements and demonstrates configuration, but defers deeper treatment to profile-generation methods and supporting agent systems.
- Examples
- Uses junior programmer, registered nurse, Julia Child–reminiscent culinary assistant, ogre-speaking agent, and historian-profile exercises.
- What you can do after
- Operate/configure an agent by writing a persona, placing it in a Nexus YAML profile, selecting it, and testing responses.
AI Agents in Action, Second Edition
An agent persona is a role, background, behavioral style, expertise profile, and operating-constraint specification that guides an AI agent's responses and task behavior.
- How it is used
- Guides an agent’s task behavior and responses as its core functional layer.
- How deep it goes
- Defines the persona, then develops role boundaries, structured output, and runtime instructions through a code example.
- Examples
- Uses a support assistant with dynamic date instructions and a typed answer containing citations and confidence.
- What you can do after
- Build it from scratch with a focused role, explicit boundaries, an uncertainty off-ramp, and a defined output format.
Read how AI Agents in Action, Second Edition explains persona →
Architecture Modernization: Socio-technical alignment of software, strategy, and structure
A persona is a representative characterization of a user or participant whose goals, context, and behavior are used to explore an experience.
- How it is used
- Uses personas to warm up domain participants, map roles, and prepare collaborative EventStorming.
- How deep it goes
- Explains purposes, responsibilities, notation, and storytelling, but stops short of prescribing a rigid persona-development process.
- Examples
- Uses real-estate buyers and sellers, plus advertisers from startups and enterprises, to show overlapping roles and divergent experiences.
- What you can do after
- Practice mapping domain participants and telling differentiated experience stories during collaborative EventStorming.
BDD in Action, Second Edition
A persona is a detailed representation of a typical user, including characteristics such as goals, abilities, background, and motivations.
- How it is used
- Uses realistic named users to clarify user stories, acceptance scenarios, application behavior, and automated test state.
- How deep it goes
- Explains persona characteristics, scenario benefits, data lookup, and implementation options, then demonstrates actor configuration without detailing every test framework mechanism.
- Examples
- Uses Jill, Elsa, Sam, and Jane alongside banking, travel-planning, account-summary, and frequent-flyer registration scenarios.
- What you can do after
- Apply it via automated acceptance tests by naming actors and resolving their precise details from configuration, databases, factories, or test state.
Design for Developers
A representative profile describing a target type of user and that user's relevant goals or needs.
- How it is used
- Guides user-centered decisions across research, wireframing, visual design, development, and iteration.
- How deep it goes
- Explains profile content, research grounding, bias risks, and lifecycle use, illustrated through a persona-card example.
- Examples
- Uses a persona card containing age, occupation, family details, goals, and frustrations, plus support forums as a fallback research source.
- What you can do after
- Apply personas to keep target users’ goals and needs central during design and development decisions.
AI Agents and Applications
A persona is a prompt specification of the role, expertise, or perspective that a language model should adopt.
- How it is used
- Frames a language model’s role and expertise within structured prompts and dynamic research-assistant workflows.
- How deep it goes
- Defines persona use and shows prompt composition, but stops short of evaluating persona reliability or model behavior internally.
- Examples
- Uses finance analyst, marketing manager, sci-fi author, copy editor, and dynamically selected research-assistant personas.
- What you can do after
- Apply it via LangChain prompt templates to select specialized assistants and generate role-aware web-search instructions.
Related concepts
- agent profilepart of · An agent profile is a specification of an agent's identity, background, demographics, behavioral guidance, and task-oriented characteristics.
- promptpart of · An input, typically containing instructions or context, supplied to an artificial-intelligence model to guide or elicit its output.
- rolecontrasts with · A role is a defined function, responsibility, perspective, or set of permissions associated with a participant in an organization or system.
- ai coding assistantconfigures · An AI coding assistant is an artificial-intelligence-powered software tool or agent that helps users perform software-development tasks such as generating, modifying, explaining, testing, or debugging code.
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.





