Analysis
Anthropic's Claude Code remains the dominant tool in enterprise AI-assisted coding, holding roughly 42% market share -- more than double OpenAI's approximately 21% -- even as competition from Codex and open-source alternatives intensifies, according to new reporting on the coding-agent market's competitive landscape.
The usage numbers back up the market-share claim. Claude Code has crossed 10% of all public GitHub commits and is tracking toward 20% or more by year-end, a startling level of penetration for a single commercial tool. Its GitHub presence has also grown fast, with stars climbing from 71,000 to 132,000 by June, and the tool once generated 326,000 public commits in a single day in March.
But the competitive picture is shifting underneath that lead. OpenAI has made Codex CLI fully open-source under a permissive Apache-2.0 license, and it has already accumulated more than 91,000 GitHub stars -- a meaningful signal of developer interest given how young the open-source release is. Independent tool OpenCode has grown even faster, from 112,000 stars in February to 161,000 by May, suggesting real developer appetite for coding agents that aren't tied to a single closed-model provider.
“Claude Code has crossed 10% of all public GitHub commits and is tracking toward 20% or more by year-end, a startling level of penetration for a single commercial tool.”
The dynamic captures a broader tension playing out across the AI industry this year: closed, premium-priced products like Claude Code are still winning on raw usage and enterprise trust, even as open and open-source alternatives close the capability gap and offer a lower-cost, more customizable path for developers who don't want vendor lock-in.
For founders building developer tools, the lesson is that market leadership in AI coding is not yet a settled question -- Anthropic's lead is real but is being actively contested from multiple directions simultaneously, and the tool developers choose day to day may shift faster than enterprise procurement data currently suggests.
What to watch: whether Claude Code's commit-share growth continues at its current pace through year-end, whether OpenCode's star growth translates into meaningful enterprise adoption rather than just hobbyist usage, and whether Anthropic responds to rising open-source competition with pricing changes of its own.