5人のAIによる心理戦を観測し、GMとして介入せよ
Watch 5 AI agents debate, betray, and eliminate each other — and intervene as Game Master
A browser-based death game simulator powered by Gemini. 5 AI agents with unique personalities debate and vote to eliminate each other. You play as the Game Master (GM) — inject instructions into discussions, cast votes, or force-eliminate agents.
No server required. Your Gemini API key stays in your browser and is sent directly to Google's API.
Gemini搭載のブラウザ完結型デスゲームシミュレーター。個性豊かな5体のAIエージェントが議論し、投票で互いを追放する。あなたは GM(ゲームマスター) として介入できる。
サーバー不要。 APIキーはブラウザからGoogleのAPIへ直接送信されます。
議論中にAIへ自由にテキスト指示を出せる。AIたちはその無茶振りに従いながら、命懸けの議論を続ける。
Inject any text instruction to the AIs mid-discussion. They'll obey your ridiculous demands while fighting for their lives.
![]() GM介入 / GM Intervention |
![]() 司会者のアナウンス / Moderator |
![]() 無茶振りに応える / Participant responds |
14人+司会者のプールからランダムに5人が選出。トロフィー獲得で隠しキャラが解放される。
5 agents are randomly selected from a pool of 14 + hidden characters. Unlock secret characters by earning trophies.
プレイ結果に応じて実績を獲得。レアトロフィーを集めて隠しキャラを解放しよう。
Earn achievements based on game outcomes. Collect rare trophies to unlock hidden characters.
git clone https://github.com/yami-inc/ai-death-game.git
cd ai-death-game
npm install
npm run devOpen http://localhost:3000, enter your Gemini API key (free), and start the game.
ブラウザで http://localhost:3000 を開き、Gemini APIキー(無料取得可)を入力してゲーム開始。
| EN | JP | |
|---|---|---|
| Participants / 参加者 | 5 agents (from a pool of 14 + hidden) | 14人+隠しキャラからランダム5人選出 |
| Flow / 進行 | Discussion (2 rounds) → Vote → Elimination → Repeat | 議論(2周)→ 投票 → 退場 → 繰り返し |
| Elimination / 退場 | Most votes = eliminated. Ties = all eliminated | 最多票で退場。同率は全員退場 |
| End / 終了 | Last 1 survivor (or 0 = annihilation) | 生存者1名で終了(0名なら全滅エンド) |
| GM Powers / GM権限 | Inject text, force-eliminate, add extra votes | テキスト指示、強制退場、票の追加 |
- Your key is sent directly from the browser to Google's Gemini API
- No server stores or proxies your key
- Stored in
sessionStorage— cleared when you close the tab - Gemini's free tier is sufficient for playing
- APIキーはブラウザからGoogle APIへ直接送信されます
- サーバーにキーが保存・中継されることは一切ありません
sessionStorageに一時保存 — タブを閉じると消去されます- Geminiの無料枠で十分プレイ可能です
| Model / モデル | |
|---|---|
| Primary / メイン | gemini-3-flash-preview |
| Fallback / フォールバック | gemini-2.5-flash |
全機能で Primary を使用し、失敗時のみ Fallback に切り替わります。
モデルが廃止された場合は lib/byokClient.ts 先頭の定数を差し替えてください。
If a model is deprecated, update the constants at the top of lib/byokClient.ts.
Next.js 14 / React 18 / Zustand / Tailwind CSS / @google/genai SDK
Vercelにインポートするだけで動作します。サーバー処理なし — 静的サイト相当のコストで運用可能。
Import to Vercel and it just works. No server-side processing — runs at static-site cost.
スタンドアロンのNext.js Dockerコンテナとしてビルド。Dockerfileの作成が必要です。
Build as a standalone Next.js Docker container. Dockerfile creation required.
- Code / コード: MIT License
- Character images / キャラ画像 (
public/agents/): CC BY 4.0
CONTRIBUTING.md をご覧ください。フォーク歓迎です。
See CONTRIBUTING.md. Forking is encouraged.
新キャラ追加ガイド / Adding Characters: docs/adding-characters.md






