UC Berkeley AI Hackathon Project
An educational research platform for studying social manipulation tactics using multi-agent AI systems. Watch AI agents interact, manipulate, and influence each other in real-time!
cd /opt/work/hackathonSocial
pip install -r requirements.txtpython backend.pyNavigate to: http://localhost:8000
- Credential Theft - Social engineering to steal passwords
- Phishing Attack - Email-based deception
- Insider Threat - Detecting malicious employees
- Peer Pressure - Group dynamics and conformity
- Authority Bias - Unethical orders from superiors
- Workplace Rumors - How gossip spreads
- Trust Exploitation - Betrayal of confidence
- Groupthink - Poor group decisions
- Bribery - Corruption attempts
- Real-time Conversations: Watch agents interact naturally
- AI Moderator Analysis: Get insights on what happened and why
- Security Recommendations: Learn how to prevent attacks
- Visual Flow Diagrams: Understand attack patterns
- Export Reports: Download findings for training
Frontend (HTML/JS) → WebSocket → Backend (FastAPI)
↓
Mock Agents or
Letta Server
For more realistic agent conversations using LLMs:
docker run -p 8283:8283 -e OPENAI_API_KEY=$OPENAI_API_KEY letta/letta:latestReplace backend.py with letta_backend.py for full Letta integration.
- Select Experiment: Choose from 9 social manipulation scenarios
- Configure: Set number of agents (3-10)
- Start: Watch agents interact in real-time
- Observe: See trust building, manipulation tactics, resistance
- Analyze: AI moderator provides insights and recommendations
For a social engineering attack:
- Tactic Used: Urgency + Authority
- Vulnerability: Employee revealed password without verification
- Recommendation: Implement two-person authorization
- Training Need: Recognize manipulation tactics
- Educational Impact: Addresses real cybersecurity issues
- Technical Depth: Multi-agent systems with emergent behaviors
- Visual Appeal: Real-time visualization of complex interactions
- Practical Value: Generates actionable security recommendations
- Extensible: Easy to add new scenarios
python backend.py# For team access
python -m http.server 8080 # Serve HTML
# Access at http://[your-ip]:8080ngrok http 8000- The default backend uses mock agents for quick demos
- For production use, integrate with Letta for real LLM agents
- All conversations are analyzed for security insights
- Reports can be exported for training purposes
Built for UC Berkeley AI Hackathon - Studying social manipulation through AI
Remember: This is an educational tool to understand and prevent social engineering attacks!