Lesson 2 of 3 Developer Productivity and AI Interfaces

Accelerating Generative AI Development with Amazon Q Developer and Kiro

This lesson covers Amazon Q Developer and Kiro, AI coding assistants that speed up writing SDK calls, generating tests, refactoring and optimising code, and diagnosing errors.

Learning outcomes

After completing this lesson, you will be able to:

  • Describe Amazon Q Developer capabilities.
  • Describe Kiro's spec-driven development.
  • Use assistants effectively for generative AI development.

Amazon Q Developer capabilities

Amazon Q Developer is a generative AI assistant for software development. In IDEs it provides inline code suggestions as developers type, including correct usage of AWS SDKs such as Bedrock Runtime calls; a chat for explaining code, answering questions about AWS services and generating snippets; and agentic capabilities that implement features across multiple files from a description, generate unit tests, write documentation, perform code reviews that flag security and quality issues, and transform code, for example upgrading language versions.

Q Developer is also available in the AWS Management Console, where it answers questions about the account's resources and helps diagnose errors, and in chat applications. It supports MCP for connecting additional tools. Reference tracking flags suggestions that resemble open-source code with licence information. AWS has announced that support for the Q Developer IDE plugins ends on 30 April 2027 and points IDE users to Kiro, which offers similar capabilities; Q Developer in the console continues.

Kiro

Kiro is an agentic integrated development environment (IDE) and command line tool that emphasizes spec-driven development: from a prompt, it writes requirements (user stories with acceptance criteria), a technical design and a task list, which developers review before the agent implements the tasks. Agent hooks run automated actions on events such as saving a file (for example updating tests or documentation), steering files give the agent project conventions, and MCP servers extend it with tools. It suits larger features where structure and traceability matter.

The following diagram shows Kiro's spec-driven sequence.

Spec-driven development in Kiro. From a prompt, Kiro writes requirements as user stories with acceptance criteria, a technical design and a task list, which developers review before the agent implements the tasks. Agent hooks, steering files and MCP servers extend how the agent works.
Developers review the specification before any code is written.
Scenario questions

Configuring Kiro

Exam skills 2.5.4

Choose the Kiro feature that meets each team requirement.

Log in to try this activity Interactive activities are free with an account.

Using assistants for GenAI development

AI coding assistants are particularly useful for generative AI work, which involves many unfamiliar APIs and formats. They help write and refactor integration code, such as Converse calls, handlers for streamed responses and tool-use loops. They generate tests with mocked model responses and edge cases, such as throttling errors or truncated output, that developers might not think of. They suggest performance improvements, such as reusing SDK clients and making independent calls in parallel, and they explain unfamiliar errors, such as a ValidationException about the order of messages in a conversation.

Generated code is still reviewed and tested like any other code. Assistants accelerate developers, but they can produce code that calls APIs incorrectly or handles errors poorly, so review, tests and security scanning remain the controls that decide what is merged. The following table compares the tools.

TaskAmazon Q DeveloperKiro
Inline suggestions while typingYesYes
Explain, refactor, generate tests and docsYesYes
Spec-driven requirements, design and tasksLimitedCore workflow
Event-driven automation (hooks)NoAgent hooks
Console and account-aware helpYesNo
True or false

Coding assistants for GenAI work

Exam skills 2.5.4

Check three claims about using AI coding assistants on generative AI applications.

Log in to try this activity Interactive activities are free with an account.
Worked example

Speeding up a tool integration

A developer must add five new tools to an agent, each wrapping an internal API, with unit tests and documentation, and refactor the tool loop to handle errors consistently.

Using Amazon Q Developer (or Kiro) in the IDE, the developer generates the tool functions from the OpenAPI definitions, asks the agent to refactor error handling across files, generates unit tests with mocked API and model responses, and reviews the result before committing.

Check yourself

Which tool builds from requirements, design and task documents?

Show answer

Kiro, with spec-driven development.

Exam Tips

Remember for the exam

  • Q Developer: inline suggestions, chat, multi-file agentic changes, tests, reviews, docs.
  • Q Developer in the console helps diagnose account errors.
  • Kiro: spec-driven development with requirements, design and tasks; agent hooks.
  • Always review and test generated code.