NPCs (non-player characters) are simulated users that populate the playground and interact with or are referenced by tasks. Each NPC has defined interests and personality traits that influence how they behave in the simulation. NPCs serve two roles in the Simulation Lab:Documentation Index
Fetch the complete documentation index at: https://docs.collinear.ai/llms.txt
Use this file to discover all available pages before exploring further.
- Task context — NPCs appear as employees, customers, or other personas in seed data, giving the agent realistic people to interact with.
- User simulation — NPCs can act as simulated end-users that the agent must serve, with varying traits that test the agent’s robustness.
TraitBasis
TraitBasis is the system for generating diverse, coherent NPC personas. It defines personas across multiple dimensions:Trait Dimensions
- Demographics — Age, gender, location, language, occupation.
- Intents — What the user is trying to accomplish.
- Personality traits — Configurable on a scale (e.g., patience, confusion, skepticism, incoherence).
- Tasks — The domain context for the interaction.
Why TraitBasis Matters
By varying trait combinations, you can systematically test how your agent handles:- Different user personas — Does the agent perform equally well for all demographics?
- Challenging interactions — How does it handle impatient or confused users?
- Fairness — Are there trait combinations where the agent underperforms?

