Agents with Feelings? Personality and Emotion in Multi-Agent Software Teams
Summary
A study investigates the impact of personality and emotion profiles on LLM agent teams in Software Engineering (SE). Using a psychology-informed framework integrating Big Five traits, basic emotions, SE work styles, and task roles, researchers evaluated 78 team-profile configurations across code generation and code review. The study involved four LLMs and 659 task instances. Results show profile choice significantly affects performance and team behavior. For code generation, the gap between best and worst shared-profile configurations reached 7.1–11.3 percentage points in pass@1. Mixed-profile configurations outperformed shared-profile ones in six of eight model–task settings. Additionally, fear and high-conscientiousness profiles increased revision activity, over-revision, and token usage without consistent performance gains, highlighting agent profiles as a critical design dimension.
Key takeaway
For AI Scientists designing multi-agent LLM systems for Software Engineering, recognize that agent personality and emotion profiles are critical design dimensions, not mere prompt text. You must explicitly evaluate and optimize profile configurations for your specific LLM and task, as effectiveness is highly context-dependent. Consider implementing mixed-profile assignments for specialized roles to achieve additional performance gains, and always balance computational cost with solution quality when selecting profiles.
Key insights
LLM agent performance and collaboration in SE tasks are significantly influenced by assigned personality and emotion profiles.
Principles
- Agent profiles are a critical design dimension for multi-agent LLM systems.
- Profile effectiveness is model- and task-specific, not universally transferable.
- More collaboration (revisions) does not consistently yield better performance.
Method
A psychology-informed framework constructs persona descriptions for LLM agents by integrating personality traits (Big Five), SE-relevant work styles, emotions, and task roles.
In practice
- Evaluate profile choices in target model-task settings, don't reuse blindly.
- Consider role-specific profile specialization for performance gains.
- Balance computational cost with solution quality when selecting profiles.
Topics
- Multi-Agent Systems
- LLM Agents
- Software Engineering
- Personality Profiles
- Emotion Profiles
- Code Generation
- Code Review
Code references
Best for: Research Scientist, AI Architect, AI Scientist, Machine Learning Engineer, AI Engineer
Related on AIssential
Editorial summary, takeaway, and curation by AIssential. Original article published by cs.SE updates on arXiv.org.