System Architecture
graph TB
subgraph Input["Input Layer"]
Problems[Problem Dataset
JSON]
Config[Configuration
API Keys]
end
subgraph Core["Core Orchestration"]
Runner[Runner
Workflow Manager]
Bus[Message Bus
Communication Hub]
Arbiter[Arbiter
Role Assignment]
end
subgraph Agents["LLM Agents"]
OpenAI[OpenAI Agent
GPT Models]
Anthropic[Anthropic Agent
Claude Models]
Google[Google Agent
Gemini Models]
XAI[xAI Agent
Grok Models]
end
subgraph Infra["Infrastructure"]
ClientO[OpenAI Client]
ClientA[Anthropic Client]
ClientG[Google Client]
ClientX[xAI Client]
end
subgraph Processing["Debate Stages"]
Stage1[Stage 1:
Role Selection]
Stage2[Stage 2:
Solution Generation]
Stage3[Stage 3:
Peer Review]
Stage4[Stage 4:
Judgment]
end
subgraph Output["Output & Analysis"]
Results[Debate Results
Winner Selection]
Eval[Evaluator
Performance Analysis]
Reports[Reports & Plots
Visualization]
end
Problems --> Runner
Config --> Runner
Runner --> Arbiter
Arbiter --> Stage1
Runner --> Bus
Bus <--> OpenAI
Bus <--> Anthropic
Bus <--> Google
Bus <--> XAI
OpenAI --> ClientO
Anthropic --> ClientA
Google --> ClientG
XAI --> ClientX
Runner --> Stage1
Stage1 --> Stage2
Stage2 --> Stage3
Stage3 --> Stage4
Stage4 --> Results
Results --> Eval
Eval --> Reports
style Input fill:#1a1a1a,stroke:#78a9ff,stroke-width:3px
style Core fill:#1a1a1a,stroke:#78a9ff,stroke-width:3px
style Agents fill:#1a1a1a,stroke:#42be65,stroke-width:3px
style Infra fill:#1a1a1a,stroke:#ff832b,stroke-width:3px
style Processing fill:#1a1a1a,stroke:#ee5396,stroke-width:3px
style Output fill:#1a1a1a,stroke:#78a9ff,stroke-width:3px