Google Cloud expands AI capabilities with generative AI for developers’ tools and data analytics.

Google Cloud expands AI capabilities with generative AI for developers' tools and data analytics.

Google’s Duet AI: Empowering Developers and IT Managers in the Cloud

Google Next ’23

At this year’s Google Cloud conference, Google Next ’23, the technology giant made significant announcements and statements about future cloud buildouts and innovations. The conference presented a vast array of offerings, including developer tools, data management solutions, and generative AI capabilities. These advancements aim to empower developers to build the next generation of cloud-based applications, incorporating AI when appropriate.

One of the highlights from Google Next ’23 was an update on Duet AI. Initially introduced at Google I/O, Duet AI is a developer tool that assists in code production on the Google Cloud Platform. However, Duet AI is not limited to developers. It is also applicable in various work environments, helping with tasks such as creating presentations, note-taking, and document writing.

The development features of Duet AI have been refined since May, with trusted developers testing the tool and providing feedback to Google’s engineers. Duet AI aims to support developers throughout the entire development lifecycle, aiding in coding, source citation, test coverage, API design, application migration, and modernization.

What sets Duet AI apart is its integration with popular coding environments. With plugins or extensions available for coding environments like Microsoft’s VSCode and JetBrains IDEs, coders can seamlessly incorporate Duet AI into their existing workflows. The potential of AI assistance shines through as Duet AI can rewrite code and update APIs based on simple natural language prompts, like “Convert this function to Go and use Cloud SQL.”

Migration efforts can be particularly challenging for developers, requiring significant time and effort to update code and ensure compatibility with new platforms. However, leveraging AI to automate this process can significantly reduce the workload. For instance, if an AI tool like Duet AI can successfully migrate outdated code, it can save developers weeks or even months of repetitive work.

Beyond code generation, Google is also introducing “context-aware code generation” with Duet AI. By partnering with select enterprises, Google aims to customize Duet AI with organization-specific knowledge, enabling it to generate code suggestions that align with an organization’s unique context.

In addition to code assistance, Duet AI can also aid developers in publishing APIs using natural language prompts. This feature streamlines the API creation process, saving developers valuable time and effort.

Moving to Duet AI’s application in data and database management, Google has incorporated Duet AI into major services like Cloud Spanner, AlloyDB, Cloud SQL, and BigQuery. With Duet AI, users can write code and queries using natural language, with the tool generating the necessary SQL statements for testing and modification.

Google’s “shifting down” approach, advocated by Richard Seroter, Google’s director of outbound strategy and engagement, aims to offload development workloads to the platform and AI. This approach helps developers by automating time-consuming tasks and freeing up their time for innovation. Several initiatives support this approach, including Jump Start Solutions, Duet AI for code completion and chat, shifting down interoperability, and cloud workstations.

While these advancements offer exciting possibilities for developers, we must remain mindful of the potential downsides. As more coding tasks transition to AI-powered platforms, developers may become less familiar with the underlying codebase, making it challenging to troubleshoot issues or optimize performance. As with any magic, AI-powered solutions come with a price, and developers must maintain their skills and ensure code maintainability.

The future of cloud development and data management looks promising with Google’s Duet AI and its various capabilities. Developers and IT managers can expect increased efficiency, reduced workload, and enhanced collaboration through the integration of AI. However, it is crucial to strike a balance between leveraging AI assistance and retaining the ability to maintain and improve our own code.

To stay updated on the latest happenings and projects, follow David Gewirtz on social media, subscribe to his weekly newsletter on Substack, and connect with him on Twitter, Facebook, Instagram, and YouTube.