Getting Started with AWS Kiro

Your complete guide to installing Kiro and building your first spec-driven AI project

What is AWS Kiro?

AWS Kiro is an agentic IDE that helps you go from prototype to production with spec-driven development. Unlike traditional AI coding assistants that only provide code completion, Kiro takes a structured approach:

  • Specs - Plan features using requirements, design, and tasks
  • Hooks - Automate testing, documentation, and quality checks
  • Agents - AI assistants that execute tasks autonomously

Preview Status

Kiro is currently in public preview (launched July 14, 2025). It's free to use with 50 AI interactions per month. Future pricing will be $19/month for 1,000 interactions.

Installation & Setup

STEP 1
Download Kiro

Visit kiro.dev/downloads and download the installer for your operating system:

  • macOS (Intel & Apple Silicon)
  • Windows 10/11
  • Linux (AppImage/DEB/RPM)
STEP 2
Install and Launch

Run the installer and launch Kiro. The interface will look familiar if you've used VS Code, as Kiro is built on the same foundation.

STEP 3
Sign In

Choose from four login options:

  • Google account
  • GitHub account
  • AWS account
  • Email + password

Installation Complete!

You should now see the Kiro welcome screen with an option to "Start the Tutorial". This hands-on tutorial walks you through building a complete feature from spec to deployment.

Your First Project

The best way to learn Kiro is through the built-in tutorial. However, here's what you'll experience:

STEP 1
Create a New Spec

Open the Command Palette (Ctrl+Shift+P) and type "Kiro: Create New Spec". You'll be prompted to describe what you want to build.

Example prompt: "Add a review system for products"
STEP 2
Review Generated Requirements

Kiro will generate user stories in EARS format (Easy Approach to Requirements Syntax):

# requirements.md

## User Stories

### View Reviews
WHEN a user visits a product page
THE SYSTEM SHALL display all reviews for that product

### Submit Review  
WHEN a user submits a review with valid data
THE SYSTEM SHALL save the review and display confirmation

### Rate Products
WHEN a user selects a star rating (1-5)
THE SYSTEM SHALL record the rating with the review
STEP 3
Generate Design Document

After confirming requirements, Kiro creates a technical design:

# design.md

## Architecture

### Database Schema
```sql
CREATE TABLE reviews (
  id SERIAL PRIMARY KEY,
  product_id INTEGER NOT NULL,
  user_id INTEGER NOT NULL,
  rating INTEGER CHECK (rating >= 1 AND rating <= 5),
  content TEXT,
  created_at TIMESTAMP DEFAULT NOW()
);
```

### API Endpoints
- GET /api/products/:id/reviews
- POST /api/products/:id/reviews
- PUT /api/reviews/:id
- DELETE /api/reviews/:id
STEP 4
Execute Tasks

Kiro breaks the implementation into actionable tasks:

# tasks.md

## Implementation Tasks

- [ ] Create Review model and database migration
- [ ] Implement GET /api/products/:id/reviews endpoint  
- [ ] Implement POST /api/products/:id/reviews endpoint
- [ ] Create ReviewForm React component
- [ ] Create ReviewList React component
- [ ] Add form validation for reviews
- [ ] Write unit tests for Review model
- [ ] Write integration tests for API endpoints
- [ ] Update product page to display reviews
- [ ] Add loading states and error handling

Understanding the Spec-Driven Workflow

Kiro's three-phase workflow ensures quality from requirements to code:

1. Requirements Phase

Define WHAT you're building using EARS format:

  • WHEN [condition] THE SYSTEM SHALL [behavior]
  • Forces clarity and testability
  • Covers edge cases automatically

2. Design Phase

Define HOW you'll build it:

  • Architecture diagrams and data flows
  • Database schemas and API contracts
  • Component hierarchies and interfaces

3. Implementation Phase

Execute the plan step by step:

  • Tasks ordered by dependencies
  • Built-in quality checks (tests, docs, security)
  • Incremental delivery and verification

Setting up Your First Hook

Hooks automate repetitive tasks. Here's how to create a hook that runs tests when you save files:

STEP 1
Create Hook Configuration

Open Command Palette and run "Kiro: Create Hook":

# .kiro/hooks/test-on-save.yml
name: "Run Tests on Save"
trigger: onSave
pattern: "**/*.{js,ts,jsx,tsx}"
action: |
  Review the saved file and related test files.
  If tests exist, run them and report results.
  If no tests exist, suggest creating them.
STEP 2
Test the Hook

Save a JavaScript/TypeScript file and watch the hook execute automatically. You'll see the AI agent running tests and providing feedback.

Hook Performance

Hooks run asynchronously but count toward your monthly interaction limit. Use them wisely for high-value automation.

Next Steps

Now that you have Kiro running, explore these advanced features:

Join the Community

Share your Kiro experiences and get help: