Dev wires Gemini Decisions API into a Chrome extension so agent tools can ask the model mid-flow

schequm · reddit · 2026-11-20

A developer integrated the Gemini Decisions API into their Chrome extension, letting tools that agents write ask the model questions on any page they're logged into. The core idea splits agent work into three tiers: think (slow, token-hungry, non-deterministic), judge (fast, cents, semi-deterministic via the Decisions API), and repeat (fastest, zero tokens, deterministic) — deterministic steps rerun cheaply while uncertain judgment calls are delegated to the cheap API, cutting cost and latency. The demo shows a find-the-threads → pick-real-buyers → write-replies flow where a findBuyers() tool asks "is this a real buyer?"

Original post →

More from coding & agent

coding & agent channel →