Historically, every process across our infrastructure that utilized a Gemini model either through the GCP Agent Platform API (formerly Vertex AI API) or the Gemini API managed its own connections and logic. This created substantial challenges for coordinating VM-level Gemini load, from rate limiting to integrating the latest feature releases and managing model integration as models and features migrated across endpoints. Much like we've centralized GCS, BigTable and Spanner access at the VM level through a series of hardened and hyper-optimized Go daemons, we've done the same for Gemini. Each GCE VM now runs a local daemon written in Go that communicates with all processes on that VM needing Gemini access and proxies all Gemini traffic to/from that VM. As models and features migrate between interfaces, switching process interaction is as simple as changing a parameter telling the daemon which endpoint to use for a given request and selecting the relevant features. To accomodate EAP and non-standard models, features and pathways, a passthrough mode is also available allowing full request-level customization of the entire interaction and process flow. Already, we are seeing enormous performance and operational gains from just the handful of research pathways we've transitioned to this new daemon. It has also vastly accelerated our development workflows, allowing us to decouple all of the copious code and logic relating to at-scale Gemini interactions and replace them with a simple blocking or non-blocking daemon call. We are tremendously excited by this new workflow model!
VM-Level GCP Agent Platform & Gemini API Centralization Through A Gemini Go Daemon