Cockroach Labs built its reputation on solving complex data infrastructure challenges. Since the project's inception, CockroachDB was released as an open-source initiative. The company shifted to the Business Source License in 2019 and consolidated around the CockroachDB Software License in 2024. Throughout these transitions, the team emphasized that transparency in software development builds trust and supports the broader ecosystem.
Drivers behind the licensing shift
The decision to change how source code is published stems from risks that have intensified in recent years. Security concerns top the list. Artificial intelligence has altered how code is consumed, analyzed, and reproduced. Large language models can surface implementation details, internal logic, and architectural patterns at a scale and speed that fundamentally changes the security equation for source availability. Attack surfaces that once required deep manual investigation can now be identified rapidly and at scale. Vulnerabilities in publicly visible code can be discovered and exploited faster than fixes can be deployed. The team noted that this dynamic played out with Mythos: maintaining publicly available source while defending against AI-assisted analysis creates an uneven defense.
Beyond security, legal frameworks that have historically protected source code—particularly copyright—are entering uncertain territory as AI becomes central to how code is written and derived. Codebases that were once monitorable at limited scale can now be functionally reproduced broadly. This is not theoretical; early real-world examples show AI being used to produce functional reproductions of protected software, and the trend is accelerating.
What changes for the codebase
Going forward, new versions of CockroachDB's source code will not be published to the public repository. The same applies to Pebble, the high-performance storage engine, which will move to private development. The license terms themselves are not changing. CockroachDB continues under the CockroachDB Software License. What changes is that new releases will no longer have source code publicly visible.
The existing open-source repository will remain in place but will no longer be maintained or updated. It stays available as-is for historical reference. The team acknowledged that some customers and community members have relied on the public source for understanding CockroachDB internals, filing issues, or referencing implementation details. A detailed FAQ addresses how these workflows will be supported going forward.
Continued open-source commitments
The decision reflects a broader reassessment of where open source fits in an AI-driven landscape. The company still believes in open source, but maintains that it is most effective when applied thoughtfully. Not every codebase carries the same risk profile. A general-purpose Go library and a proprietary distributed database present fundamentally different security and intellectual property considerations, and the team considers it reasonable to treat them differently.
Cockroach Labs continues to actively maintain several open-source Go libraries that see use beyond CockroachDB, including errors, apd, redact, datadriven, and others. The team also contributes upstream to projects such as Go itself, gRPC, and the Bazel ecosystem.
Ideas and innovations behind CockroachDB will continue to be shared through blog posts, technical white papers, conference talks, and other established channels of community engagement.
What this means for product development
Protecting the intellectual property behind rapid product innovation is essential when the security and legal landscape around publicly available source code is eroding. The team believes continuing to publish core IP introduces risk both to the business and to customers who rely on the company to keep advancing the product.
For those who have depended on public source code for workflows related to the database, the team notes that support paths are being documented and that account teams and support channels are available for questions not covered in the FAQ.
This change is framed as the right decision for customers, the business, and the long-term health of the product. The commitment to the community, partners, and customers remains the same.