Agent Scaling
Description
Understanding Agent Scaling in LLM-Based Multi-Agent Systems via Diversity
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
Understanding Agent Scaling in LLM-Based Multi-Agent Systems via Diversity
This repository provides the codebase for studying **how scaling the number of heterogeneous LLM agents with diverse reasoning personas improves collective performance** through debate and voting mechanisms. We introduce the **K\* metric** (effective diversity) based on embedding eigenvalue entropy to quantify semantic diversity among agents, and show that persona-guided multi-agent collaboration yields consistent gains across reasoning benchmarks.
Project Structure
.
├── src/ # Core source code
│ ├── main.py # Main orchestration: debate/voting loop
│ ├── evaluator.py # Answer extraction & scoring (math, MCQ)
│ ├── data/ # Dataset loaders
│ │ ├── data_utils.py # Central data router
│ │ ├── gsm8k.py # Grade School Math 8K
│ │ ├── arc.py # ARC-Challenge / ARC-Easy
│ │ ├── hellaswag.py # HellaSwag
│ │ ├── truthfulqa.py # TruthfulQA
│ │ ├── winogrande.py # WinoGrande
│ │ ├── mmlu_pro_medicine.py # MMLU-Pro Medicine
│ │ └── mmlu_formal_logic.py # MMLU Formal Logic
│ └── model/ # Model wrappers
│ ├── model_utils.py # Agent factory, persona definitions, unified engine
│ ├── llama.py # LLaMA (v2/v3) wrapper via HuggingFace
│ ├── qwen.py # Qwen wrapper via HuggingFace
│ ├── openai_compat.py # OpenAI-compatible API client (vLLM, etc.)
│ └── azure_openai.py # Azure OpenAI wrapper
├── scripts/ # Experiment runner scripts
│ ├── add*.sh # Heterogeneous multi-agent experiments
│ ├── add*_noperspn.sh # Same experiments without personas
│ └── ablation*.sh # Ablation studies (persona impact, agent count)
├── K_star_analysis/ # K* diversity metric compu
Related Skills
Agency Agents
A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy inject
AI Firecrawl
🔥 The API to search, scrape, and interact with the web for AI
AI Artifacts Builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web tech
AI CrewAI
Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewA
AI TrendRadar
⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的
AI mem0
| Universal memory layer for AI Agents | 51341 | 221 | 1 |
AI