Agents with Feelings? Personality and Emotion in Multi-Agent Software Teams

· Source: cs.SE updates on arXiv.org · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Software Development & Engineering · Depth: Expert, extended

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

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

Topics

Code references

Best for: Research Scientist, AI Architect, AI Scientist, Machine Learning Engineer, AI Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by cs.SE updates on arXiv.org.