# Personality Variant Overlay

> Let one agent speak in multiple named registers (teacherly, terse, playful) via short overlay prompts — the base identity and memory are preserved across all variants.

- **Category**: Agentic AI
- **Subcategory**: Multi-Agent
- **Canonical URL**: https://designpattern.fyi/patterns/personality_variant_overlay/

---

## Description
**Intent**: Let one agent speak in several named voices that overlay the base identity rather than replacing it, so the agent can shift register without losing identity continuity or splitting into separate personas.
**Context**: A long-lived agent with an explicit base personality needs to handle situations that call for different registers — teacherly, terse-and-operational, playful, gravely serious — without shipping them as separate agents that each lose continuity. The goal is labelled voices that are visibly the same agent.
**Solution**: Maintain a small registry of named variants. Each variant is a short overlay block (a few sentences describing tone, pacing, vocabulary) concatenated onto the base system prompt at turn time, never replacing it. The agent (or an upstream selector) chooses a variant per turn. Memory, tools, charter, and name are shared across all variants. Variant overlays must not contradict the base charter — the registry is curated, not user-supplied.



## Use Cases
- The agent has an explicit base personality the team wants to preserve across all interactions.
- Different situations call for different registers without losing conversational continuity.
- Selection is from a finite, curated set rather than free-form persona impersonation.






## Trade-offs


### Advantages

- Register can shift to match the situation without any loss of identity.

- A finite labelled set is auditable — users and operators can see which voice is active.

- Memory and tools are shared, so the agent doesn't forget itself when the voice changes.




### Considerations & Drawbacks

- Variants drift toward parody if the overlay block is too thick or too stylized.

- Selection logic becomes another small policy to maintain and keep current.

- Users may interpret a variant shift as inauthenticity if the change isn't announced.







---
**Reference**: [Original Source](https://www.agentpatternscatalog.org/patterns/personality-variant-overlay/)

