Building City-Level AI Open-Source Ecosystems in the Large Model Era: Paths and Practices

    This article explains how open-source AI ecosystems are organized in the large model era. It breaks the ecosystem into three layers: models, agent components, and infrastructure with protocols. It also covers city-level "scenario open source," in which urban needs are packaged as machine-readable skill packages, and why talent density supports open-source collaboration. The article closes with participation paths for individual developers and enterprise technical teams.

    Introduction: Open Source Is Redefining How AI Innovation Is Organized

    In the mobile internet era, innovation depended on app stores and traffic distribution. In the large model era, it increasingly depends on shared open-source ecosystems. Over the past several years, the open release of deep learning frameworks, pretrained models, datasets, and toolchains has let developers worldwide build on frontier research at very low cost. This accumulation is now paying off. From base model weights and training code to upper-layer agent frameworks and supporting infrastructure, the boundaries of open source keep expanding and are reshaping the division of labor across the AI industry.

    One trend deserves attention. Open-source participants are no longer limited to companies and individual developers. More research institutions, universities, and even city-level innovation zones are organizing innovation resources in the open and inviting developers worldwide to take part in technical and application work. This article analyzes the logic behind this trend from a technical perspective and explores how developers and enterprises can participate.

    1. Three Layers of the Open-Source AI Ecosystem

    Understanding the current AI open-source ecosystem requires a layered view. Each layer addresses a different type of problem. The layers depend on each other and build on one another.

    1. Model Layer: Open Weights and Training Methods

    This is the layer most people recognize. Open base models typically include pretrained weights and inference code. Some projects also publish training data mixtures, alignment methods, and evaluation benchmarks. The core value of open models lies in three areas:

    • Lower barriers to entry: Small and mid-sized teams can access base capabilities they are allowed to use commercially without spending tens of millions on compute.
    • Enabling reproducible research: Research communities can verify, critique, and improve existing work, which avoids a “black-box arms race.”
    • Spawning derivative ecosystems: Fine-tuning, quantization, distillation, and on-device deployment built on open base models form a full chain of secondary innovation.

    In China, a number of leading large model developers and research organizations have released open models or open-source projects. Together with countless contributions from universities, research institutes, and individual developers, they have helped advance the global AI open-source community.

    2. Agent Layer: Componentized Planning, Memory, and Skills

    As agent applications capable of complex tasks draw wide industry attention, open-source agent projects have multiplied. The focus of this layer is no longer the model itself. It is how to make a model complete multi-step tasks reliably. Three core components matter most:

    • Planning: Task decomposition, reflection and self-correction, and search-based reasoning determine whether an agent can handle long task chains.
    • Memory: Short-term context management, long-term vector memory, and experience replay determine whether an agent can stay coherent across many interactions and keep accumulating experience.
    • Skills: Reusable capability units packaged as function calls or tool use determine whether an agent can interact with the outside world.

    A typical skill definition looks like this:

    1. skill:
    2. name: document_summary
    3. description: Produce a structured summary of long documents
    4. inputs:
    5. - name: document
    6. type: file
    7. - name: max_length
    8. type: int
    9. default: 500
    10. outputs:
    11. - name: summary
    12. type: text
    13. constraints:
    14. - Output must include a bullet-point list of key points and a conclusion

    Componentization means developers do not have to build a complete agent from scratch. They can assemble community-tested modules like building blocks and focus their effort on business logic.

    3. Infrastructure and Protocol Layer: The Software Stack for Agents

    When agents move from demos to production, infrastructure questions follow. These include standardized protocols for tool calls, communication conventions between agents and between agents and systems, sandboxed execution environments, task orchestration, and observability. This layer is less eye-catching, but it determines whether the ecosystem can scale. The industry is converging on the view that it needs software protocols and AI infrastructure better suited to agent workloads. These include unified tool description standards, standardized context-passing interfaces, and compute scheduling for elastic inference demand.

    Cloud providers play an important role at this layer. Baidu AI Cloud, for example, offers general-purpose products such as container platforms, object storage, message queues, log services, and monitoring and alerting. These can support the deployment, state persistence, and runtime observability of agent applications. They help developers turn open-source components into production systems without building the full underlying infrastructure themselves.

    2. From Code Open Source to City Open Source

    The boundaries of open source keep expanding. The author notes that at a major industry forum, the AI track was set around open-source frontier directions. This shows that open source has moved from a spontaneous practice in tech circles to part of regional innovation strategy.

    A more notable case involves a core innovation district in a major city. The district organized urban innovation needs and public policy information collected from the public into structured form. It packaged them as skill packages that agents can call, then contributed them to mainstream open-source platforms. In essence, this turns real urban problems, such as transportation, government services, and community services, into standardized, machine-readable open interfaces. It invites developers worldwide to take part in urban innovation.

    This model can be summarized as “scenario open source.” Its technical elements include:

    1. Structured requirements: Break vague urban governance needs into clearly defined tasks with explicit inputs, outputs, and constraints.
    2. Compliant data sharing: Within privacy and security requirements, provide anonymized data or simulation environments for development and validation.
    3. Standardized interfaces: Package capabilities with a common skill description specification so that any agent framework compatible with that specification can call them.
    4. Feedback loop: Evaluate developers’ solutions and feed the results back to refine the definition and quality of skill packages.

    For developers, this means open-source contributions can target concrete real-world problems, not only general-purpose tools. The social value of innovation becomes visible and measurable.

    3. Why Open-Source Ecosystems Depend on Talent Density

    Open-source activity has never been evenly distributed. Global AI open-source hubs share one trait: research institutions, companies, and talent are highly concentrated in one geographic area.

    Take the core innovation district in a first-tier Chinese city as an example. Within a 1-kilometer radius of its university cluster, which covers a few square kilometers, there are more than 30 universities and research institutions, over 1,000 AI scientists, over 13,000 AI developers, and over 100,000 young students in AI and related fields. Across the whole district, there are 37 universities, 96 national-level research institutes, a talent pool of more than 2 million people, over 2,000 AI companies, 26 unicorn companies, and 130 large models that have completed filing with Chinese regulators.

    Talent density affects open source in three ways:

    • Efficient knowledge spillover: Preprints, technical salons, and cross-team mobility spread frontier knowledge quickly, so open-source projects iterate faster.
    • Lower collaboration costs: Contributors build trust and communicate face to face at low cost, so major technical disagreements are easier to resolve.
    • Faster supply-demand matching: Pain points from real enterprise scenarios are quickly picked up by researchers and developers and turned into valuable open-source topics.

    This explains why urban innovation players are willing to invest in building open-source ecosystems. Open source has become infrastructure for attracting talent, accumulating technical assets, and amplifying regional innovation.

    4. Participation Paths for Developers and Enterprises

    Participants in different roles can take different approaches to a layered open-source ecosystem.

    For Individual Developers

    1. Move from using to contributing: First use an open-source component deeply in a production environment. Then start with documentation fixes, test cases, or small features,