Software Engineering

At Google, we pride ourselves on our ability to develop and launch new products and features at a very fast pace. This is made possible in part by our world-class engineers, but our approach to software development enables us to balance speed and quality, and is integral to our success. Our obsession for speed and scale is evident in our developer infrastructure and tools. Developers across the world continually write, build, test and release code in multiple programming languages like C++, Java, Python, Javascript and others, and the Engineering Tools team, for example, is challenged to keep this development ecosystem running smoothly. Our engineers leverage these tools and infrastructure to produce clean code and keep software development running at an ever-increasing scale. In our publications, we share associated technical challenges and lessons learned along the way.

Recent Publications

Mentorship, Interrupted: How AI Disrupts the GSoC Pipeline and Why Mentors Matter More
Ruizhe Xing
Mary Radomile
Zixuan Feng
Stephanie Taylor
Anita Sarma
2026
Preview abstract Generative AI (GenAI) can ease software contribution while making contributors and their work harder to assess. We investigate how this tension affects the sustainability of the Google Summer of Code (GSoC) mentoring pipeline and how stakeholders respond, through a sequential qualitative study of mentor mailing-list discussions and interviews with 15 mentors and organization administrators. Participants reported that GenAI helps with onboarding, coordination, and initial review but weakens evidence of mentees’ capability, understanding, and ownership, adding verification and governance work that strains newcomer learning and mentors’ willingness to continue. Drawing on reported strategies that distribute responsibility across mentees, mentors, organizations, and GSoC, we propose a GenAI Mentoring and Governance Decision Framework of five acceptable-use stances. Sustaining OSS mentoring requires protecting newcomer development and mentor capacity together, with governance adapted to local conditions. View details
RFC 9996 - Media Types for Protocol Buffers
Rob Sloan
RFC Editor, RFC Editor (2026), pp. 9
Preview abstract This document registers media types for Protocol Buffers, a common extensible mechanism for serializing structured data. View details
Preview abstract The promise of tailored agent behavior is undermined by a critical explainability challenge: it is difficult to assess how closely and consistently the agent follows user-defined rules. As Large Language Models (LLMs) transition from static assistants to autonomous agents, developers have pioneered markdown-based rule files (e.g., GEMINI.md, CIDER_AGENT.md) to steer agent behavior and mitigate a "organizational context gap" that emerges when general-purpose models lack the "organizational context" necessary for contextually relevant results. This paper presents a qualitative study of 12 Google software developers (n=12) to investigate the authoring and efficacy of these agent rules. Our findings reveal that while rules are intended as technical steering mechanisms, they function as a "Black Box" of validation, where 12/12 participants rely on anecdotal "vibe checks" due to a profound lack of formal evaluation and explainability frameworks. We identify this opacity as a systemic Attribution Gap, which prevents developers from discerning whether a successful outcome was the result of deliberate logic or "pure luck." Paradoxically, these files serve a dual role as "Living Documentation," bridging technical instruction for AI with sociotechnical onboarding for humans. We argue for a transition toward library-level governance and rigorous traceability to transform agent customization from an ad-hoc craft into a human-centered science by revealing the internal "seams" of rule interpretation. View details
Preview abstract Open source software is used pervasively, with many citing cost benefits such as time saved in software engineering (SWE) hours. However, the actual costs to use open source software are non-zero and not often discussed or measured. We designed a study to evaluate the effort and cost (in SWE hours) associated with maintaining open source software forks within Google. Our study showed that the majority of updates take 4 hours or less, however the long tail could be days to months. Our results suggest that level of effort may be indicated by custom patches, external dependency volume, and project size, while package age and internal usage levels did not appear to have a consistent impact on update complexity. View details
CSnake: Detecting Self-Sustaining Cascading Failure via Causal Stitching of Fault Propagations
Lin Tan
Yongle Zhang
Proceedings of the 21st European Conference on Computer Systems, Association for Computing Machinery (2026), 1945–1963
Preview abstract This article introduces OpenClaw, an AI-powered workflow harness designed to reduce operational friction for developers. Unlike traditional chatbots, OpenClaw manages and persists context across complex engineering tasks, enabling asynchronous operations and mobile-first interactions. The post explores practical use cases, including incident triage from mobile, asynchronous pull request reviews, quick infrastructure scripting, and automating routine operational tasks. It also delves into the key architectural layers of an OpenClaw-like system—Connectors, Gateway/Session Manager, Agent Runtime, Memory/Configuration, and Skills/Tools. The article emphasizes the importance of security, observability, and proper integration with existing developer ecosystems, positioning OpenClaw as a shift towards reducing context switching and enhancing developer productivity by automating the workflows around coding. View details
×