05beb0c7e04690fc603e1297ed1f27b80940d2ed
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).
- Agent role cards (different lens per agent) to reduce repetitive outputs.
- 30-second discussion window.
- At 20s elapsed (10s remaining), moderator sends wrap-up alert.
- Final conclusion generated for each side.
- Automatic judge scores both conclusions (clarity, practicality, usefulness, overall) and picks a winner.
- Session scoreboard tracks cumulative wins for cooperative vs competitive (and ties).
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
Description
GitHub account backup: https://github.com/s41r4j/CooCom | Snapshot: 2026-11-06
139 KiB
0 Stars
1 Watchers
0 Forks
Languages
JavaScript
74%
CSS
14.8%
HTML
11.2%