Sakura Localization Cloud & ST-Cache-Optimizer for Gemini Implicit Caching are now live. Meet Our Founding Team & Key Staff →
AI-First Localization & LLM Caching Infrastructure

Ship narrative games globally with context-locked AI localization.

Sakura AI Labs builds Sakura Localization Cloud and open-core developer infrastructure—combining full-route Gemini long-context translation, deterministic implicit prompt caching, and non-destructive game engine patch compilers on Google Cloud.

Full-Route Long-context script & glossary alignment
Zero-Touch Non-destructive XP3 & binary repacking
Open-Core 5+ public repositories & studio SDKs
route_03_sakura.ks · Kirikiri2 / KAG3 AST Glossary Locked · Gemini API
LINE #0418 · SPEAKER: SHIORI WIDTH: 36/44 CHARS [OK]
「先輩、昨日のアーカイブ構造の件ですが……パッチの読み込み順序を修正しておきました。」
"Senpai, regarding yesterday's archive layout—I've fixed the patch load priority for us."
LINE #0419 · SPEAKER: NARRATOR WIDTH: 41/44 CHARS [OK]
既存のセーブデータを壊さずに、音声カット防止フックだけが静かに有効化された。
Without breaking legacy save files, the non-stop voice hook activated cleanly in memory.
先輩 → Senpai (Honorific Kept) アーカイブ → Archive Register: Polite / Warm
ST-Cache-Optimizer Middleware Implicit Prefix Aligned
STABLE PREFIX BLOCK System + 1,420 Terms
BACKEND TARGET Gemini / Vertex AI
// Deterministic prefix canonicalization for Gemini Implicit Caching
const payload = alignPromptPrefix({
  systemInstruction: STUDIO_STYLE_GUIDE_V2,
  immutableGlossary: project.compileCanonicalGlossary(), // pinned prefix
  turnWindow: normalizeTurnBoundaries(routeBatch.chunks)
});
// Identical leading token prefix across batches maximizes cache hits
Cloud Run Sandbox · Patch Build #209 Artifact Ready
$ sakura-cli build-patch --engine kirikiri-kag3 --input ./out_en/
[1/4] Parsing scenario AST & control tags (@nm, @vo, [r]) ... PASS
[2/4] Verifying CJK/Latin kerning & glyph bounding boxes   ... PASS (0 overflows)
[3/4] Injecting non-stop voice hook (patch.xp3 overlay)    ... PASS
[4/4] Emitting standalone patch.xp3 (base archive untouched)... DONE (4.2 MB)
Proprietary SaaS Platform

End-to-end localization & narrative runtime infrastructure.

Traditional game localization relies on brittle spreadsheets that strip narrative context and corrupt binary archives. Sakura Localization Cloud unifies extraction, context-locked LLM translation, QA, and patch compilation into one cloud workflow.

Cloud SaaS

Sakura Localization Workbench

Collaborative bilingual studio environment engineered for visual novels, story-rich RPGs, and interactive fiction.

  • Full-route Gemini long-context batch translation preserving character voice
  • Shared terminology & character relationship graphs across translators
  • Automated text-box character width & control-tag integrity checks
LLM Middleware

Deterministic Prefix Caching

Built upon our open-source ST-Cache-Optimizer research to eliminate redundant prompt token computation.

  • Pins multi-thousand-token glossaries & style rubrics as immutable prefixes
  • Stabilizes multi-turn conversational history for Gemini Implicit Caching
  • Reduces repeated glossary inference overhead across multi-chapter scripts
Cloud Run Sandbox

Non-Destructive Patch Compiler

Browser-based binary archive compilation hosted on serverless containers—no local Python or compiler setup required.

  • Emits clean overlay archives (patch.xp3) for Kirikiri2 / KAG3 / KirikiriZ
  • Preserves original game assets, digital signatures, and existing player saves
  • Automatic CJK/Latin font metric alignment to prevent overlapping glyphs
Open-Core Engineering Traction

Production open-source tools trusted by the community.

We believe foundational engine tooling should be inspectable and verifiable. Our public repositories form the battle-tested runtime core beneath Sakura Localization Cloud.

Public Repo · v0.1 Prototype Python · MIT

Galgame AI Translator

Kirikiri Script Extractor → Gemini / LLM Batch Pipeline → XP3 Repacker

End-to-end automated translation pipeline connecting archive extraction, glossary-aware LLM batch translation, side-by-side bilingual proofreading with line-length diagnostics, and overlay patch packaging.

Public Repo · Production JavaScript · MIT

ST-Cache-Optimizer

Gemini & Vertex AI Implicit Prompt Cache Alignment Extension

Non-invasive prompt stabilization middleware for multi-turn conversational frontends. Keeps leading prompt turns deterministic so requests consistently hit Google Gemini & Vertex AI implicit prompt caches.

Released · v2.0 Python (Stdlib) · MIT

Galgame Voice Non-Stop Patcher

Kirikiri2 / KAG3 / KirikiriZ / Cattleya / Circus ADV Audio Engine Hook

Patches legacy visual novel engines so character voice acting continues seamlessly when players advance dialogue text. Generates isolated overlay patches with automatic backup and full save-file compatibility.

Released · v1.0 Go · Win32 Hook · MIT

GalWheelHelper & Sakura Narrative UI

~2.4 MB Native Go Binary · Engine Auto-Detection & Debounce

Low-latency Win32 input runtime supporting Kirikiri, Siglus, BGI, CatSystem2, and Ren'Py with smart window-class scoping—paired with our lightweight sakura-tavern narrative frontend.

Cloud-Native Infrastructure & Mission

Built on Google Cloud Vertex AI & Cloud Run.

Established in early 2026, Sakura AI Labs solves full-route consistency across 800,000+ word branching scripts by combining deterministic prompt-prefix caching with stateless container compilation on Google Cloud:

1. Gemini Long-Context & Implicit Caching (Vertex AI / Gemini API) Translates entire narrative chapters in one window while keeping project glossaries and character voice sheets pinned at the prompt prefix for maximum implicit cache hits.
2. Ephemeral Patch Sandboxes (Google Cloud Run) Stateless containerized workers parse scenario ASTs, verify CJK/Latin bounding boxes, and compile downloadable patch.xp3 archives without client dependencies.
3. Tenant Isolation & Zero Script Retention Pre-release studio scripts are processed inside isolated ephemeral instances and purged immediately upon build completion to safeguard publisher IP.
GCP PRODUCTION TOPOLOGY asia-northeast1 (Tokyo)
1. Studio Script & Archive Ingestion .ks / .scn AST Parser & Control-Tag Guard
Client / Web
↓ deterministic prefix canonicalization
2. ST-Cache-Optimizer Middleware Immutable System Rubric + Character Glossary Pin
Prefix Locked
↓ cached batch inference
3. Google Cloud Vertex AI / Gemini API Full-Route Long-Context Translation + Implicit Cache
Vertex AI
↓ QA overflow check & binary build
4. Google Cloud Run Ephemeral Builder Non-Destructive patch.xp3 Overlay · Zero Retention
Cloud Run
Founding Team, Leadership & Key Staff

The engineers and researchers building Sakura AI Labs.

We are a focused 3-person core team combining LLM inference systems engineering, computational linguistics, and low-level visual novel engine tooling.

Founder & CEO Tianyou Sun — Founder and Chief Executive Officer at Sakura AI Labs

Tianyou Sun

Founder & Chief Executive Officer
Founding Team LLM Caching Architecture Product & Strategy

Founder of Sakura AI Labs leading company strategy, commercial studio partnerships, and deterministic Gemini/Vertex AI prompt-caching system design. Previously built high-throughput LLM API routing gateways and multi-turn context optimization pipelines. B.S. in Computer Science.

Co-Founder & CTO Dr. Linnea Chen — Co-Founder and Chief Technology Officer at Sakura AI Labs

Dr. Linnea Chen

Co-Founder & Chief Technology Officer
Executive Leadership Computational Linguistics Google Cloud Infra

Co-Founder leading applied NLP systems and cloud platform engineering. Ph.D. in Computational Linguistics with 6+ years building terminology-constrained LLM translation pipelines, character-register evaluators, and serverless Cloud Run compilation workflows.

Key Staff Member Kenji Takahashi — Founding Staff Engineer and Open-Source Lead at Sakura AI Labs

Kenji Takahashi

Founding Staff Engineer & Open-Source Lead
Key Staff Kirikiri / XP3 Binary AST Open-Core Maintainer

Core systems engineer and lead open-source maintainer across ST-Cache-Optimizer, Galgame AI Translator, and Galgame Voice Non-Stop. Specializes in non-destructive archive parsers (Kirikiri2/KAG3, Siglus, Ren'Py), CJK/Latin font-kerning patchers, and Win32 runtime hooks.

Commercial Licensing

Predictable pricing for indie teams and publishing studios.

Start free with our MIT open-source CLI tools, or upgrade to Sakura Localization Cloud for hosted Gemini long-context pipelines and browser-based patch builds.

Community & Indie

For solo creators and open-source contributors.

$0 / month
  • Full access to MIT open-source CLI & desktop tools
  • 50,000 cloud script characters / month included
  • Bring-your-own Gemini API key support
  • Kirikiri2 / KAG3 local XP3 patch builder
  • Community GitHub issue support
Download Open-Source Suite ↗

Enterprise Publisher

For multi-title publishers requiring isolated cloud deployment.

$299+ / month
  • Dedicated single-tenant Google Cloud region isolation
  • Zero data retention & pre-release IP NDA protection
  • Custom engine binary format integration & font metrics
  • CI/CD webhook API for automated multi-language builds
  • Direct engineering support from our founding team
Contact Enterprise Sales
Careers at Sakura AI Labs

Growing prudently alongside our studio customers.

Interested in compiler ASTs, game engines, and low-latency LLM systems? Reach out directly to our founders.

Remote / APAC

Engine Format Engineer (Go / Rust / Python)

Extend non-destructive script extraction and overlay compilation to Unity IL2CPP, Artemis Engine, and LucaSystem visual novels.

Remote

Applied NLP & Localization Benchmark Collaborator

Help expand our JP-to-EN/ZH literary dialogue evaluation suites and honorific-consistency scoring rubrics on Vertex AI.

Contact Sakura AI Labs

Talk to our founding team.

Whether you are onboarding a visual novel studio onto Sakura Localization Cloud, evaluating enterprise API licensing, or verifying corporate details, our founders respond within one business day.

Corporate & Program Verification [email protected]
Founder & CEO Direct (Tianyou Sun) [email protected]
Open-Source Engineering & Releases github.com/pzwtxdy831-commits ↗
Engineering Operations Tokyo APAC Infrastructure Node & Distributed R&D

Request Studio Access or Demo

Send a direct inquiry to our founding and engineering team.