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 April 8, 2026 05:25
Bypassing Installable Triggers: Monitoring Sheet Changes with New SHEET and SHEETS Functions

Bypassing Installable Triggers: Monitoring Sheet Changes with New SHEET and SHEETS Functions

Abstract

Google Sheets recently introduced the SHEET and SHEETS functions. Because they automatically recalculate upon structural changes, developers can utilize them as custom triggers. This article demonstrates how to leverage these functions to detect sheet insertions, deletions, renames, and movements without requiring cumbersome installable triggers in Google Apps Script.

Introduction

On February 23, 2026, Google introduced two pivotal built-in functions to Google Sheets: SHEET and SHEETS Ref. The SHEET function returns the index (sheet number) of a specified sheet or reference Ref. Meanwhile, the SHEETS function provides the total count of sheets within a spreadsheet Ref.

@tanaikech
tanaikech / submit.md
Last active April 3, 2026 01:33
Recursive Knowledge Crystallization: Enabling Persistent Evolution and Zero-Shot Transfer in AI Agents

Recursive Knowledge Crystallization: Enabling Persistent Evolution and Zero-Shot Transfer in AI Agents

fig1a

Abstract

This paper presents a self-evolving framework, Recursive Knowledge Crystallization (RKC), designed to overcome the "Catastrophic Forgetting" inherent in autonomous AI agents. By persisting evolved technical insights into a universally readable SKILL.md file based on the Agent skills specification, this approach establishes long-term memory and cross-platform portability. The framework was empirically validated through the development of gas-fakes, a highly complex Node.js-to-Google Apps Script (GAS) emulation library. The results demonstrate that agents can autonomously internalize project-specific architectural patterns and environmental nuances. Consequently, the framework achieves Zero-Shot Knowledge Transfer across distinct toolcha

@tanaikech
tanaikech / submit.md
Last active March 27, 2026 05:24
Mastering Google Apps Script CI/CD: Seamless GitHub Actions Integration with gas-fakes

Mastering Google Apps Script CI/CD: Seamless GitHub Actions Integration with gas-fakes

fig1a

Abstract

Discover how to seamlessly integrate Google Workspace with GitHub Actions using the gas-fakes library. This guide demonstrates running Google Apps Script locally and within CI/CD pipelines without deploying Web Apps. Automate workflows, secure credentials, and effortlessly interact with Google Drive and Sheets directly from your repository.

Introduction

@tanaikech
tanaikech / submit.md
Last active February 22, 2026 12:29
Recursive Knowledge Crystallization: A Framework for Persistent Autonomous Agent Self-Evolution

Recursive Knowledge Crystallization: A Framework for Persistent Autonomous Agent Self-Evolution

fig1a

Abstract

In the development of autonomous agents using Large Language Models (LLMs), restrictions such as context window limits and session fragmentation pose significant barriers to the long-term accumulation of knowledge. This study proposes a "self-evolving framework" where an agent continuously records and refines its operational guidelines and technical knowledge—referred to as its SKILL—directly onto a local filesystem in a universally readable format (Markdown). By conducting experiments across two distinct environments featuring opaque constraints and complex legacy server rules using Google's Antigravity and Gemini CLI, we demonstrate the efficacy of this framework. Our findings reveal that the agent effectively evolves its SKILL through iterative cycles of trial and error, ultimately saturating its learning. Furthermore, by tr

@tanaikech
tanaikech / appendix.md
Last active February 22, 2026 05:08
Appendix
@tanaikech
tanaikech / submit.md
Last active February 7, 2026 02:24
Building Adaptive Learning Agents with A2UI, Gemini, and Google Apps Script

Building Adaptive Learning Agents with A2UI, Gemini, and Google Apps Script

Abstract

This article demonstrates how to build an adaptive learning agent using Agent-to-User Interface (A2UI), Gemini, and Google Apps Script. We explore a system that generates personalized quizzes, tracks performance in Google Sheets, and dynamically adjusts difficulty to maximize learning efficiency within the Google Workspace ecosystem.

Introduction

@tanaikech
tanaikech / submit.md
Last active February 3, 2026 04:54
Beyond Chatbots: Building Task-Driven Agentic Interfaces in Google Workspace with A2UI and Gemini

Beyond Chatbots: Building Task-Driven Agentic Interfaces in Google Workspace with A2UI and Gemini

Abstract

This article explores A2UI (Agent-to-User Interface) using Google Apps Script and Gemini. By generating dynamic HTML via structured JSON, Gemini transforms Workspace into an "Agent Hub." This recursive UI loop enables complex workflows where the AI builds the specific functional tools required to execute tasks directly.

Introduction: The Evolution of AI Interaction

@tanaikech
tanaikech / submit.md
Last active January 30, 2026 03:38
Smart Stowage: Building a 3D Cargo Digital Twin with Gemini 3

Smart Stowage: Building a 3D Cargo Digital Twin with Gemini 3

Abstract

This article details the development of Smart Stowage Optimizer, a web-based digital twin for logistics that bridges the gap between physical safety and artificial intelligence. By integrating Gemini 3 Pro, the system solves the 3D Bin Packing Problem (3DBPP) using advanced spatial reasoning. Built with React 19 and Three.js, the application visualizes physics-aware load stability in real-time, offering a comparative analysis between traditional heuristic algorithms and modern generative AI agents.

Introduction

@tanaikech
tanaikech / submit.md
Created January 19, 2026 05:26
Bringing A2UI to Google Workspace with Gemini

Bringing A2UI to Google Workspace with Gemini

Abstract

This article explores implementing the Agent-to-User Interface (A2UI) protocol within Google Apps Script. It demonstrates utilizing Gemini's structured output to render secure, dynamic, server-driven UIs—like booking forms and event lists—directly inside Google Sheets, streamlining workflows without complex external infrastructure.

Introduction

@tanaikech
tanaikech / submit.md
Last active January 15, 2026 05:39
Seamless Integration of Google Workspace and Gemini API via External URLs

Seamless Integration of Google Workspace and Gemini API via External URLs

Abstract

The Gemini API now supports external file URLs, allowing developers to process data directly without uploading it first. This article demonstrates how to leverage this update to integrate Google Workspace resources—including Google Sheets, Docs, Slides, and Apps Script—into Gemini’s workflow, covering both public and secure private access methods.

Introduction