Free Astro tutorials for complete beginners.

Beginner's Guide to Astro

Can I Build an Astro Site With Grok, Kimi, DeepSeek or Qwen?

Yes. Any AI chat can write Astro code for you. Here's the method that works with all of them, and which ones also have a coding agent that edits your project.

Tested on Astro 7.4

Cover image for Can I Build an Astro Site With Grok, Kimi, DeepSeek or Qwen?
In this guide
  1. The method that works with every chat
  2. Grok
  3. Kimi
  4. DeepSeek
  5. Qwen
  6. Gemini
  7. Which should a beginner pick?
  8. Frequently asked questions

People ask us about Grok, Kimi, DeepSeek, Qwen, Mistral and more. The answer is the same for all of them. Any AI chat can write Astro code for you to paste in. A few also have a coding agent that works inside your project.

Here’s the method, then each tool.

The method that works with every chat

  1. Make the project yourself with npm create astro@latest. Don’t ask the AI to write the project from scratch.
  2. Say your version in your first message: “I’m using Astro 7.4.”
  3. Ask for one file at a time. Create it, save it, look at your site, then ask for the next.
  4. Paste errors exactly. Never retype them.
  5. Run npm run build before you publish anything.

That’s it. The prompts in our collection work in any of these chats. Our prompt builder writes one with your details in it.

One extra step for these tools. Claude Code and Codex read your project’s AGENTS.md file on their own. For a chat, paste the important lines from that file into your first message, so the AI knows how your project is set up.

Grok

Grok is xAI’s assistant, at grok.com. The chat works with the method above.

xAI also has Grok Build, a coding agent for the terminal. According to xAI’s announcement, it’s an early beta for SuperGrok and X Premium Plus subscribers. The install command is:

curl -fsSL https://x.ai/cli/install.sh | bash

It’s paid, and it’s new. If you already pay for one of those plans, it’s worth a try. If not, use the chat.

Kimi

Kimi is Moonshot AI’s assistant, at kimi.com. The chat works with the method above.

Moonshot also makes Kimi Code CLI, a coding agent. Its README gives this install command for a Mac or Linux, with a PowerShell version for Windows:

curl -fsSL https://code.kimi.com/kimi-code/install.sh | bash

Then run kimi inside your project, and type /login. You can sign in with a Kimi account or an API key. On Windows, install Git for Windows first. The README doesn’t say whether there’s a free plan, so check before you rely on it.

DeepSeek

DeepSeek’s chat is at chat.deepseek.com. It works with the method above.

We couldn’t find an official DeepSeek coding agent. The terminal tools we found using the name are community projects, not from DeepSeek. Use the chat.

Qwen

Qwen is Alibaba’s family of models. Qwen Code is its coding agent, and it’s open source:

npm install -g @qwen-code/qwen-code@latest

Run qwen in your project, then /auth to connect a model. One thing to know: the free Qwen login was switched off on April 15, 2026, so you now need an API key or a paid plan to use it. Older tutorials that promise a free login are out of date.

Gemini

Google’s Gemini has a free chat and a free coding agent called Antigravity. It gets its own guide.

Which should a beginner pick?

If you want Use
A free chat you already have Any of them. Grok, Kimi and DeepSeek all have free chats.
A free coding agent Antigravity, from Google
A coding agent you’re already paying for Grok Build, if you have SuperGrok or X Premium Plus
An open-source agent and you have an API key Qwen Code or Kimi Code CLI

Whatever you pick, read mistakes AI makes with Astro first. Every tool on this page makes them.

Frequently asked questions

Which AI is best for Astro?

The method matters more than the brand. Tell the AI your Astro version, keep steps small, and run the build after each one. Do that, and any of these will build you a site.

Do these tools know Astro 7?

Not reliably from memory. Say "Astro 7.4" in your first message, and check their code against our list of mistakes AI makes with Astro.

Is there a DeepSeek coding agent?

We couldn't find an official one. The command-line tools using DeepSeek's name are community projects. The DeepSeek chat works fine for the paste-it-yourself method.

Stuck on a step?

Check the common errors guide, look up a word in the glossary, or ask the friendly people in the official Astro and EmDash Discords. How to ask so people can help.

Keep reading

  1. How to Get Your Astro Site Cited by ChatGPT, Claude and Google AI

    AI assistants answer with links. What makes a site easy for them to read and cite: clear pages, structured data, a sitemap, Bing and llms.txt. Honest about what's proven.

    Build with AI, 7 minute read, November 8, 2026

  2. How to Build an Astro Website With Gemini

    Use Google's Gemini to build an Astro site, in the free chat or with Antigravity, Google's coding agent that replaced the Gemini CLI in 2026.

    Build with AI, 7 minute read, November 7, 2026

  3. How to Build an Astro Website With Claude (Step by Step)

    Use Claude to build a real Astro site, in the chat at claude.ai or with Claude Code in your terminal. This very site was built that way.

    Build with AI, 9 minute read, November 6, 2026

Try "blog", "deploy" or "EmDash".