LIVE

US Internal Revenue Service Releases Open-Source Code for Direct File Tax System

⚖️ Regulation & Policy 2 min read 👁 9

The US government has published the source code repository for its Direct File electronic tax return service, offering public insight into the platform's logic and architecture.

US Internal Revenue Service Releases Open-Source Code for Direct File Tax System⚖️Regulation & Policy

Photo: Hacker News Front Page

Key points

  • IRS opens source repository for the Direct File electronic tax return platform.
  • System features a Scala-based Fact Graph designed to reason about incomplete tax data.
  • Repository is archived for historical reference and excludes sensitive personal or tax information.

The United States Internal Revenue Service has made the codebase for its Direct File platform available to the public. The interview-based service was originally built to let taxpayers submit federal returns directly to the agency via mobile devices or computers, supporting both English and Spanish languages.

Developed by an in-house team of government technologists alongside the United States Digital Service, the General Services Administration, and various vendor teams including TrussWorks, Coforma, and ATI, the platform translates complex federal tax code into plain language questions. The released repository includes logic, test cases, and the Fact Graph—a Scala-based knowledge graph designed to handle incomplete information on partial tax returns.

While the repository has been archived for historical reference and is no longer actively maintained, the release provides a transparent look at how the government handled digital tax administration. The source code excludes sensitive data such as Personally Identifiable Information and Federal Tax Information, and officials advise that the code should not be deployed in production environments.

What to watch next: Monitor whether developers and local tax authorities adapt components of the Fact Graph or the state API integration for other civic tech initiatives.

Source Hacker News Front Page — github.com/IRS-Public/direct-file ↗

Contact the newsroom

Got a tip, a proposal or a partnership question? Write to us and we will reply shortly.