CLI for Google AI Search (gai.google) — run AI-powered code/tech searches headlessly from your terminal

r/artificial
Generative AI AI Business AI Tools

Google AI (gai.google) gives Gemini-powered answers for technical queries - think AI-enhanced search with code understanding. I built a CLI for it using headless Playwright since the site is fully browser-rendered. cli-web-gai search "how does Redis persistence work" cli-web-gai search "Python asyncio vs threading" --json cli-web-gai search "Rust ownership model explained" --format markdown Because the site renders in-browser (no public API), the CLI spins up a headless Chromium session, runs the query, and extracts the structured response. No auth needed - fully public.