ChainBreak AI is a single-page demo for defensive, attack-path reasoning. It accepts a system snapshot, sends it to Gemini 3 with a strict defensive prompt, and renders structured JSON results along with what-if analysis.
npm install
npm run devCreate a .env.local file with:
GEMINI_API_KEY=your_key_here
GEMINI_MODEL=gemini-3Open http://localhost:3000 to use the demo.
- Login-free, single-page UI with system snapshot inputs
- What-if buttons to re-run reasoning with delta summaries
/api/analyzeroute that validates inputs, calls Gemini 3, and sanitizes output- Raw JSON view plus defensive-only safety notes
