Exhibit 23.1

CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM

We have issued our report dated March 15, 2024 with respect to the consolidated financial statements of BigBear.ai Holdings, Inc. included in the Annual Report on Form 10-K for the year ended December 31, 2023, which is incorporated by reference in the Registration Statement and Preliminary Prospectus. We consent to the incorporation by reference of said report in the Registration Statement and Preliminary Prospectus, and to the use of our name as it appears under the caption “Experts”.

/s/ GRANT THORNTON LLP

Arlington, Virginia

May 10, 2024