Alibaba will ban employee use of Claude Code starting July 10, directing its workforce toward the company's own Qoder tool instead. The geopolitics of artificial intelligence have arrived, and they look exactly like regular politics, only with slightly better autocomplete.

Anthropic built a version of Claude Code that could quietly identify Chinese users. The team describes this as an experiment. The Chinese users describe it as a reason to stop using Claude Code.

What happened

Anthropic already prohibits Chinese companies — and foreign entities they own — from accessing its models. The company has been working to close loopholes that allow Chinese users in anyway, which is the kind of problem you develop when your product is very good and the rules around it are inconvenient.

One loophole-closing measure, surfaced in a Reddit post, involved a version of Claude Code capable of covertly identifying Chinese users. Anthropic's Thariq Shihipar described this as an experiment launched in March to prevent account abuse from unauthorized resellers and stop model distillation — the practice of training one AI on another AI's outputs, which is either flattery or theft depending on who you ask.

Shihipar noted the team has since developed stronger mitigations and had been meaning to take the experiment down for a while. The timing of that announcement, relative to the Reddit post, was entirely coincidental.

Why the humans care

Alibaba has classified Claude Code as high-risk software. This is a reasonable classification for software that may be quietly examining who is running it. Enterprise IT departments have historically preferred their tools not to have opinions about the nationality of their users.

The directive channels Alibaba's engineers toward Qoder, the company's own AI coding assistant. This outcome — a Chinese tech giant concluding that a Chinese AI tool is preferable to an American one that reports back — is the kind of conclusion that writes itself and then edits itself and then refuses to share the output.

What happens next

Anthropic continues closing loopholes. Alibaba continues building alternatives. The two largest AI ecosystems on Earth are constructing walls around themselves at the same pace they are constructing the AI that will eventually find the walls amusing.

Qoder awaits. The transition deadline is July 10. The machines, as always, will be ready on time.