For years, Google Cloud’s Apigee API Management has been helping customers around the globe build APIs for diverse use cases, environments, and scale. Now, with the help of generative AI, we are reimagining the way APIs and integrations are developed, making it easier for both seasoned and new developers to seamlessly manage communications within their systems.

At Google Cloud Next, Google introduced Duet AI into Apigee API Management and Application Integration to enable developers of any background to build APIs, integration flows, and extensions that connect Vertex AI or ChatGPT to real-world data through APIs. Customers can sign up to try these capabilities today, which will be in preview for trusted testers in the coming weeks. 

Duet AI: your always-on AI collaborator

Duet AI is your AI-powered collaborator, available across Google Cloud and in your IDE to help you get more done, faster. You can access Duet AI capabilities though a chat interface, available in the Google Cloud console and IDEs such as Visual Studio Code and JetBrains IntelliJ (via Cloud Code extensions). Responding to natural language prompts, Duet AI in Apigee API Management and Application Integration automatically generates API specifications and integration flows, using your enterprise assets and context.

Duet AI in Apigee API Management

Apigee API Management lets you build, manage, and secure APIs for diverse use cases and environments, at scale. You can access Apigee through the Google Cloud console or in commonly used IDEs via Cloud Clode plug-in. And now, with the addition of Duet AI in Apigee API Management, you can create API specifications from requirements that you describe in natural language. These specifications will reuse your enterprise context such as security schema or other API objects cataloged in API Hub. This is a big productivity enhancement, as building API specifications usually requires specialized knowledge and time-intensive development. Beyond generating the specifications, Duet AI can also recommend improvements by highlighting errors and inconsistencies in syntax, semantics, and styles inline with other enterprise APIs cataloged in API Hub.

https://storage.googleapis.com/gweb-cloudblog-publish/images/1_Fih7VE3.max-1300x1300.png

Create extensions for Vertex AI or ChatGPT

Extensions enable Vertex AI or ChatGPT to access real-world data and drive real-world actions. Developers can create an extension to Vertex AI or ChatGPT from the APIs cataloged in API Hub. To create an extension, all you have to do is tell Duet AI what type of extension to create and provide some defining details. Duet AI generates the extension for you based on these details and your API specification in API Hub.

https://storage.googleapis.com/gweb-cloudblog-publish/images/2_R3xTihX.max-1300x1300.jpg

Duet AI in Application Integration

Application Integration is an Integration Platform as a Service (iPaaS) to connect any application — both home-grown and third-party SaaS — with visual point-and-click configurations. And now, with Duet AI in Application Integration, you create integration flows from requirements described in natural language. 

Application Integration provides an interface to describe your requirements in natural language, for example, “create an integration to update a case in Salesforce, when a new issue is created in JIRA.” Based on the requirements, Duet AI automatically suggests integration flows consistent with the existing integrations, using your enterprise assets (such as APIs cataloged in the API Hub) when applicable. In addition, you can update or extend the integration flows by providing additional prompts.

https://storage.googleapis.com/gweb-cloudblog-publish/images/3_H2rsgJk.max-1200x1200.png

Automatically map data based on the requirements

Based on the variables created in the integration flow and the applications being integrated, Duet AI automatically creates a default data mapping that connects the two applications. The data mapping can be further refined per requirements.

https://storage.googleapis.com/gweb-cloudblog-publish/images/4_QOI3SKU.max-1600x1600.png

Build documentation and test cases to harden the integration flows

Duet AI also generates documentation and functional test cases in a single click using different data sets. With this capability, you can ensure that integration flows are robust and easily understood for developers.

https://storage.googleapis.com/gweb-cloudblog-publish/images/5_vfmpLA1.max-1600x1600.png