Table of Contents

Amazon Q CLI

Amazon Q CLI is AWS's open-source agentic terminal experience for building applications, debugging issues, and managing DevOps workflows using natural language. Written in Rust for performance and reliability, it integrates deeply with AWS services while remaining useful for general development tasks. The project has nearly 2,000 GitHub stars and is licensed under Apache 2.0.1)

GitHub: aws/amazon-q-developer-cli

Key Features

Architecture

Amazon Q CLI is built in Rust (99.6% of codebase) for performance:3)

Usage Example

# Install Amazon Q CLI
# macOS
brew install amazon-q
 
# Start interactive chat
q chat
 
# Build an application with natural language
q chat "Build a serverless REST API with Lambda and DynamoDB"
 
# Debug an issue
q chat "Why is my CloudFormation stack failing to deploy?"
 
# Automate a Git workflow
q chat "Create a GitHub issue for the authentication bug and draft a fix"
 
# Use slash commands
/issue "Add rate limiting to the API gateway"

How It Works

graph TD A[Natural Language Input] --> B[Amazon Q Chat Engine] B --> C[Task Analysis] C --> D{Task Type} D --> E[Code Generation Subagent] D --> F[Debug Subagent] D --> G[DevOps Subagent] D --> H[Git Workflow Subagent] E --> I[Generate Code/Config] F --> J[Analyze Errors & Logs] G --> K[AWS Service Operations] H --> L[Issue/PR Management] I --> M[File Operations] J --> M K --> N[AWS API Calls] L --> O[GitHub API Calls] M --> P[User Review] N --> P O --> P P --> Q{Approved?} Q -->|Yes| R[Execute Changes] Q -->|No| S[Revise Approach] S --> C R --> T[Output Summary]

GitHub Actions Integration

Amazon Q integrates with GitHub Actions for automated workflows:4)

See Also

References

1) , 3)
https://github.com/aws/amazon-q-developer-cli|aws/amazon-q-developer-cli on GitHub