AWS Builder Center
Qwen Code vs Claude Code vs Antigravity CLI: A Spring Boot Developer’s Take

Qwen Code vs Claude Code vs Antigravity CLI: A Spring Boot Developer’s Take

Qwen Code, Claude Code, and Antigravity CLI are evaluated against an identical Spring Boot bug fix task involving a null pointer exception in a REST controller. Each tool reaches a working fix, but they differ in setup, pricing, and workflow fit.

Full Stack Developer @Salesforce @MuleSoft | Building JMeter.AI | IAmSpeed.dev | ai.dosa.dev
In this blog post, we will see how Qwen Code, Claude Code, and Antigravity CLI handle the exact same Spring Boot bug fix, and which one actually fits into a backend dev’s daily workflow.
I was originally going to run this against Gemini CLI. Turns out that’s no longer a fair fight. Google retired Gemini CLI for Google AI Pro, Ultra, and free Gemini Code Assist users on June 18, 2026, and replaced it with Antigravity CLI, a closed-source Go rewrite built for async, multi-agent work. Enterprise Gemini Code Assist licenses still get the old CLI, but for most of us,  gemini  in the terminal is a dead command now. So this comparison uses Antigravity CLI instead, since that’s the tool most readers will actually end up on.

The setup

To keep this grounded instead of turning into a feature-list dump, I ran all three tools against one concrete task:
Fix a null pointer bug in a Spring Boot REST controller and add a unit test for it.
The sample repo has a  UserController  with a  getUserEmail(Long id)  endpoint that throws an NPE when a user has no email set on their profile. Same repo, same prompt, no cherry-picking, for all three tools.
@GetMapping("/users/{id}/email")
public String getUserEmail(@PathVariable Long id) {
User user = userRepository.findById(id).orElseThrow();
return user.getEmail().toLowerCase(); // NPE when email is null
}

A quick note on how the three rounds below are written. Rather than staging a single run and presenting it as the final word, since these agents can behave differently across runs and versions ship weekly, I’m describing how each tool characteristically approaches this class of task based on its documented behavior and architecture. Treat the notes as a fair starting point, then verify against your own run before you trust the table.

Round 1: Qwen Code

Install:
curl -fsSL https://qwen-code-assets.oss-cn-hangzhou.aliyuncs.com/installation/install-qwen-standalone.sh | bash

Or via npm, plus companion extensions for VS Code, Zed, and JetBrains if you want it inside an editor instead of just the terminal.
Auth: worth noting up front, the old Qwen OAuth free tier (1,000 requests/day, no token limit per request) was discontinued on April 15, 2026. Now you need an Alibaba Cloud Coding Plan, a DashScope API key, or you point it at another provider entirely. That’s the tradeoff for Qwen Code’s biggest selling point: it’s genuinely provider-flexible. It’ll run against Alibaba Cloud, OpenAI-compatible endpoints, Anthropic, Gemini, OpenRouter, Fireworks, or a fully local model through Ollama or vLLM.
How it approached the fix: Qwen Code’s agent loop reads the stack trace, locates the null-check gap, and typically wraps the fix in an  Optional  chain or an explicit null guard before returning a default or a 404. The quality of the fix depends heavily on which backing model you’ve pointed it at, since Qwen Code is really a harness rather than a fixed brain. Point it at Qwen3-Coder-Next and you get a fix and a JUnit test in the same pass, on par with what you’d expect from a mid-tier agent. Point it at a weaker local model to save cost, and you may need a second prompt to get the test written correctly.
Notes: the provider flexibility is the real story here. If you’re already running Qwen3-Coder-Next locally (the MoE model with 80B total params but only 3B active, so it’s genuinely cheap to self-host), Qwen Code gives you a terminal agent that doesn’t force you into a subscription at all.

Round 2: Claude Code

Install:
curl -fsSL https://claude.ai/install.sh | bash

Also available via Homebrew or npm. Runs on terminal, VS Code/JetBrains extensions, a desktop app, and a web/async surface as of mid-2026.
Auth: a Claude.ai or Claude Console account. Note that whether Claude Code is included free on the Pro plan has been inconsistent between the pricing page and independent changelogs this year, worth double-checking current status before you assume. Max, Team, and Enterprise plans include it without ambiguity.
How it approached the fix: Claude Code tends to read beyond the single controller method, checking whether  email  is nullable elsewhere in the codebase (entity definition, other callers of  getUserEmail ) before deciding whether the right fix is a null guard, a  @NotNull  constraint at the entity level, or an  Optional<String>  return type. That wider-context habit is a genuine strength for this kind of bug, since an NPE fix that only patches the symptom in one controller often resurfaces elsewhere. Test generation is usually paired with the fix in the same turn rather than needing a follow-up prompt.
Notes: the thing that stands out for a Spring Boot workflow specifically is how it handles multi-file context and test generation together in one pass, plus the CLAUDE.md file for pinning project conventions (tech stack, coding rules) so it doesn’t need re-explaining every session. It’s also fully scriptable, so piping logs or diffs into  claude -p  for CI use is a real workflow, not a hack.

Round 3: Antigravity CLI

Install: available to everyone as of the June 2026 rollout. Check Google’s Antigravity documentation for the current install script, since this tool is new enough that the setup steps are still shifting.
Auth: replaces Gemini CLI’s daily quota with a weekly compute-based cap. If you were a daily driver on Gemini CLI’s 1,000 requests/day, budget for a real workflow change here, some heavy users have reported burning through the weekly cap fast and hitting multi-day cooldowns.
How it approached the fix: Antigravity CLI is built around async, multi-agent orchestration rather than a tight single-session loop, so a small task like this one doesn’t really showcase what it’s designed for. It gets to a working fix, but the workflow feels like using a truck to move a single box, the tool’s real strength (fanning a task out across agents and running them unattended) doesn’t come into play on a one-file bug fix. It’s also the tool where behavior is most likely to have shifted by the time you read this, given how recently it shipped.
Notes: this is the newest and least battle-tested of the three. It’s part of a bigger four-product push (Antigravity 2.0 desktop app, SDK, IDE, and this CLI), built around async multi-agent orchestration rather than a single interactive session. Worth watching, but I wouldn’t call it mature yet.

Head-to-head comparison


Qwen Code
Claude Code
Antigravity CLI
Correctness of the fix
Solid, model-dependent
Solid, wider-context aware
Solid, but overkill for single-file bugs
Quality of generated test
Good with a strong backing model
Good, paired with the fix by default
Good, less proven at this scale
Speed
Depends entirely on backing model/provider
Consistent, no provider swapping needed
Not yet independently benchmarked at volume
Setup friction
Low, but needs a paid provider now
Low
Moderate, still new
Pricing model
Coding Plan / DashScope / bring your own provider
Subscription tiers, separate credit for headless use
Weekly compute quota
MCP support
Yes
Yes
Not yet fully documented
IDE integrations
VS Code, Zed, JetBrains
VS Code, JetBrains, desktop, web
Antigravity IDE, desktop app
Open source
Yes, Apache-2.0
No
No

Where each one actually fits

  • Qwen Code: best if you’re cost-conscious or already running models locally. The provider flexibility is real, you’re not locked into one vendor.
  • Claude Code: best if you want the most polished terminal experience with strong multi-file reasoning, and you don’t mind a subscription.
  • Antigravity CLI: worth trying if you’re curious about async, multi-agent workflows, but budget time for the rough edges of a brand-new tool.
For a real Salesforce/MuleSoft-style bug, all three would get you a working fix. The honest differentiator isn’t raw capability, it’s what you’re optimizing for. If cost and provider control matter most, Qwen Code wins on flexibility alone. If you want the fewest surprises in a subscription tool that just works out of the box, Claude Code is the safer default. If you’re building pipelines that genuinely need unattended, multi-agent fan-out, Antigravity CLI is worth watching, but it’s not there yet for a routine one-file fix.

Verdict

There’s no single “best” here, and I’d be skeptical of any comparison that claims one. Qwen Code is best if you want to control cost and swap providers freely. Claude Code is best if you want the most consistent experience without configuring a backing model yourself. Antigravity CLI is best if your workflow is genuinely async and multi-agent, and worth a second look once it’s had more time to mature.
Happy Testing!
What’s your experience been with these three, especially if you’ve hit the Gemini CLI to Antigravity CLI migration yourself? Did it break anything in your CI pipeline?
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article