Amazon CodeWhisperer

Amazon CodeWhisperer

Build apps faster with ML-powered coding companion

If you don’t have time to read but want to know what’s there in this post. Find the quick read 👇

In this article, we are going to see the following about Amazon CodeWhisperer

  • What is Amazon CodeWhisperer

  • How it works

  • CodeWhisperer in Action

  • How to get started with CodeWhisperer

  • Pricing & Availability

1. What is Amazon CodeWhisperer

At the re: MARS conference 2022, Amazon announced the launch of CodeWhisperer an ML-powered coding companion similar to Github’s CoPilot which can autocomplete entire functions based on only a comment or a few keystrokes.

CodeWhisperer currently supports Java, JavaScript, and Python, on billions of lines of publicly available open-source code and its own codebase, as well as publicly available documentation and code on public forums.

It’s now available in preview as part of the AWS IDE Toolkit, which means developers can immediately use it right inside their preferred IDEs, including Visual Studio Code, IntelliJ IDEA, PyCharm, WebStorm, and Amazon’s own AWS Cloud 9. Support for the AWS Lambda Console is also coming soon.

2. How it works

Amazon CodeWhisperer is a machine learning (ML)–powered service that helps improve developer productivity by generating code recommendations based on their comments in natural language and code in the integrated development environment (IDE).

With CodeWhisperer, developers can simply write a comment in their IDE’s code editor. CodeWhisperer automatically analyzes the comment, determines which cloud services and public libraries are best suited for the specified task, and recommends a code snippet directly in the source code editor. The code recommendations provided by CodeWhisperer are based on ML models trained on a variety of data sources, including Amazon and open source code. Developers can accept the top recommendation, view more recommendations, or simply continue to write their own code.

3. CodeWhisperer in Action

The example shows how CodeWhisperer generates code to render objects in the UI using React.

Image Credits: AWS CodeWhisperer

4. How to get started with CodeWhisperer

You can download the AWS IDE Toolkit extension on your desktop and sign up for the preview. After the extension is installed and CodeWhisperer is enabled, you can automatically start receiving code recommendations in your IDE’s code editor when you start writing code or comments.

You have to join the waitlist to access CodeWhisperer because it is not rolled out for general usage yet. To join the waitlist fill out the below form 👇

Amazon Web Services, Inc.
Amazon CodeWhisperer - Sign up for preview
pages.awscloud.com

5. Pricing & Availability

During the preview period, developers can use CodeWhisperer for free and it is Region agnostic and available to developers worldwide.