1.5 KiB
1.5 KiB
CooCom Agentic Chat (Simple)
Two-side OpenAI API decision chat:
- Left: 4 cooperative agents
- Right: 4 competitive agents
Rules implemented:
- Max 4 agents per side.
- Turn-based speaking (one at a time per side) with dynamic queueing (non-fixed order).
- Personality matching: each round randomly selects 4 personalities from a pool of 10, and both sides use the same 4 personalities (mode-specific missions) for fair comparison.
- Agent prompt includes peer roster awareness, lane discipline, discussion phase arc (early/middle/late), explicit gap-filling vs falsification behavior, and phrase-level voice anchors.
- 30-second discussion window.
- At 20s elapsed (10s remaining), moderator sends wrap-up alert.
- Final conclusion generated for each side with mode-specific templates (cooperative action/risk/success synthesis vs competitive position/assumption/falsification synthesis).
- Automatic judge scores both conclusions on
clarity,practicality,usefulness,rigor, andoverall, using transcript evidence for process quality, then picks a winner. - Session scoreboard tracks cumulative wins for cooperative vs competitive (and ties).
- Scoreboard keeps per-round history in localStorage and can be cleared.
- CSV test runner (
+icon) accepts pastedid,questiondata and executes rounds sequentially.
Run
- Export API key:
export OPENAI_API_KEY="your_key_here" - Optional model override:
export OPENAI_MODEL="gpt-4.1-mini" - Start server:
npm start - Open:
http://localhost:3000