Product attributes
Other attributes
Amazon CodeWhisperer is a general-purpose, machine learning (ML)-powered code generator that provides users with code recommendations in real time. CodeWhisperer aims to improve developer productivity through code recommendations based on user comments in natural language and the code in the integrated development environment (IDE). Users can outline a specific task in natural language with CodeWhisperer returning one or more code snippets directly in the IDE that can accomplish the task. Personalized recommendations vary in size and scope, from a single-line comment to fully formed functions. CodeWhisperer can also scan code to highlight and define security issues. Users own the code written when using CodeWhisperer, including any code suggestions provided.
CodeWhisperer is a generative AI service powered by a foundation model that was trained on billions of lines of code from various data sources, including Amazon and open-source code. As users write code in their IDE, CodeWhisperer analyzes the English language comments and surrounding code to infer what code is needed to complete the task at hand, suggesting one or more code snippets. In order to provide accurate suggestions, CodeWhisperer utilizes the user's content, such as code snippets, comments, cursor location, and contents from files open in the IDE.
Codewhisperer supports fifteen languages—Python, Java, JavaScript, TypeScript, C#, Go, Rust, PHP, Ruby, Kotlin, C, C++, Shell scripting, SQL, and Scala. Code-scanning capabilities to find vulnerabilities are available in Python, Java, and JavaScript. It is available as part of the AWS toolkit for Visual Studio (VS) Code, the JetBrains family of IDEs (including IntelliJ, PyCharm, GoLand, CLion, PhpStorm, RubyMine, Rider, WebStorm, and DataGrip), as well as AWS Cloud9, AWS Lambda console, JupyterLab and Amazon SageMaker Studio. Beyond general-purpose code suggestions, CodeWhisperer is also trained to provide suggestions for using AWS APIs.
CodeWhisperer was launched by Amazon on June 23, 2023, in preview with support for multiple IDEs and languages. Initially, users could only access CodeWhisperer by installing the AWS IDE Toolkit, enabling the feature, entering a preview access code, and starting to code. On July 19, 2022, Amazon introduced a preview of CodeWhisperer in the AWS Lambda console. On April 13, 2023, Amazon announced CodeWhisperer was generally available and a new individual tier that was free for all developers.