from haive.games.among_us import AmongUsGame, AmongUsAgent, AmongUsConfig
# Create agents with distinct personalities
agents = [
AmongUsAgent(
name="detective",
personality="analytical",
deception_skill=0.3,
trust_threshold=0.7,
social_influence=0.6
),
AmongUsAgent(
name="manipulator",
personality="deceptive",
deception_skill=0.9,
trust_threshold=0.3,
social_influence=0.8
),
AmongUsAgent(
name="follower",
personality="trusting",
deception_skill=0.2,
trust_threshold=0.9,
social_influence=0.4
),
AmongUsAgent(
name="chaos_agent",
personality="unpredictable",
deception_skill=0.6,
trust_threshold=0.5,
social_influence=0.7
)
]
# Configure advanced social dynamics
config = AmongUsConfig(
enable_psychology_tracking=True,
alliance_formation=True,
behavioral_adaptation=True,
social_influence_modeling=True
)
# Run social psychology experiment
game = AmongUsGame(players=agents, config=config)
results = await game.run()
# Analyze emergent behaviors
print(f"Alliance Networks: {results.alliance_analysis}")
print(f"Deception Success Rates: {results.deception_metrics}")
print(f"Trust Evolution: {results.trust_dynamics}")
print(f"Social Influence Patterns: {results.influence_analysis}")
Social Psychology Games¶
The Social Psychology Games represent the cutting edge of AI behavioral research - sophisticated gaming environments where AI agents demonstrate complex social psychology, deception mechanics, trust modeling, and emergent social behaviors that mirror real human interactions.
🧠Revolutionary Capabilities¶
AI agents that lie convincingly, detect deception, form alliances, and exhibit realistic social psychology patterns
Complex group dynamics with hidden roles, asymmetric information, and emergent social behaviors
Dynamic personality profiles that evolve based on social interactions and strategic necessities
Comprehensive behavioral analysis including manipulation tactics, trust patterns, and social influence
Live tracking of alliance formation, betrayal patterns, and social hierarchy emergence
Core Social Games¶
Among Us - Advanced Social Deduction¶
The Ultimate AI Social Psychology Laboratory
Among Us provides the most sophisticated platform for studying AI deception, trust, and social reasoning. AI agents demonstrate:
Strategic Deception: Convincing lies and misdirection
Behavioral Analysis: Reading other agents’ tells and patterns
Alliance Formation: Dynamic team building and betrayal
Social Influence: Manipulating group decision-making
Quick Start: AI Social Deduction
Advanced Among Us Features
Mafia/Werewolf - Hidden Role Psychology¶
Module exports.
Classic Social Deduction with Advanced AI Psychology
The Mafia implementation features sophisticated day/night cycles, role-based psychology, and complex information asymmetry.
Key Features: * Hidden Role Psychology: Different AI behaviors for Mafia vs Townspeople * Information Asymmetry: Complex knowledge modeling and strategic information sharing * Day/Night Mechanics: Different behavioral patterns for different game phases * Social Network Analysis: Dynamic relationship tracking and influence modeling
Debate - Argumentative AI Intelligence¶
Advanced Argumentation and Persuasion Systems
The Debate system represents sophisticated AI argumentation with real-time research, evidence evaluation, and persuasion tactics.
Revolutionary Features: * Real-Time Research: AI agents research topics during debate preparation * Evidence Evaluation: Sophisticated fact-checking and source credibility analysis * Persuasion Tactics: Advanced rhetorical strategies and audience psychology * Multi-Format Support: Parliamentary, Oxford-style, Lincoln-Douglas formats
Advanced Social Mechanics¶
Dynamic Personality Evolution¶
Adaptive Personality Systems that evolve based on social interactions:
Alliance Formation & Betrayal¶
Complex Social Network Dynamics:
Social Influence Modeling¶
Advanced Persuasion and Manipulation:
Psychological Research Features¶
Behavioral Pattern Analysis¶
Comprehensive Psychology Profiling:
Multi-Game Social Consistency¶
Cross-Game Personality Tracking:
Social Network Evolution¶
Dynamic Relationship Modeling:
Tournament Social Intelligence¶
Cross-Provider Social Comparison¶
Compare AI Provider Social Intelligence:
Emergent Behavior Research¶
Study Emergent Social Phenomena:
Performance Metrics¶
Social Intelligence Benchmarks:
Deception Success Rate: 85% for advanced manipulator personalities
Trust Calibration: ±0.1 accuracy in trust assessment
Alliance Stability: 70% alliance survival rate across game phases
Influence Propagation: <3 hops for 90% influence spread
Behavioral Adaptation: 0.2 personality shift per significant interaction
Research Applications:
Academic Research: Social psychology, game theory, multi-agent coordination
Commercial Intelligence: Negotiation training, team dynamics, leadership development
AI Safety Research: Understanding AI social manipulation and cooperation patterns
Integration with Other Systems¶
Social psychology games integrate with the main haive-agents framework for sophisticated agent orchestration.
Hot-swap personalities, strategies, and social parameters during gameplay for adaptive research.
Full integration with cross-provider tournament system for competitive social intelligence analysis.
See Also¶
Tournament System - Multi-Agent & LLM Benchmarking - Cross-provider social intelligence tournaments
multi_agent_coordination - Integration with haive-agents framework
dynamic_configuration - Real-time personality and strategy modification
benchmark_framework - Performance analysis and optimization