Building a Type-Safe Gemini Chat Store with Drizzle ORM — Multi-Turn Persistence, Branching Threads, and Vector Search in Production
A production-grade design for persisting Gemini API multi-turn conversations with Drizzle ORM. Covers streaming saves, branching threads, function calling history, pgvector integration, and the migration strategy you actually need.
Why Gemini Deep Research Stops Mid-Way and How to Fix It
A practical guide to diagnosing and fixing Gemini Deep Research stopping before it finishes — covering query structure, language settings, browser tips, and retry strategies.
What to Do When Gemini Shows 'This Model Is Overloaded Right Now'
Seeing the 'This model is overloaded' message in Gemini? Learn why it happens, what you can do right now, and how to handle it gracefully in API applications with retry logic.
Gemini API PDF Input Troubleshooting: When Your Document Just Won't Read
When Gemini returns nothing for your PDF, hits the 20MB ceiling, or quietly skips pages, the symptom usually points to one of five very specific causes. Here's how to narrow it down quickly.
Google ADK Quickstart — Build Your First AI Agent in 30 Minutes
A hands-on Google Agent Development Kit (ADK) walkthrough for absolute beginners — from install to a working agent in 30 minutes, with the gotchas called out as you hit them.
Google AI Pro vs Ultra: Which Should an Indie Developer Pick? 3 Months of Side-by-Side Use
After running Google AI Pro and Ultra side by side for three months as an indie developer, here's a clear decision framework that the price tables don't show — focused on Veo limits, Deep Think frequency, Mariner workflows, and operational stability.
Ship a Production Gemini Agent in 30 Minutes with Mastra and TypeScript
Mastra keeps the lightness of Vercel AI SDK while adding the agent primitives you actually need in production. This guide walks through building, debugging, and deploying a Gemini-powered Mastra agent end-to-end, including the Cloudflare Workers gotchas that bit me first.
Migrating to @google/genai: Seven Errors That Will Eat Your Afternoon
A field-tested guide to the seven errors you are most likely to hit when migrating from @google/generative-ai to @google/genai, with copy-paste fixes for Node.js and TypeScript codebases.
Stop Gemini From Phoning In the Last Few Paragraphs — Prompt Patterns That Hold Density to the End
When Gemini writes long pieces, the final paragraphs often go thin. A solo creator's three-layer routine — pre-declared footer, staged generation, verifier agent — to keep density consistent from start to finish.
Teaching Gemini Your Own Writing Voice: Prompt Design for Solo Creators, and How to Avoid Overfit
Letting AI write for me always produced text that sounded like 'someone else.' Here's how I taught Gemini to keep my voice across articles, plus how I avoid the surprising overfit problem when you feed it too many samples.
When Gemini Deep Research Returns Shallow Reports or Gets Stuck — A Practical Troubleshooting Guide
Why Gemini Deep Research sometimes produces thin reports or fails midway, and how to fix it through plan editing, source distribution, and PDF citation tuning.
Designing a Daily Reading Practice With Gemini as Your Reading Partner
How to use Gemini at a closer distance than 'researcher' — as a daily reading assistant. The operating model I have settled into for cross-domain reading as a solo developer and artist.