2026-03-12 23:36:52 +05:30
2026-03-12 23:36:52 +05:30
2026-03-11 18:51:19 +05:30
2026-03-12 23:05:45 +05:30
2026-03-12 23:05:45 +05:30
2026-03-12 23:36:52 +05:30
2026-03-12 23:36:52 +05:30

CooCom Agentic Chat (Simple)

Two-side API decision chat:

  • Left: 4 cooperative agents
  • Right: 4 competitive agents
  • Provider support: OpenAI or Gemini (switchable from in-app settings)

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, and overall, 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.
  • Settings modal stores selected provider plus per-provider API keys in localStorage for this browser.
  • CSV test runner (+ icon) accepts pasted id,question data and executes rounds sequentially.

Run

  1. Optional server-side OpenAI API key:
    export OPENAI_API_KEY="your_key_here"
    
  2. Optional model override:
    export OPENAI_MODEL="gpt-4.1-mini"
    export GEMINI_MODEL="gemini-2.5-flash"
    
  3. Optional server-side API keys:
    export GEMINI_API_KEY="your_gemini_key_here"
    
  4. Start server:
    npm start
    
  5. Open: http://localhost:3000
S
Description
GitHub account backup: https://github.com/s41r4j/CooCom | Snapshot: 2026-11-06
Readme
139 KiB
0 Stars 1 Watchers 0 Forks
Languages
JavaScript 74%
CSS 14.8%
HTML 11.2%