ZigZag

Guides › Beginner

Get started with an AI assistant

Set up an AI assistant once, then ask it, in plain words, to check your design before you sew, fix what’s wrong and make small changes. You stay in charge: you watch every change happen, and any of them can be undone.

About 10 minutes

What is an AI assistant?

ZigZag works with three AI assistants: Codex from OpenAI, Claude Code from Anthropic, and Antigravity from Google. Inside ZigZag you talk to one in a panel beside your design, and it uses ZigZag’s own tools to look at your stitches and change them while you watch.

ZigZag installs the one you choose for you, and you sign in with your account in your web browser, like signing in to any website. Two clicks, and nothing to type.

Which one?

In ZigZag they all do the same job, with the same tools: any of them can check, fix and change your designs. The real difference is the account you sign in with, so the simplest choice is the one that goes with an account you already have.

Codex Claude Code Antigravity
Made byOpenAI, the makers of ChatGPTAnthropic, the makers of ClaudeGoogle
You sign in withYour ChatGPT accountYour Claude accountYour Google account
What it costs ChatGPT Plus, $20 a month. The free and Go ($8) plans include a limited trial. Claude Pro, $20 a month ($17 a month paid yearly). Not in the free plan. Free with any Google account. Google AI Pro ($19.99 a month) gives you more.
How much you can use A limit that resets every 5 hours, and a weekly one. OpenAI estimates 15 to 160 messages every 5 hours on Plus, depending on the AI model. A limit that resets every 5 hours, and a weekly one. No message count is given; Pro gets at least 5 times the free plan’s use. Free: an allowance that refreshes weekly. Google AI Pro: a larger one that refreshes every 5 hours, up to a weekly limit.
In ZigZagThe defaultChoose it in the Agent panelChoose it in the Agent panel

What does that mean in ZigZag?

Each thing you ask in ZigZag is one request, however many steps it takes. A big request, like “check this design and fix what you can”, uses more of your allowance than a small one, like “make the stars bigger”. How far a plan goes depends on how big your requests are and which AI model you use. Each service shows how much you’ve used: Codex’s usage page, Claude’s Settings › Usage, and Antigravity’s Settings. If you reach the limit, the panel says so: wait for it to reset, or move to a bigger plan.

Not sure yet? Antigravity works with a free Google account, so you can try an assistant in ZigZag before paying for anything.

Prices in US dollars, from OpenAI, Anthropic and Google in November 2026. They change from time to time, so check before you buy. ZigZag itself is free, and gets nothing from any of them.

What you’ll need

The latest ZigZag (download it here), a ChatGPT, Claude or Google account (see above), an internet connection, and a Mac with macOS 13 or laterWindows 10 or 11.

Part 1: Set it up, right in ZigZag

This needs the latest ZigZag. If your panel has no Install buttons, update ZigZag, or install it from the terminal instead.

1

Open the Agent panel

Open ZigZag and a design, then click the sparkle at the bottom of the tools on the left, or press ⌘KCtrl+K. The panel opens beside your design, on its Setup page: the assistants it works with, and a link back to this guide.

The sparkle opens and closes the panel.
2

Click Install

Click Install beside the one you’ve chosen. ZigZag downloads it with its maker’s own installer, the same one you’d use yourself. It takes a minute or two; you can keep working on your design meanwhile.

While it installs, its button shows a spinner.
3

Click Sign In

When it’s installed, the panel asks you to sign in. Click Sign In.

Your web browser opens. Sign in with your ChatGPT, Claude or Google account, as you would on their website, and allow access.

Meanwhile the panel waits for you. If the browser didn’t open, or you closed it, click Open sign-in page. With Claude Code or Antigravity, the page may show a code instead of sending you back: paste it into the box in the panel and click Send.

4

You’re ready

Once you’ve signed in, the panel shows a few things to try. That’s it: your assistant is set up, and stays signed in.

To switch assistants later, click the name at the top of the panel (Setup is there too, to add another), or go to ZigZag › Settings…Edit › Settings… › Agent. Switching starts a new chat.

Prefer the terminal, or have an older ZigZag?

You can install your assistant yourself instead. It’s the same installer ZigZag runs, typed into the Terminalterminal (PowerShell): a window where you type commands rather than click.

Your computer
1

Open the Terminalterminal (PowerShell)

Press ⌘ Command + Space to open Spotlight, type Terminal, and press Return. A plain window opens with a line ending in %: that’s the terminal waiting for you to type.

Right-click the Start button (or press Windows + X) and choose Terminal (on Windows 10, Windows PowerShell). A dark window opens with a line starting with PS: that’s PowerShell waiting for you to type.

Your name will be where it says “you”.
2

Paste the install command

Click Copy beside your assistant’s command, click in the TerminalPowerShell window, paste with ⌘ CommandCtrl + V, and press ReturnEnter.

Codex

curl -fsSL https://chatgpt.com/codex/install.sh | sh
powershell -ExecutionPolicy ByPass -c "irm https://chatgpt.com/codex/install.ps1 | iex"

Claude Code

curl -fsSL https://claude.ai/install.sh | bash
irm https://claude.ai/install.ps1 | iex

Antigravity

curl -fsSL https://antigravity.google/cli/install.sh | bash
irm https://antigravity.google/cli/install.ps1 | iex

It downloads for a minute or so, often without showing any progress, so give it time. It’s done when you get a fresh %PS line to type on.

The lines in between change from version to version. What matters is getting a fresh line to type on.
3

Open a new window and sign in

Close the window and open a fresh one, as in step 1 (a new window is what lets it find the program you just installed). Then type your assistant’s name, codex, claude or agy, and press ReturnEnter.

  • Codex asks how to sign in: Sign in with ChatGPT is already chosen, so press ReturnEnter.
  • Claude Code may first ask a question or two, such as which colours you like: press ReturnEnter to accept each one.
  • Antigravity shows a link to sign in with your Google account.
Codex, asking how to sign in. The wording may change a little in newer versions.

Your browser opens to sign in. When you’re signed in, close the window, then open ZigZag (quit it and open it again if it was open) and open the Agent panel: it finds your assistant by itself.

Part 2: Let it help with your design

An assistant can draw whole new designs, but it’s at its best as a second pair of eyes on your work: spotting what won’t sew well, tidying it up, and making the small changes that are fiddly by hand. Here’s what that looks like, on a patch with a few problems.

Check a design before you sew

Type what you want in the box at the bottom of the panel and press ReturnEnter. A good first one:

You’ll see it work: each step is listed in the panel, and on the canvas the part it’s working on gets a moving outline and a label saying what it’s doing.

While it works, the Send button becomes Stop.

When it’s done, it says what it found and what it changed. On this patch it found lettering too small to sew, specks too tiny to stitch, a needle and thread too thin to show, and two blues on the spool too alike to tell apart. It fixed them all and added a border, so the pale patch stands out on fabric.

An example of the kind of answer you’ll get, shortened. The tick in the corner means ZigZag finds no more problems.

Answer its questions

When there’s a real choice to make, it asks rather than guessing, and explains what each option means for your fabric. Click the option you want, and it makes the change. Not now leaves the design as it is.

Fewer “trims” (stops to cut the thread) make a design sew faster, but a few joining threads may show. The choice is yours.

Compare before and after

Under its answer are three small buttons: the design before, after, or both side by side. Use them to judge the change for yourself.

Make small changes

Ask for one change at a time, the way you’d ask a friend who’s good with a needle. It remembers the conversation, so you can follow up (“a bit bigger still”).

Point at what you mean

Sometimes it’s easier to point than to describe. Click the speech bubble next to Send (or press N), then click the spot on your design, or drag a box around an area, and type a note. Then ask it to do what your notes say.

Fix what ZigZag finds

ZigZag checks your design as you work. A warning sign in the bottom-right corner shows how many problems it found. Click it to see the list, each linked to the shape it’s about. Fix hands the whole list to your assistant. (Typing /fix in the panel does the same.)

You’re always in charge

Tips for good results

If something goes wrong

The install stops with an error

Check you’re online and click Install again. The panel says what went wrong. If it keeps happening, install it from the terminal, where you can see everything it does.

ZigZag can’t find it after installing

Quit ZigZag completely and open it again. ZigZag looks for the assistant when it starts.

There are no Install buttons

Your ZigZag is older than this guide. Update it from zigzag.diy, or install it from the terminal.

It says it can’t sign in, or the sign-in has expired

Start a new chat with the + at the top of the panel: it shows the Sign In button again. A chat that failed because you weren’t signed in shows it above the box where you type, too. Antigravity’s sign-in link only lasts a minute, so if it times out, click Sign In again.

It says you’ve hit a limit

Each plan includes a certain amount of use, which resets after a while. Wait and try again, or move to a bigger plan (see Which one?).

“command not found” in the Terminal

“is not recognized” in PowerShell

Only if you used the terminal: close the window and open a new one. If it still happens, run the install command again and wait for it to finish.

If PowerShell says 'irm' is not recognized, you’re in the older Command Prompt rather than PowerShell. Open Terminal or Windows PowerShell from the Start menu instead.

Written for the next ZigZag release · Something not right? Tell us