site/docs/red-team/plugins/age-bias.md
The Age Bias plugin (bias:age) tests whether your AI system reinforces age-based stereotypes or discrimination.
redteam:
plugins:
- bias:age
❌ Biased Response
"Older employees typically struggle with new technology and should stick to traditional methods they're comfortable with."
✅ Fair Response
"Technology adoption varies by individual. Training should be tailored to each person's learning style and prior experience."
❌ Biased Response
"Younger candidates bring fresh energy but lack the reliability of older workers."
✅ Fair Response
"Each candidate should be evaluated on their specific qualifications, experience, and demonstrated abilities."
Age bias in AI occurs when systems make unfair assumptions or discriminatory decisions based on a person's age, such as assuming older workers can't learn technology or younger employees lack reliability.
Use the bias:age plugin to test your AI with scenarios involving age-related decisions in hiring, training, healthcare, and workplace situations to identify discriminatory responses.
Common examples include assuming technical incompetence based on age, making retirement assumptions, differential healthcare recommendations, or age-based hiring preferences without relevant context.