Open Code, Closed State
The Bazaar, the Hacker Ethic, and the Battle over the Architecture of Artificial Intelligence
Within a matter of days this September, two nearly simultaneous scenes unfolded. In the United States, companies at the frontier of large AI models began calling for more binding national safety rules, while executives at some of those same firms publicly urged a slower pace in the development of the most advanced systems. In New Delhi, Xi Jinping presented the BRICS countries with a Chinese initiative for “open-source and inclusive AI,” including cooperation on large language models, training, seminars, cloud infrastructure, industry, and technical education. Restraint on one side; diffusion on the other. The timing does not prove coordination between the events, but it offers an unusually clear window onto the struggle over who will shape the next technological architecture.
The first temptation is to read the episode as yet another simple opposition between the United States and China: private, closed companies on one side; state-sponsored openness and South–South cooperation on the other. That reading is seductive and, in my view, wrong. It confuses what is actually open, who is free to leave, who governs the infrastructure, and — above all — what kind of ethic makes innovation possible.
My hypothesis is different: for now, the phrase “open AI” functions far more effectively as a rhetorical position than as an institutional innovation. The open ecosystem already exists. It is transnational, plural, competitive, often untidy, and — most importantly — it does not depend on a political sovereign to authorize cooperation. What is new in New Delhi is not openness. It is the attempt to territorialize it.
What Xi announced — and what BRICS did not adopt
In his official remarks, Xi proposed that China take the lead in building a BRICS open-source AI community, supporting the development and application of LLMs, specialized seminars, training, and an open ecosystem. In another part of the same agenda, he advocated cooperation in cloud computing, the digital economy, smart manufacturing, and engineering education. The sequence is revealing: this is not merely about releasing code. It is about models, compute, cloud infrastructure, standards, skills, industry, and markets.
Yet the multilateral document adopted in New Delhi did not create such a community. The Declaration recognizes the importance of access to AI resources, safety, reliability, science, innovation, and governance, and commits members to ongoing work on global AI governance. It does not, however, define a budget, timetable, repository, license, computing architecture, or governance structure for the open-source community Xi announced. Eleven countries signed a 140-paragraph document that deals extensively with artificial intelligence while remaining silent on the specific initiative Xi came to propose.
That does not make the proposal irrelevant. It makes it politically more interesting. For the moment, this is a Chinese proposal advanced within BRICS, not a technological infrastructure actually built by the bloc. The distance between the word “open” and the mechanisms that make openness real is therefore the right place to begin.
Two things called “open”
Free software and open source have a history stretching back decades. Their licenses differ: the GPL and other forms of copyleft coexist with MIT, BSD, Apache, the PostgreSQL License, and many other permissive licenses. That legal diversity does not weaken the argument; it strengthens it. R, Python, Linux, PostgreSQL, PostGIS, QGIS, GDAL, NumPy, SciPy, scikit-learn, PyTorch, TensorFlow, and an almost uncountable number of libraries coexist in a stack that crosses countries, universities, companies, and governments without a central state arbiter.
The Open Source Initiative is explicit: open source does not merely mean being able to inspect code. Its definition requires redistribution, access to the preferred form for modification, the possibility of derived works, and the absence of discrimination against persons, groups, or fields of endeavor. Openness, in other words, is a set of operational freedoms.
In the contemporary world of large models, however, the same word is used for different things. An open-weights model may provide the parameters produced by training while withholding the corpus, the training recipe, the alignment data, or the computational resources required to reproduce the run. That can still be enormously useful — and the best Chinese open models are genuinely useful — but utility is not the same as autonomy. The decisive question is not merely, “Can I download it?” It is: “Can I reproduce it, modify it, leave it, and carry on?”
The cathedral, the bazaar, and the RFCs
Eric S. Raymond made famous the contrast between the cathedral and the bazaar. The cathedral is vertical: a defined project, recognizable authority, and relatively closed construction until the edifice is ready. The bazaar is horizontal, noisy, iterative: many agents experiment, correct, disagree, and reuse one another’s work. The metaphor was coined to explain software-development methods, but it also came to describe a form of governance.
The Internet itself may be the largest example. RFC 1, published in April 1969, did not appear as a technical decree. Steve Crocker set out “tentative agreements” and “open questions” and invited responses. The very name Requests for Comments carries an epistemology: knowledge is provisional, authority is contestable, and the value of a proposal is tested in practice.
Decades later, IETF culture condensed that attitude into the phrase rough consensus and running code. There is no technical king who can decree the truth of a protocol. There are technically competent participants, public documentation, implementations, interoperability, dissent, and accumulated experience. This is not the absence of rules. It is coordination without a single sovereign.
There is an important complication, and it strengthens rather than weakens the argument: the Internet received decisive state funding in its origins, including military funding. But financing is not the same as commanding. The State may fund infrastructure, purchase research, and create conditions for experimentation; it does not follow that it must politically govern the process of innovation.
The ethic that makes the bazaar work
This is where a purely institutional account needs another layer. In The Hacker Ethic and the Spirit of the Information Age, Pekka Himanen describes an ethos that helps explain why individuals create, share, and improve solutions without waiting for a bureaucracy to tell them what to do. In his account, passion and freedom shape the hacker work ethic; social worth and openness structure the relation to money; activity and caring form a “network ethic”; and creativity runs through the whole.
The point is not to romanticize programmers. Himanen’s hacker is not a digital saint, and the bazaar is not powered by pure altruism. On the contrary, his argument helps us see that self-interest is much broader than monetary gain. Curiosity, reputation, peer recognition, autonomy, the pleasure of solving a difficult problem, the desire to build a tool that does not yet exist, and the wish to outperform a competitor are all powerful forms of self-interest.
This brings Himanen close to Hayek by a different route. Hayek draws attention to dispersed knowledge: no authority possesses, at a single point, all the information needed to coordinate a complex order. Himanen adds something equally important: the motivation to experiment is dispersed as well. Raymond provides the production mechanism: the bazaar allows distributed knowledge and distributed motivation to meet, be tested, and accumulate.
Innovation, on this view, is not born of a planner’s clairvoyance. It arises from the freedom of agents to pursue their own ends, try solutions, make mistakes, copy, modify, and abandon previous paths. An authority can regulate what it is able to describe in advance; significant innovation often changes the very set of possibilities that could be described before the discovery was made.
Figure 1 — From the hacker ethic to the process of discovery: self-interest, open coordination, the right to exit, and innovation.
Self-interest, freedom, and regulation
To say that self-interest is a driver of innovation is not to say that every human motive is pecuniary, nor that markets automatically produce good outcomes. It means something more elementary: people and organizations have their own aims and possess local knowledge that no central authority can fully know in advance. Competition allows rival conjectures to be tested against reality.
Every regulation, in the strict sense, removes some course of action from the set of possibilities. It may prohibit, require a license, impose a standard, raise compliance costs, mandate disclosure, or assign liability. This is close to tautological: a rule that constrains nothing does not regulate. The important question is different: does the restriction protect general conditions of freedom and exchange, or does it try to determine in advance the technology, content, purpose, and outcome?
Property rights, enforceable contracts, anti-fraud rules, and liability for harm also constrain conduct, yet they can increase predictability and allow strangers to cooperate. Prescriptive ex ante regulation, by contrast, tends to replace discovery with permission: before experimenting, the innovator must demonstrate compliance with objectives defined by people who do not know the result that is yet to be discovered.
The strongest argument on the other side deserves to be taken seriously. When harm may be catastrophic and irreversible, ex post liability is inadequate: there may be no meaningful remedy after the fact. That asymmetry between reversible and irreversible risk is the serious — not merely strategic — reason why some parts of the AI frontier may require prior rules.
But acknowledging that point does not settle the form those rules should take. One thing is to prohibit specific, verifiable, enumerated capabilities; another is to license the activity of innovating itself. The former preserves discovery while restricting an outcome; the latter transfers to an authority the decision about who may try. There is a practical test for any proposal: ask who can comply with it. If the answer is “only those who already possess capital, lawyers, compute, and infrastructure,” the rule may be well intentioned and still entrench incumbents.
The right question, then, is not “regulation or no rules at all?” It is: which rules preserve an open process of discovery, and which turn innovation into a licensed activity?
The fork: the right to exit
The bazaar’s most important mechanism may not be the license in the abstract, but the right to exit. If maintainers take a project in a direction you reject, you can fork it. LibreOffice emerged from OpenOffice. MariaDB from MySQL. Rocky Linux and AlmaLinux appeared after changes to CentOS. OpenSearch grew out of Elasticsearch. The concrete possibility of leaving disciplines those who occupy coordinating positions — even when no one actually leaves.
Bitcoin carried the same logic into monetary infrastructure. It has no issuing company, no single headquarters, and no authority that can unilaterally alter the protocol. The SegWit2x dispute between 2015 and 2017 showed that large companies and miners were not enough to force a change without sufficient adoption by users and node operators. The network could split; the market would decide the relative value of the alternatives.
China’s 2021 mining ban was another test. Global hash power fell sharply, but the activity migrated and network capacity recovered. This does not mean Bitcoin is immune to the State: exchanges, custodians, energy systems, telecommunications networks, and actual people remain subject to jurisdictions. It means something more precise: there is no single sovereign point whose capture is sufficient to extinguish the worldwide protocol.
Here lies the consequence that closes the argument. A meaningful fork depends on reproducibility: I can go my own way only if I possess the source and the recipe. An open-weights model provides the result of training without necessarily providing the corpus, procedure, alignment data, or compute that produced it. The received artifact can be modified and can generate derivatives, but it does not allow the original process to be reconstructed. Without the corpus, pipeline, and comparable computational capacity, there is no reproducible fork of the base model.
For digital infrastructure, the fork is what exit is for any institutional order: the ability to disagree without first capturing the center. It is this mechanism — not merely the moral prestige of the word “open” — that turns openness into a technology of autonomy.
What openness does not open
Weights are only the visible layer. Beneath them remain alignment data, training recipes, corpora, compute, silicon, energy, and, increasingly, physical networks. Whoever controls those layers controls the speed of iteration, the capacity to retrain, and the ability to scale.
The distinction becomes even more important in the Chinese case because technical openness coexists with explicit political rules. China’s measures governing generative-AI services require adherence to “core socialist values” and prohibit categories of content defined by the State. Algorithmic services with certain characteristics are subject to filing and assessment. One need not attribute bad faith to every researcher or company to see the institutional consequence: a model may be technically available while still carrying alignment decisions produced inside a centralized political architecture.
Open code does not automatically produce an open society. Linux can run in a free university or in a surveillance system. PostgreSQL can store scientific data or administrative databases of control. The artifact is the same; the institution surrounding it is not.
Figure 2 — Publishing weights opens the visible layer. The decisive layers of training and scale remain closed, scarce, or economically difficult to reproduce.
Three models, not two
The contrast between an “open China” and “closed United States” obscures what is actually at stake. There are at least three distinct institutional arrangements.
• The community commons: protocols, libraries, and projects in which distributed governance, open code, interoperability, and the right to fork reduce dependence on a center.
• Private vertical integration: firms such as SpaceX, Tesla, Google, Microsoft, or Amazon concentrate capital and infrastructure, but operate within markets shaped by investors, competitors, contracts, courts, and the possibility of business failure.
• State direction: standards, licenses, data, content, and priorities subordinated to a political authority whose decisions are not exposed to the same forms of independent contestation.
None of the three arrangements is free of risk. Commons can suffer coordination problems and maintainer capture. Private firms can accumulate enormous power. States can finance science and infrastructure that no private actor would undertake alone. The demarcating question nevertheless remains: is there an independent mechanism that allows people to disagree, exit, migrate, fork, or contest a decision?
Figure 3 — Three models of innovation. The central criterion is not the absence of power, but contestability and the possibility of exit.
The Musk stack: private vertical integration as a counterexample
Elon Musk matters in this essay not as a business hero, but as an institutional counterexample. His ecosystem is not a hacker bazaar: SpaceX, Tesla, xAI, Starlink, and Neuralink are strongly hierarchical private organizations. Yet their architecture is useful because it reveals where an actor with capital and information is betting that the real bottlenecks of the next technological phase will lie.
In February 2026, SpaceX and xAI were combined. The stated logic of the transaction brings artificial intelligence, rockets, satellites, and the possibility of orbital data centers into the same strategic frame. Soon afterward, the Terafab project brought together Tesla and SpaceX — with manufacturing and process partners — in an effort to build semiconductor capacity for robotics, autonomous vehicles, and AI infrastructure. SpaceX’s public listing further increased exposure to investors, disclosure obligations, and public scrutiny.
A note on the numbers: reported valuations and investment figures vary by source and by the date of reporting, sometimes by hundreds of billions of dollars. That is not necessarily journalistic carelessness. In a stock-based merger and in industrial projects stretching over a decade, there is no single definitive price — there are estimates. Orders of magnitude are enough here, because the argument depends not on accounting precision but on where the money is going.
Get Daniel de Carvalho’s stories in your inbox
Join Medium for free to get updates from this writer.
The chain becomes clear when viewed as a whole: models at the software layer; Terafab and partners at the silicon layer; Tesla in robotics, autonomy, and energy storage; SpaceX in access to orbit; Starlink and Starshield in communications; orbital data-center projects in the computing layer; Neuralink at the interface between brain and machine, still in early human trials. The strategy may fail in part or altogether. That possibility is not an embarrassment. It is part of the selection mechanism.
The economic point is not that Musk “knows the truth” about the future. Capital allocation reveals a conviction: model weights are not the principal bottleneck. Energy, chips, factories, launch capacity, communications, cooling, data centers, and physical integration are scarce. So far, the “open AI community” announced in New Delhi offers mainly the cheapest layer rhetorically.
Nor should this contrast be reduced to “bad State versus good company.” SpaceX grew through NASA and U.S. defense contracts; Starshield serves governments; Tesla benefited from public policies; Neuralink depends on medical regulation. The relevant distinction is different: state funding and procurement can coexist with private ownership, competition, courts, disclosure, and the risk of failure. That is not institutionally equivalent to the subordination of the corporate sphere to a party-state.
G20, BRICS, and the UN: arenas of the same contest
The contest becomes clearer when the arenas are viewed together. In early September, the G20 innovation ministerial under the U.S. presidency addressed pro-innovation environments, intellectual property for AI, standards, technical workforce development, and industrial supply chains. Governments sat alongside executives from companies that actually build chips, models, infrastructure, and applications. Days later, Xi presented BRICS with an almost mirror-image agenda: AI, standards, cloud, training, industry, and technological cooperation.
The U.S. presidency of the G20 in 2026 is itself part of the picture. The leaders’ summit is scheduled for December in Miami; its declared themes include new technologies, energy chains, and deregulation. The agenda carries the grammar of U.S.-led technological coalitions into a multilateral forum. We need not assume that either meeting was improvised as a response to the other. It is enough to recognize that the same resources — knowledge, standards, talent, chips, energy, capital, and legitimacy — are being contested in different arenas.
The United Nations is another such arena, and one of the most subtle examples appears in the New Delhi document itself. Among its 140 paragraphs, one notes that the UN has never had a woman Secretary-General, that there has been only one Secretary-General from Latin America and the Caribbean, and only two from Africa. It names no candidate, accuses no one, and asks for nothing: it merely states facts that, in an ongoing succession, function as a filter. It is an exceptionally efficient position precisely because the premise is true.
The vocabulary needs care here. To speak of a “war of position” can suggest a single strategist moving every piece, and the evidence does not support that. What recurs is not centralized direction but a repertoire: a set of institutional maneuvers that are learned, published, and available to actors who find themselves in positions of contestation — build a parallel institution, shift forums, formulate a demand that is difficult to oppose, invoke sovereignty against scrutiny. Claude Raffestin’s political geography is more useful here than any theory of collective will: technological space exists before territory, and becomes territory when actors succeed in organizing flows, norms, and dependencies around strategic positions.
India shows why this contest should not be reduced to two perfectly disciplined blocs. It is a founding member of BRICS and at the same time participates in technological and space arrangements with the United States. This is not incoherence. It is autonomy maximization. Middle powers can buy from several institutional suppliers, extract competing advantages, and avoid exclusive alignment.
The temptation of the cognitive State
There is another reason why the language of “open AI” is attractive to states. AI is not only a technology to be regulated; it is a technology for regulating. Bureaucracies have always suffered cognitive limitations: they cannot read everything, cross every database, monitor every actor, or process all the information they possess in real time. AI models can radically reduce those costs.
That can improve public services, detect fraud, assist diagnosis, reduce waste, and accelerate decisions. It can also expand surveillance, classification, behavioral prediction, and administrative control. The same technology supports both possibilities. The ethical and institutional question therefore cannot end with “Are the weights open?” We must also ask who sets the objectives, who controls the data, who audits the model, who can contest a decision, and who has the right to leave.
The openness that matters is relational. A model may publish its weights and still operate within an architecture of permission. A community is genuinely open only when its participants can disagree, modify, fork, publish alternatives, and continue creating without depending on the benevolence of a political sovereign.
A general test case: Covid-19
The pandemic offered a real-world version of the dispute described in this essay. The clock began to run on January 11, 2020, when a Chinese researcher published the virus genome in an open scientific forum. The circulation of that information required no treaty, summit, or geopolitical “cooperation zone”: it required an open channel and a scientist willing to publish quickly.
What followed also requires precision, because an inflated version of the story has become common. The vaccines were not “produced by artificial intelligence.” The earliest Moderna candidate was designed using established mRNA rules and structural-biology knowledge; the stabilized viral spike drew on earlier work on other coronaviruses. Contemporary AI tools for protein-structure prediction became more influential later, but they were not the central engine of the initial vaccine designs.
What compressed the timetable was something else — and it is precisely the triad this essay has argued is scarce: a mature platform, built on two decades of mRNA research, the nucleoside modifications pioneered by Karikó and Weissman, and lipid nanoparticles for delivery; patient capital, with manufacturing financed before approval; and regulatory capacity capable of acting under emergency conditions without abandoning clinical trials. Pfizer with BioNTech, Moderna with the U.S. public research apparatus, Oxford with AstraZeneca: the United States and Europe.
Within BRICS, the contrast is instructive without being merely rhetorical. Russia registered its vaccine before completing Phase III trials. China relied mainly on older inactivated-virus platforms. India developed vaccines of its own, but its most decisive comparative advantage for the global response lay in extraordinary manufacturing scale. Mass production is a real and scarce capability; it is not the same thing as discovering the technological frontier.
In the multilateral arena, the same contest reappeared through familiar instruments. The independent panel chaired by Helen Clark and Ellen Johnson Sirleaf concluded in 2021 that the global response had been slow and that the International Health Regulations system had failed. The origin of the virus remains unresolved, with state assessments diverging and often carrying low confidence. The United States left the World Health Organization. The Pandemic Agreement was adopted without it, and negotiations over the annex on pathogen access and benefit sharing were extended. The point here is not final blame; it is where capabilities were located, and where the vocabulary of authority was located.
Life-saving information circulated because an open channel existed and no one needed permission. Life-saving products came from places with mature platforms, patient capital, and regulators able to move quickly without simply ruling by decree. The next pandemic will be confronted with AI tools far more powerful than those available in 2020. When that happens, the question of who governs those tools, who can audit them, and who can exit them will no longer be abstract.
Show us the code. Then show us the power.
If China releases excellent models under genuinely open licenses, that will be a useful contribution. We should use them, test them, compare them, fine-tune them, build derivatives where technically possible, and replace them when something better appears. The nationality of an algorithm should matter less than its auditability, portability, and substitutability.
But “open source” should not borrow the moral prestige of a tradition that flourished precisely because no one had to ask a geopolitical bloc for permission. The Internet did not need a summit to become global. Python did not need a treaty. Bitcoin did not need a central bank. The genome that enabled vaccine development did not need a cooperation zone; it needed a researcher willing to publish. The open ecosystem is not the absence of coordination. It is distributed coordination, driven by self-interest, passion, reputation, curiosity, competition, and the freedom to exit.
The bazaar did not outperform the cathedral in so many domains because it had no rules. It did so because it turned freedom, criticism, experimentation, and the possibility of exit into rules of production. That is what the RFC tradition institutionalizes. That is what the hacker ethic helps explain. That is what the fork makes concrete.
Every regulation restricts some action. Some restrictions protect the general conditions of freedom and cooperation; others try to replace discovery with permission. The decisive boundary lies there. The more the State defines in advance who may innovate, with which technologies, for which purposes, and within which permitted answers, the less “open” the ecosystem becomes — even if the weights are available for download.
For now, Xi’s proposal is a position on the board: an attempt to associate China, BRICS, and the Global South with the vocabulary of openness. The real test is simple. Show us the code, the weights, the data, the licenses, the servers, the governance, and the rules of exit. Show us whether a researcher may disagree with Beijing, modify the artifact, publish an alternative, and remain within the community. Show us whether a country can leave the infrastructure without rebuilding everything from scratch.
Technological sovereignty does not mean producing everything at home. It means being able to choose, migrate, and leave. Innovation is not what an authority permits once it already knows the result. Innovation is precisely what appears because someone was free to try something the authority did not yet know existed.
The community built it first. The State came later, bearing the word.
Sources and further reading
1. “OpenAI pushes for mandatory national AI safety rules.” Reuters, September 9, 2026.
2. “Global AI stocks fall as industry chiefs call for slowing development.” Reuters, September 14, 2026.
3. Xi Jinping, remarks at the 18th BRICS Summit. Ministry of Foreign Affairs of the People’s Republic of China, September 2026.
4. BRICS New Delhi Declaration. Government of India, September 12, 2026.
5. “G20 Innovation Ministerial Concludes with Consensus Statement.” White House, September 2, 2026.
6. “United States Assumes Presidency of the Group of 20.” U.S. Department of State, December 1, 2025.
7. The Open Source Definition. Open Source Initiative.
8. RFC 1: Host Software. RFC Editor, April 1969.
9. RFC 7282: On Consensus and Humming in the IETF, 2014.
10. IETF — Introduction: rough consensus and running code.
11. ICANN — Stewardship of IANA Functions Transitions to Global Internet Community, October 1, 2016.
12. HIMANEN, Pekka. The Hacker Ethic and the Spirit of the Information Age. Random House, 2001.
13. RAYMOND, Eric S. The Cathedral and the Bazaar.
14. HAYEK, F. A. “The Use of Knowledge in Society.” American Economic Review, vol. 35, no. 4, 1945.
15. RAFFESTIN, Claude. Pour une géographie du pouvoir / Por uma geografia do poder. 1980; Portuguese ed., Ática, 1993.
16. NAKAMOTO, Satoshi. Bitcoin: A Peer-to-Peer Electronic Cash System.
17. Cambridge Centre for Alternative Finance — Bitcoin mining electricity update, May 17, 2022.
18. Cyberspace Administration of China — Interim Measures for Generative AI Services, 2023.
19. Reuters coverage of SpaceX/xAI, orbital data centers, and related transactions, 2026.
20. Reuters coverage of Intel and Musk’s Terafab AI chip project, 2026.
21. Reuters coverage of the SpaceX IPO, 2026.
22. Reuters coverage of Neuralink human trials, 2026.
23. Reuters coverage of UK reliance on Starshield/SpaceX, 2026.
24. KARIKÓ, K.; WEISSMAN, D. et al. “Suppression of RNA Recognition by Toll-like Receptors.” Immunity, 2005.
25. PALLESEN, J.; McLELLAN, J. S.; GRAHAM, B. S. et al. “Immunogenicity and structures of a rationally designed prefusion MERS-CoV spike antigen.” PNAS, 2017.
26. The Independent Panel for Pandemic Preparedness and Response. COVID-19: Make it the Last Pandemic. Geneva, 2021.
27. World Health Organization — Member States agree to extend negotiations on Pathogen Access and Benefit Sharing annex, May 1, 2026.






