Skip to content

Instantly share code, notes, and snippets.

View tanaikech's full-sized avatar

Kanshi TANAIKE tanaikech

View GitHub Profile
@tanaikech
tanaikech / submit.md
Created November 28, 2026 08:18
Auditing Documents & Images with Gemini Decisions API

Auditing Documents & Images with Gemini Decisions API

Check any PDF, draft, or image against 1,000 criteria at once—with zero output tokens

Zero-Output Multimodal Auditing (ZOMA) with Gemini Decisions API and Python CLI

Introduction

In my previous article, "Zero-Output-Token AI in Google Apps Script with Gemini Decisions API" Ref (source repository Ref), I demonstrated how Google DeepMind's Gemini Decisions API (POST https://generativelanguage.googleapis.com/v1beta/decisions, powered by gemini-decision-1) Ref fits Google Workspace automation—covering Gmail inbox labeling, model cascade routing, and a Google Sheets PDF compliance audit. Among those examples, the PDF compliance audit drew an especi

@tanaikech
tanaikech / submit.md
Created November 27, 2026 05:28
Harnessing Google Workspace MCP Servers with Google Apps Script

Harnessing Google Workspace MCP Servers with Google Apps Script

Step-by-step guide to using Google Workspace MCP servers with Google Apps Script and GASADK

Harnessing Google Workspace MCP Servers with Google Apps Script

On November 24, 2026, Google Workspace Model Context Protocol (MCP) servers reached General Availability (GA) Ref. That milestone opens official hosted MCP endpoints for Gmail, Google Drive, Docs, Sheets, Slides, Calendar, Chat, and Tasks—not only to enterprise Google Workspace domains, but also to personal Gmail accounts. Instead of maintaining self-hosted wrappers or hand-coding fragile REST schemas for every Workspace product, you can let an AI agent talk directly to Google's managed endpoints in plain language Ref.

New to scripting or Google Apps Script? You do not need t

@tanaikech
tanaikech / submit.md
Created November 25, 2026 03:03
Zero-Output-Token AI in Google Apps Script with Gemini Decisions API

Zero-Output-Token AI in Google Apps Script with Gemini Decisions API

Zero-Output-Token AI in Google Apps Script with Gemini Decisions API

Introduction

Over the past three years, I published a three-part series on automating semantic Gmail labeling with Google Apps Script (GAS) and the Gemini API:

@tanaikech
tanaikech / submit.md
Created November 8, 2026 02:34
Stop Passive AI Rewrites: Agentic Coaching in Google Docs with gdocumentor

Stop Passive AI Rewrites: Agentic Coaching in Google Docs with gdocumentor

A Go CLI and MCP server that turns Gemini and any AI agent into a Socratic writing and code review coach

Figure 1. Overview of the gdocumentor architecture and its four core pillars. Figure 1. Overview of the gdocumentor architecture and its four core pillars.

In my previous two articles—Building a Multimodal, Suggestion-Based AI Writing Coach with Gemini and Google Docs (Ref) and Beyond Passive AI Rewrites and Vibe Coding in Google Docs (Ref)—I introduced the Google Apps Script add-on DocuMentor AI (Ref). Those earlier articles explain the foundational i

@tanaikech
tanaikech / submit.md
Created October 27, 2026 05:35
Beyond Passive AI Rewrites and Vibe Coding in Google Docs

Beyond Passive AI Rewrites and Vibe Coding in Google Docs

Scaling a Multimodal AI Writing and Code Review Coach Across Classrooms and Research Labs with Gemini and Google Apps Script

DocuMentor AI Overview Infographic

In my previous article—Building a Multimodal, Suggestion-Based AI Writing Coach with Gemini and Google Docs—I introduced DocuMentor AI, an open-source Google Docs add-on built with Google Apps Script, the Google Docs API (v1), and the Gemini API (gemini-3.8-flash / gemini-4-argon). Instead of overwriting a writer's draft directly, DocuMentor AI uses the newest Google Docs API Suggestion & Comment Management features (WriteControl.writeMode = "SUGGEST", `addCommentRe

@tanaikech
tanaikech / submit.md
Last active October 24, 2026 07:07
Building a Multimodal, Suggestion-Based AI Writing Coach with Gemini and Google Docs

Building a Multimodal, Suggestion-Based AI Writing Coach with Gemini and Google Docs

DocuMentor AI Overview Infographic

When we use generative AI to proofread our daily writing—whether technical reports, business proposals, or blog posts—it is easy to fall into the habit of simply copying and pasting AI-rewritten text without reflecting on what was changed or why. While that fixes the immediate draft, it rarely helps us grow as writers.

Recently, Google introduced powerful new capabilities to programmatically manage comments and suggestions across Google Docs, Sheets, and Slides via the Google Workspace APIs (see the official guide: Work with suggestions and comments in the Google Docs API).

In this article, I introduce DocuMentor AI, an open-source Google Docs add-on built with Google Apps Script, the *Google Docs API (v1)

@tanaikech
tanaikech / submit.md
Last active October 14, 2026 02:50
AlphaEvolve and Gemini: Autonomous Algorithm Discovery for Unified Disaster Prediction
@tanaikech
tanaikech / submit.md
Created September 10, 2026 02:36
Taking Advantage of Cloud Run Sandboxes with Google Apps Script for Google Workspace

Taking Advantage of Cloud Run Sandboxes with Google Apps Script for Google Workspace

Deterministic Sub-Second Python and Bash Execution, Zero-Trust gVisor Isolation, and Zero Idle Cost

top image

Abstract

While secure sandboxes are pivotal for running Generative AI-generated code safely, connecting Google Cloud Run Sandboxes (gVisor) directly to Google Apps Script unlocks a vastly broader horizon. Beyond executing AI-drafted scripts on the fly, this complementary architecture empowers Google Workspace with deterministic Python data science (Pandas, Seaborn) and Bash execution in 200–450 ms. With zero-trust micro-isolation, zero-token data ingestion, and zero idle cost, it elevates Workspace automations far beyond standard V8 runtime constraints.

@tanaikech
tanaikech / submit.md
Last active September 8, 2026 06:32
Bidirectional Writeback for Apache Iceberg via Google Sheets: Serverless Lakehouse Console

Bidirectional Writeback for Apache Iceberg via Google Sheets: Serverless Lakehouse Console

Turn Google Sheets into a Fully Interactive, Differential ACID Mutation Console for Apache Iceberg without Reverse ETL SaaS or Cloud Servers.

Hero Infographic: Interactive Bidirectional Lakehouse Writeback via Google Sheets & Apache Iceberg Hero Infographic: Interactive Bidirectional Lakehouse Writeback via Google Sheets & Apache Iceberg. Enables business operators to query filtered records from an open Apache Iceberg table on Google Cloud Storage, visually edit values, add new rows, or purge obsolete records directly within a Google Sheets grid with an embedded dark-themed console, and commit atomic, microsecond-tolerant ACID mutations back to Parquet storage via BigQuery without Reverse ETL SaaS or persistent servers.

Structural Analysis of the Hero Infographic:

The hero infographic illustrates the complete, self-contain

@tanaikech
tanaikech / submit.md
Last active September 8, 2026 04:53
Serverless Multimodal Vector Search on Apache Iceberg via Google Apps Script

Serverless Multimodal Vector Search on Apache Iceberg via Google Apps Script

Turn Google Drive into an AI-Powered Lakehouse Vector Engine across Converted PDFs, Binary Images, and Text without Specialized Vector Databases.

Hero Infographic: Unified Multimodal Lakehouse Vector Search via Apache Iceberg & Google Apps Script Hero Infographic: Unified Multimodal Lakehouse Vector Search via Apache Iceberg & Google Apps Script. Consolidates Google Docs, Sheets, Slides, Forms, binary diagrams, and web-fetched assets into an open Parquet table, driven by Gemini embeddings and BigQuery serverless pushdown for sub-second semantic retrieval and live Google Drive discovery.

Structural Analysis of the Hero Infographic:

The hero infographic visualizes the end-to-end paradigm shift enabling unified multimodal storage and sub-second semantic discovery across three synchronized operational zones: