Sharing reusable software code across Australian government agencies

Government agencies have a long habit of writing their own software. One department builds a grants calculator, another a licence renewal workflow, a third a document upload widget; each hires its own engineers, each carries the same defects, and each maintains a version no other agency can find. The bill for this duplication is paid in project management, security accreditation, accessibility remediation and staff time.

A shared code platform flips that arithmetic. It gives agencies a governed commons where teams publish components, services and reference applications under clear licences, and where other teams reuse rather than rebuild. For Australia the idea lands on familiar ground: a Commonwealth centre in Canberra, strong state and territory engineering teams, thousands of local councils, and an Asia-Pacific region where neighbouring governments are solving the same problems on a fraction of the budget.

Duplication is the hidden cost of digital government

Consider a common capability such as identity verification, e-signature, a payment gateway or a form builder. When three agencies build it separately, each pays for discovery, testing, penetration testing, documentation and long-term patching, and then a fourth rewrite arrives because the third team's code sits in a private repository. When a library defect surfaces, an agency holding a single copy patches it alone, and the same fix is repeated everywhere else, slowly and inconsistently.

In Australia that fragmentation is structural rather than accidental. Commonwealth agencies operate through shared-service arrangements in Canberra's Parliamentary Triangle, yet Service NSW, Digital Business Queensland and the Victorian government each run their own estates, and most of the more than five thousand local councils buy rather than build. Technical reuse across those layers is politically awkward because accountability is diffuse, but the duplicated spend is measurable in procurement figures and overtime.

In the Asia-Pacific the stakes are sharper. Smaller budgets and thinner engineering workforces mean a well-audited component for e-signature or offline mobile synchronisation can do the work of an entire project team. Australian agencies holding mature components could publish them to the commons and gain from regional co-development, turning a domestic efficiency measure into a two-way exchange rather than a donor-and-recipient arrangement.

What a shared code platform actually contains

A code commons is more than a git host. Its core is a catalogue of reusable artefacts: microservices, interface component libraries, data schemas, deployment templates and reference applications, each tagged with owning agency, maturity level, maintenance commitment, licence and accessibility conformance. Alongside it sits a dependency-aware artefact registry, so agencies pull approved versions rather than floating tags.

Maturity labels matter because openness hides a range of outcomes. A reference implementation illustrates a pattern; an adopted component has run in production elsewhere; a certified component has cleared security accreditation and WCAG 2.1 AA checks against the Digital Service Standard. The platform should apply those checks automatically in continuous integration pipelines — linting, tests, dependency and licence scanning, signed builds, documentation generation — instead of leaving conformance to goodwill.

Licensing and governance for public money

Licensing is where reuse usually stalls. Under the Copyright Act 1968 the Crown owns copyright in works made by Commonwealth employees in the course of their duties, and state agencies operate under comparable rules. A national commons therefore needs an explicit position: open licences such as Apache 2.0, MIT or BSD for code, and Creative Commons where Crown copyright covers non-software material. Ambiguity here costs more than any technical decision.

A workable contribution model is inner source: a team proposes a change inside its own agency's governed repository, reviews it with maintainers from other agencies, then promotes it upstream. Ownership stays visible through a public agency namespace, a named maintainer and a published support window, so users know who to ask when an originating team reprioritises. Savings only materialise if the budget follows, which means the platform needs a funded operations line rather than volunteer goodwill.

Security, privacy and supply chain risk

Open source is not unsupported code. The Australian Signals Directorate's Essential Eight and its secure-by-design guidance set expectations for provenance, patching and accountability, and the Log4Shell episode showed how one dependency travels through public services. A government commons should require signed artefacts, pinned dependencies, software bills of materials and coordinated vulnerability response before anything is certified.

Privacy and data residency need separate handling. Code can be shared freely; production datasets cannot. Components that process personal information require privacy impact assessments, and hosting decisions must respect the Privacy Act 1988, the My Health Records Act 2012 and state critical-infrastructure rules such as the NSW Critical Infrastructure and Resilience Act 2022. The commons should carry code, synthetic test fixtures and anonymised schemas, with operational data staying in the jurisdiction that owns it.

Accessibility and offline-first design are compliance obligations rather than extras, which is why WCAG checks belong in the pipeline and why patterns for low-bandwidth, intermittently connected users in Central Australia and the Northern Territory deserve a national reference implementation.

What Australia can contribute through the region

Australia holds specific assets: a mature engineering base concentrated in Sydney, Melbourne and Brisbane, a CERT at the Australian Signals Directorate that handles vulnerability disclosure well, and hard-won patterns from field services. Health and land-management agencies serving remote communities around Alice Springs and the Gulf country have refined offline-first mobile tools, small-screen forms and store-and-forward workflows that generalise to other countries with thin connectivity.

ICTD-ASP, the platform launched by the Asian Development Bank and the International Telecommunication Union, gives that contribution a natural home. Its Asia-Pacific focus already connects governments, development partners, private firms and civil society around project development, capacity building and knowledge sharing; a governed code commons sits squarely inside that remit, with governance templates and training smaller administrations can adopt without inventing their own.

The exchange runs both ways. Pacific and South-East Asian administrations have produced adaptable components in payments, identity and connectivity that Australian agencies can adopt once localised to Australian law, while Australian agencies contribute patterns that already satisfy strict accessibility and security standards.

Working with agencies, suppliers and councils

Procurement shapes the outcome. Australia's information and communications technology supplier market is competitive, and vendors already sell the identity, workflow and hosting platforms agencies buy, so a public commons must remain vendor-neutral; otherwise duplication is simply replaced by commercial lock-in and a per-seat invoice.

People make it work. Shared code needs maintainers with release management, security accreditation experience and the patience to review contributions from outside their agency. Australian public service culture helps here, with colleagues direct and informal about what is not working, and cross-agency groups able to settle a design argument in an afternoon rather than a quarter provided the review rules are written down. Smaller agencies, including councils and regional authorities, need a low-friction path: download a pattern, adapt it, publish the improvement back. Measurement matters just as much, through a published reuse index showing components adopted, duplicated efforts retired and patching effort shared.

The next concrete step

The immediate step is narrow and dated: a two-day technical working group in Canberra, hosted by the Digital Transformation Agency together with ICTD-ASP, bringing together maintainers from Service NSW, a Queensland digital service, two Pacific administrations and members of the Australian Signals Directorate's CERT community.

Its single deliverable is an agreed licence position and a published catalogue schema covering maturity labels, ownership and maintenance windows, ready for the first three components to be deposited.