DEV Community

Cover image for Using Amazon Q CLI to Explore Claude 4 and Sonnet 3.7 LLMs β€” Code, Chat, and More
Girish Bhatia
Girish Bhatia

Posted on

Using Amazon Q CLI to Explore Claude 4 and Sonnet 3.7 LLMs β€” Code, Chat, and More

πŸš€ See the pace of technological advancement in the era of Generative AI!

Claude 4 LLMs were released in May 2025 β€” and by June 2025, Amazon added support for them via Amazon Q CLI. That means you can now experiment with these powerful models directly from your terminal.

No IDE. No app development. No browser.

Just Amazon Q CLI β€” right from the command line.

Let's see a quick demo of this Amazon Q CLI with Claude integration.

I created a clip showcasing how seamlessly you can leverage Claude's power through Amazon Q CLI! Here's what I demonstrated:

Part 1: Conversational AI with Claude Sonnet 3.7

  • Started a chat session using Q CLI
  • Asked for 3 NYC travel recommendations
  • Got subway directions from Empire State Building to Central Park

Part 2: Model Switching & Code Generation

  • Switched to the newly released Claude 4 using the model command
  • Generated a "Hello World" function in Go programming language
  • Converted the same function to Python programming language
  • Clean exit with the quit command

The speed and flexibility of switching between models and use cases through a simple CLI is impressive. Amazon Q CLI makes it incredibly easy to integrate Claude's capabilities into your workflow.

Whether you're building, learning, or experimenting β€” Amazon Q CLI brings powerful GenAI right to your fingertips.

▢️ Check out the clip below!

Thanks,

π’’π’Ύπ“‡π’Ύπ“ˆπ’½ ℬ𝒽𝒢𝓉𝒾𝒢
𝘈𝘞𝘚 𝘊𝘦𝘳𝘡π˜ͺ𝘧π˜ͺ𝘦π˜₯ 𝘚𝘰𝘭𝘢𝘡π˜ͺ𝘰𝘯 𝘈𝘳𝘀𝘩π˜ͺ𝘡𝘦𝘀𝘡 & π˜‹π˜¦π˜·π˜¦π˜­π˜°π˜±π˜¦π˜³ 𝘈𝘴𝘴𝘰𝘀π˜ͺ𝘒𝘡𝘦
𝘊𝘭𝘰𝘢π˜₯ π˜›π˜¦π˜€π˜©π˜―π˜°π˜­π˜°π˜¨π˜Ί 𝘌𝘯𝘡𝘩𝘢𝘴π˜ͺ𝘒𝘴𝘡

Top comments (0)