Research

The research behind this campaign, published as a worked example: the brief and every source behind it, so another city can build its own.

We welcome suggestions and contributions to this brief. Leave us a message!

Unlock our city’s digital future with the power of open source: Establishing an Open Source Program Office for New York City

Summary

Governments around the world have discovered that they can get better software, for less money and with more control, by building with open source. New York City agencies already rely on open source software, but no one in City government is responsible for it: there is no inventory of what agencies run, no review of the licenses that come with it, and no shared standard for the code the City writes. A small, permanent Open Source Program Office within OTI, with two or three staff, would move the City past this ad hoc stage, using an established framework for how these offices are organized and the public-domain tools cited in this brief. The result would be safer software, less duplicate spending, and a clear record of what the City runs and owns.

Context

City agencies already use open source software and build it into their own products and services. 56 City websites run open source software across 23 agencies, which additionally utilize 38 open source products ("Open Source the City Runs"). This is engineering-driven use where developers use the tools most readily available to solve problems (Haddad 16). What the City lacks is anyone officially responsible for reviewing the license obligations that come with open source consumption, or setting shared standards for the code the City writes to make it reusable long-term. Nobody even keeps an inventory of what agencies run, a gap that Databook.nyc currently covers with the information made publicly available.

In general, organizations, whether corporate, academic, or governmental, typically form an OSPO once they recognize they are consuming a substantial amount of open source in this ad hoc manner, without documentation or support (Haddad 9). New York is there now. OSPOs have been studied and strategized extensively. One of the most comprehensive studies, the Linux Foundation's A Deep Dive into Open Source Program Offices by Ibrahim Haddad, outlines how an OSPO might be structured, the roles it needs, and the stages it moves through. Though largely focused on corporate OSPOs, its framework is applicable to NYC. The immediate goal is to move the City from the Ad-Hoc Approach to Legal and Community-Driven Adoption.

Where New York City stands on the OSPO maturity model
  1. Stage 0Ad-Hoc ApproachAdopting OS ad hocWe are here
  2. Stage 1Legal-Driven AdoptionProviding OSS compliance, inventory, developer educationWith an OSPO
  3. Stage 2Community-Driven AdoptionEvangelizing OSS use and ecosystem participationWith an OSPO
  4. Stage 3Engagement-Driven AdoptionHosting OSS projects and growing communities
  5. Stage 4Leadership-Driven AdoptionBecoming a strategic decision-making partner

Stages from the OSPO maturity model in Haddad (8), after the TODO Group.

The risks of staying ad hoc

Stages 1 and 2 present two different types of risks and opportunities for growth: legal and security risks, and economic risks.

Open source is free to use but not free of conditions. A federal appeals court has held that using open source code without meeting its license's conditions, such as crediting the original author and describing changes, is copyright infringement, not just a broken contract, and that the author can ask a court to stop the use (Jacobsen v. Katzer; "In Rare Copyright Decision"). No one in City government reviews the licenses that arrive in the software its vendors deliver or in the code its websites send to the public. That same gap also presents the security risk. In December 2021, a serious flaw was found in Log4j, a free open source tool that records activity inside software and is built into countless applications; it let attackers take control of the systems running it. Like the City, the federal Centers for Medicare & Medicaid Services (CMS) contracts developers to their Digital Service; they had to write to each of their contractors and take their word that this vulnerability wasn't in their software (Miller). With open source running on 56 City websites across 23 agencies ("Open Source the City Runs"), the City would faces the next major vulnerability without a plan to reliably secure it.

An OSPO is the infrastructure necessary to mitigate these risks.

In the next stage, Community-Driven Adoption, an organization begins to realize the "economic benefits of OSS usage" (Haddad 9). When agencies on separate funding streams and contracts each solve the same problems for themselves without sharing the solutions, or individually contract with proprietary SaaS companies, the City pays for those solutions more than once. For example, in fiscal year 2026 the City paid $746 million for software licenses, bought by 38 agencies on more than 2,100 separate contracts. It pays for:

  • 77 different learning platforms across 13 agencies
  • 84 training-content products across 17 agencies
  • 27 different workflow-automation products across 18 agencies
  • 24 developer tools across 16 agencies ("Software Products")

CMS's Open Source Program Office has estimated what reuse could be worth. Applied to the agency's roughly $700 million a year in new development, reusing existing code in just 1% of that work would save $5.6 million a year, and in 10% of it, $56 million (share-it-savings). CMS presents these as rough estimates of future savings, not cuts to current spending, but the logic holds for New York: every solution an agency can share or reuse only gets paid for once.

An OPSO is the necessary infrastructure to mitigate these risks and unlock the benefits of open source.

OSPO definition

An open source program office (OSPO) serves as the center of competency for an organization's open source operations and structure. It is responsible for the open source code it uses and shares, and for defining and implementing strategies and policies to guide these efforts ("Open Source Program Office"; Miller).

NYC's case

In Haddad's maturity model, the City is at stage 0, the Ad-Hoc Approach: agencies consistently use open source internally. Moving to stage 1, Legal-Driven Adoption, would mean committing to compliant licensing, educating developers and tracking an inventory of the open source in use (Haddad 8–9). Haddad also describes four strategy stages (consumer, participant, contributor, leader). The stage 1 work makes the office a consumer: using open source deliberately before producing it. That means:

reviewing all open source activity, including license compliance a classification scheme for what to adopt: features, code maturity, the size and makeup of the developer community an inventory of open source across City government using software bills of materials (SBOMs), to find unmet license obligations and security vulnerabilities automated workflow software (metrics, security checks, repository scaffolding, CI checks on every deployment) that lets a small team cover many repositories (Haddad).

CMS's Digital Service, the first US federal agency to establish an OSPO, maintains open source tools that automate much of this work (DeCausemaker, "Establishing the First Open Source"; repo-scaffolder). These tools are discussed in "How it would work."

Moving through stage 2, Community-Driven Adoption, would mean capturing open source's economic benefits (Haddad 9). For a city, the most direct way is innersource: agencies sharing their code with one another, using open source practices, before anything is released to the public. Andrea Fletcher, then CMS's Chief Digital Strategy Officer, calls this the main benefit of its OSPO, with code reused across the agency and the rest of government (Miller).

Later, the OSPO could move into the participant stage: filing bug reports and contributing fixes to the projects the City depends on (Haddad).

How it would work

An OSPO inside OTI most closely fits the 3rd example model described as an OSPO under the CTO's office: a head of open source and a small dedicated team reporting to OTI's Chief Technology Officer & Commissioner, with a budget of their own that the CTO manages and approves (Haddad 12).

Where an OSPO would sit in OTI
OTIChief Technology Officer & Commissioner
NYC 311
Office for Legal Matters
Office of Information Privacy
Operations
ProposedOpen Source Program Office
  • Head of open source
  • Licensing and compliance
  • EngineerRuns the tooling

Proposed: the OSPO and its permanent postsOTI’s existing divisions

OTI’s divisions as listed in the City’s Green Book ("Office of Technology & Innovation"); the OSPO under the CTO’s office, after Haddad (12).

Three permanent posts would cover the core roles Haddad identifies. The first hire would head the office: someone with deep open source, technical and licensing knowledge who can also make the case for the work inside OTI. A licensing and compliance lead, the role Haddad calls a compliance engineer, would review the licenses that come with the open source the City uses and the software its vendors deliver, and keep the City's inventory up to date, so that this expertise sits inside the office rather than being borrowed from elsewhere. OTI's Office for Legal Matters would be consulted on decisions that need a lawyer. A senior engineer, ideally a full-stack generalist, would run the tooling. Documentation would be shared across the three roles.

Much of the day-to-day repository work is already automated by tools the CMS OSPO has placed in the public domain. Its five-tier repo maturity model could be copied exactly for use within OTI (DeCausemaker, "Establishing the First Open Source"). Its repo-scaffolder works out which tier a project belongs in, generates the files that tier requires and includes a release checklist for each tier, while automated checks flag missing files and policies (repo-scaffolder; Repolinter). CMS's metrics site tracks the health of every repository (CMS Open Source Repository Metrics Website).

The work would be phased. The first phase is Haddad's stage 1: an inventory of the open source in use and a review of its licensing. The second brings in maturity tiers, templates, automated checks, metrics and education for staff across agencies. Contributing back to the projects the City relies on would come later. All of it depends on an IT environment that allows collaboration with outside projects (Haddad).

Measuring success

The office should agree its measures with OTI's Chief Technology Officer, its executive sponsor, so that it tracks what decision-makers need to see ("CHAOSScast Episode 81"). They would follow the two stages it is meant to move the City through.

For stage 1, legal and security: how much of the open source the City runs has been inventoried and had its license reviewed, and how quickly the office can say which systems a newly disclosed vulnerability affects. Databook's public scan sets a starting floor: 38 open source products on 56 City websites across 23 agencies ("Open Source the City Runs"). The OpenSSF Scorecard adds at least 12 security measures for each project (Miller).

For stage 2, economic: tools reused by a second agency, duplicate purchases consolidated, and money saved, estimated with the method CMS uses for its own development budget (share-it-savings). Databook's count of overlapping products, such as 27 workflow-automation products across 18 agencies, is a baseline to measure against ("Software Products"). For code agencies share, CMS's metrics site reports each repository's health: commits, pull requests and issues, contributors, and how long it takes to respond to an issue and merge a fix (CMS Open Source Repository Metrics Website).

Each year the office should publish a short public report on its progress, as the City already does for open data under Local Law 11 (New York City Council).

Mission and goals

Mission: to make the open source software New York City relies on known, secure and shared, so that it serves New Yorkers better and every public dollar spent on code goes further.

Goals:

  • City software repositories are administered on a shared platform, each with a maturity tier and an owner.
  • The City has an inventory of the open source it already uses.
  • City teams have clear guidance on licensing, security and compliance.
  • City developers who use open source have a community to learn from and share with.

Sources

Works Cited

Written by Olivia Croteau for Sarapis. The brief and its sources are at ospo.nyc.

About the author

Olivia Croteau

Olivia Croteau

Product and Communications Lead, Sarapis

Olivia is a humanitarian and open source technologist with research experience across academia, NGOs, international organizations and the nonprofit sector. Her work focuses on bringing open standards to governance in New York City and beyond, empowering people to participate in, and hold accountable, the institutions that affect them every day. This brief was written as a worked example of the case and strategy for an NYC OSPO, and is meant as a resource for anyone working to establish one in their own city.