How mughesh03/team-simulation-platform works
Team Simulation Platform supports configurable AI-only batch studies and human-in-the-loop (HITL) team sessions, with researcher setup and result review. The main runtime entry is app/main.py: it routes study requests into batch orchestration or interactive sessions, which use the agent backend and persistence layer. The README documents builders, progress, dashboards, participant links, exports, and interdependence reference pages. The graph distinguishes those capabilities, but several route-to-template and dashboard details are documented rather than visible in the sampled source.
Main entry points: main.py Web and API routes · storage.py JSONL and config storage · agents.py Agent backend · templates Study builders
Components 18
Study design
- Study builders
app/templates - Builder logic
app/static/app.js - Task library
app/templates/task_library.html - Participant interface
app/templates/participant.html
Simulation runtime
- Batch orchestration
app/main.py - Team structure rounds
app/main.py - Agent backend
app/agents.py - Live model service
- HITL session runtime
app/main.py
Review and reference
- Researcher dashboards
app/templates - Experiment history
app/templates/experiments.html - Interdependence diagrams
app/static/interdependence.js - Result exports
app/storage.py
Platform services
- Web and API routes
app/main.py - Researcher auth
app/auth.py - JSONL and config storage
app/storage.py
Other components
- Researcher
- Participant
Connections 22
- Researcher → Study builders: configures studies
README.md - Study builders → Builder logic: uses
- Builder logic → Web and API routes: submits studies
app/static/app.js - Researcher → Task library: browses tasks
README.md - Web and API routes → Researcher auth: checks access
app/main.py - Web and API routes → Batch orchestration: starts batches
app/main.py - Batch orchestration → Team structure rounds: runs simulations
app/main.py - Team structure rounds → Agent backend: requests turns
app/main.py - Agent backend → Live model service: calls live models
- Batch orchestration → JSONL and config storage: logs results
app/main.py - Web and API routes → HITL session runtime: creates sessions
app/main.py - HITL session runtime → Agent backend: requests turns
README.md - HITL session runtime → JSONL and config storage: logs events
README.md - Participant → Participant interface: joins session
README.md - Participant interface → HITL session runtime: intervenes
README.md - Researcher → Researcher dashboards: reviews results
README.md - Researcher dashboards → Web and API routes: requests results
- Web and API routes → JSONL and config storage: reads records
app/main.py - Researcher → Experiment history: views history
README.md - JSONL and config storage → Result exports: provides records
app/storage.py - Researcher → Result exports: downloads exports
README.md - Researcher → Interdependence diagrams: views diagrams
README.md