The GDELT Project

Loading The Entire 3,100-Page National Defense Authorization Act (NDAA) Into Gemini Pro 3 At Once

Last week we demonstrated using Gemini 3 Pro to turn the entire 3,100-page FY2026 National Defense Authorization Act (NDAA) into a single infographic. The immense size of the NDAA required us to break it into 8 equal chunks to fit into Gemini 3 Pro's million token window. Upon further experimentation, we discovered that by converting the PDF of the bill into text, removing line numbers, dehyphenating the text and performing other cleaning tasks, we were able to eventually fit the entire 511,792-word bill into just 818,946 tokens, allowing Gemini 3 Pro to examine the entire bill as a single document, opening the door to everything from visualization to legislation tabulation to interactive Q&A. Below we demonstrate converting the entire bill into a single infographic (this time directly from the original bill, rather than creating 8 component infographics and merging together), creating topic-specific infographics, asking for a thematic breakdown, topical summaries on drones, China, AI and cyber, having it make a table of the existing and proposed legislation cited for key topics and even asking it to come up with a list of 10 likely questions a member of congress might ask their staffer about key sections. All from a single Gemini 3 Pro session reading through the entire 3,100-page NDAA at once. The ability of the world's most advanced AI model to deeply reason through the entire NDAA all at once in a single session is nothing short of extraordinary.

Let's start by making a single infographic representing the entire NDAA. Unlike last time, where we broke it into 8 chunks, made infographics for each and then blended the eight infographics, here we will ask Gemini 3 Pro to make a single infographic all at once over the entire legislation:

Create a prompt for a large illustrated explainer poster designed to be printed on a large-format poster printer and hung up on the wall that narrates the report below as a single large poster that can be printed and hung on a wall that outlines all of the major themes and trends and findings. Focus on the combined story of the report. The poster should be entirely in English.

Let's ask for more detail:

Make the poster way more detailed. Structure entire bill as an overarching narrative and visualize each of the key details in the poster.

Now let's focus on China:

Create a prompt for a large illustrated explainer poster designed to be printed on a large-format poster printer and hung up on the wall that narrates the report below as a single large poster that can be printed and hung on a wall that outlines all of the major themes and trends and findings. Focus on the combined story of the report. Make it very detailed and structure it as an overarching narrative and visualize each of the key details in the poster. Focus only on the China-related parts of the report.

And drones:

Create a prompt for a large illustrated explainer poster designed to be printed on a large-format poster printer and hung up on the wall that narrates the report below as a single large poster that can be printed and hung on a wall that outlines all of the major themes and trends and findings. Focus on the combined story of the report. Make it very detailed and structure it as an overarching narrative and visualize each of the key details in the poster. Focus only on the drone-related parts of the report.

Supply chains:

Create a prompt for a large illustrated explainer poster designed to be printed on a large-format poster printer and hung up on the wall that narrates the report below as a single large poster that can be printed and hung on a wall that outlines all of the major themes and trends and findings. Focus on the combined story of the report. Make it very detailed and structure it as an overarching narrative and visualize each of the key details in the poster. Focus only on the supply chain-related parts of the report.

Cyber:

Create a prompt for a large illustrated explainer poster designed to be printed on a large-format poster printer and hung up on the wall that narrates the report below as a single large poster that can be printed and hung on a wall that outlines all of the major themes and trends and findings. Focus on the combined story of the report. Make it very detailed and structure it as an overarching narrative and visualize each of the key details in the poster. Focus only on the supply cyber-related parts of the report.

Nuclear:

Create a prompt for a large illustrated explainer poster designed to be printed on a large-format poster printer and hung up on the wall that narrates the report below as a single large poster that can be printed and hung on a wall that outlines all of the major themes and trends and findings. Focus on the combined story of the report. Make it very detailed and structure it as an overarching narrative and visualize each of the key details in the poster. Focus only on the supply nuclear-related parts of the report.

What are the major themes of the report?

Make a bulleted list of the top overarching themes of the report. For each theme give a short one-paragraph description of the report's details about that theme. Try to structure the report into its top-level overarching themes.

Here are the top overarching themes of the National Defense Authorization Act for Fiscal Year 2026 (S. 2296), detailed based on the provided text.

How about a deep-dive on drones?

Tell me in detail what the report says about drones. Give me a one-page detailed report on it.

REPORT: UNMANNED SYSTEMS (UAS) & COUNTER-UAS PROVISIONS IN S. 2296
Subject: Analysis of Drone Policy, Procurement, and Industrial Base in FY2026 NDAA
Source: National Defense Authorization Act for Fiscal Year 2026

Executive Summary
The FY2026 NDAA signals a decisive shift from "just-in-time" acquisition to mass domestic production of unmanned systems. The legislation prioritizes decoupling the small UAS (sUAS) supply chain from China, integrating drones into logistics and strategic deterrence missions, and centralizing the oversight of Counter-UAS (C-UAS) capabilities.

1. Industrial Base & Manufacturing: The "SkyFoundry" Initiative
The bill explicitly identifies a lack of domestic capacity for small drones. To remedy this, Section 882 establishes the "SkyFoundry Program."

2. Operational Integration & New Mission Sets
The bill expands the use of uncrewed systems beyond surveillance into logistics and strategic operations:

3. Counter-UAS (C-UAS) & Defense
Recognizing the drone threat to U.S. forces, the bill reorganizes how the DoD buys and manages defensive systems:

4. Geopolitics & Personnel

5. Coast Guard & Maritime Systems (Division H)

Let's get a legislative readout on drones:

What legislation does the report reference with respect to drones? Give me a table of the specific bills and a brief description of how each is used in the NDAA.

Based on the text of S. 2296, the following table lists the specific legislation referenced regarding unmanned systems (drones), including definitions, authorities, and modifications to existing laws.

Legislation Referenced Section in S. 2296 Description of Usage in the Report
FAA Modernization and Reform Act of 2012 (Public Law 112–95) Sec. 5737 (Title XXXI) The report uses Section 331 of this Act to define "unmanned aircraft" and "unmanned aircraft system" for the purpose of new authorities granting the Secretary of Energy power to detect and disrupt drones threatening nuclear facilities.
Title 49, United States Code (Section 44801) Sec. 842, 5237, & 503 This statute is cited multiple times to establish the legal definition of "small unmanned aircraft" and "counter-UAS system" for the SkyFoundry industrial base program, Coast Guard uncrewed systems, and border threat assessments.
William M. (Mac) Thornberry NDAA for Fiscal Year 2021 (Public Law 116–283) Sec. 124 The report explicitly repeals Section 122 of this Act, which had previously placed limitations on the Navy's ability to procure medium and large unmanned surface vessels (MUSV/LUSV).
CENOTE Act of 2018 (Commercial Engagement Through Ocean Technology Act) Sec. 5237 (Division H) The report references Section 2 of this Act to define "unmanned maritime systems" for the Coast Guard, specifically to carve out exceptions for "small uncrewed maritime systems" used for oceanographic research.
Defense Production Act of 1950 Sec. 882 The report authorizes the President (delegated to the Secretary of Defense) to use Title III authorities from this Act to support the domestic industrial base capacity for small unmanned aircraft systems under the new SkyFoundry Program.
National Defense Authorization Act for Fiscal Year 2020 Sec. 1256 The report amends Section 1278 of this Act to extend the authority for the United States and Israel to cooperate specifically on countering unmanned aerial systems through 2028.
National Defense Authorization Act for Fiscal Year 2025 (Public Law 118–159) Sec. 912 The report amends Section 113 and Section 353 of this prior NDAA to reflect the transfer of responsibility for Counter-Small UAS (C-sUAS) and the C-UAS threat library from the Army to the Under Secretary of Defense for Acquisition and Sustainment.
Title 10, United States Code (Section 130i) Sec. 350 & 1560 The report amends this statute to expand the Department of Defense's authority to protect facilities and assets from unmanned aircraft, extending the authority through 2027 and broadening the scope of protected assets.

How about AI?

Tell me in detail what the report says about AI. Give me a one-page detailed report on it.

REPORT: ARTIFICIAL INTELLIGENCE (AI) PROVISIONS IN S. 2296
Subject: Strategy, Security, and Procurement of AI in the FY2026 NDAA
Source: National Defense Authorization Act for Fiscal Year 2026

Executive Summary
The FY2026 NDAA aggressively pivots the Department of Defense (DoD) from theoretical AI exploration to operational implementation and defensive hardening. The bill establishes high-level governance for Artificial General Intelligence (AGI), mandates the creation of digital testing infrastructures ("sandboxes"), explicitly bans specific Chinese AI models from DoD networks, and codified export controls on advanced AI hardware.

1. Strategic Governance: Preparing for AGI
Recognizing the rapid evolution of frontier models, Section 1626 establishes the Artificial General Intelligence (AGI) Steering Committee.

2. Prohibitions & Security: The "DeepSeek" Ban
The bill treats AI models as potential vectors for espionage and sabotage.

3. Infrastructure: Sandboxes and Data Ontology
To move AI from the lab to the field, the bill mandates the construction of digital foundations:

4. Operational Integration: Logistics & Defense

5. Export Controls: The "GAIN AI Act"
Subtitle H (Sec. 6081) incorporates the "Guaranteeing Access and Innovation for National Artificial Intelligence Act of 2025."

And our legislative readout:

What legislation does the report reference with respect to AI? Give me a table of the specific bills and a brief description of how each is used in the NDAA.

Based on the text of S. 2296, the following table lists the specific legislation referenced regarding Artificial Intelligence (AI), covering definitions, export controls, and organizational structures.

Legislation Referenced Section in S. 2296 Description of Usage in the Report
John S. McCain National Defense Authorization Act for Fiscal Year 2019 (Public Law 115–232) Sec. 1622, 1623, 1627, & 1628 The report repeatedly cites Section 238(g) of this Act to establish the legal definition of "artificial intelligence" and its associated systems/techniques. This definition is used to scope the Digital Sandboxes, the AI Model Assessment Cross-Functional Team, and the specific bans on Chinese AI models.
National Artificial Intelligence Initiative Act of 2020 (15 U.S.C. 9401) Sec. 1628 The report uses Section 5002 of this Act to provide the primary statutory definition of "artificial intelligence" for the purpose of the prohibition on using AI developed by foreign adversary entities (such as DeepSeek).
Export Control Reform Act of 2018 (50 U.S.C. 4811 et seq.) Sec. 6083 (Subtitle H) Under the "GAIN AI Act," the report amends Part I of this Act to insert new controls. It creates a requirement to deny export licenses for advanced integrated circuits (AI chips) to countries of concern and mandates a "right of first refusal" for U.S. buyers.
National Defense Authorization Act for Fiscal Year 2017 (Public Law 114–328) Sec. 1623 The report utilizes Section 911 of this Act as the statutory authority to establish a new "Cross-Functional Team" led by the Chief Digital and Artificial Intelligence Officer (CDAO) to oversee AI model assessment and governance.
Atomic Energy Defense Act (50 U.S.C. 2791 et seq.) Sec. 3118 The report amends Subtitle B of Title XLVIII of this Act to restrict the National Nuclear Security Administration (NNSA). It mandates that funds for AI research be used only to support nuclear security missions, explicitly prohibiting the establishment of a broader "enduring" AI program within the NNSA.
Research and Development, Competition, and Innovation Act (Public Law 117–167) Sec. 1272 Also known as the CHIPS and Science Act, the report cites Section 10612(a) of this legislation to define "foreign country of concern" when assessing counterintelligence risks and adversarial cooperation in technology sectors.
Internet of Things Cybersecurity Improvement Act of 2020 (15 U.S.C. 278g–3a) Sec. 1613 The report uses Section 3 of this Act to define "operational technology" for the purpose of a feasibility study on establishing a Center of Excellence for Operational Technology Cybersecurity Training.

How about preemptively guessing what a member of congress might ask about the report?

You are a staffer to a senior member of congress. Make a bulleted list of 10 likely questions your member might ask you about this report's contents and give me a one paragraph answer to each that cites its sources in the report.

Here are ten questions a senior Member of Congress might ask regarding the National Defense Authorization Act for Fiscal Year 2026 (S. 2296), along with detailed answers citing specific sections of the text.

How about a set of targeted questions about China?

You are a staffer to a senior member of congress. Make a bulleted list of 10 likely questions your member might ask you about this report's contents that relate to China and give me a one paragraph answer to each that cites its sources in the report.

And AI and cyber?

You are a staffer to a senior member of congress. Make a bulleted list of 10 likely questions your member might ask you about this report's contents that relate to AI and cyber and give me a one paragraph answer to each that cites its sources in the report.

And finally drones?

You are a staffer to a senior member of congress. Make a bulleted list of 10 likely questions your member might ask you about this report's contents that relate to drones and give me a one paragraph answer to each that cites its sources in the report.

TECHNICAL DETAILS

For those who want to replicate this workflow, you can use the code below:

#download the PDF
wget https://www.congress.gov/119/bills/s2296/BILLS-119s2296es.pdf
#convert to text, but maintain the visual layout
time pdftotext -layout BILLS-119s2296es.pdf BILLS-119s2296es.layout.txt
#clean
time perl -0777 -pe 's/^\s*\d+\s+//gm; s/-\n\s*//g; s/\n/ /g; s/\s+/ /g' BILLS-119s2296es.layout.txt > BILLS-119s2296es.layout.clean.txt

Gemini 3 Pro actually wrote that code from the following prompt:

i have the text of a congressional bill in PDF format that looks like the below. i want to remove the line numbers and reflow the text, including connecting hypenated words. give me linux one-liners to do that:

1       Force submits the matrices required by subsection
2       (a), concurrent with the submittal of each annual
3       budget request to Congress under section 1105 of
4       title 31, United States Code, thereafter, and not
5       later than 180 days after each such submittal, the
6       Secretary of the Air Force shall submit to the con-
7       gressional defense committees and the Comptroller
8       General updates to the matrices described in sub-
9       section (b).
10              (2) ELEMENTS.—Each update submitted under
11       paragraph (1) shall detail progress made toward the
12       goals identified in the matrix described in subsection
13       (b)(1) and provide updated cost estimates.
14       (d) ASSESSMENT BY COMPTROLLER GENERAL OF
15   THE UNITED STATES.—Not less frequently than annually,
16 the Comptroller General shall—
17              (1) review the sufficiency of each matrix re-
18       ceived under this section; and
19              (2) submit to the congressional defense commit-
20       tees an assessment of such matrix, including by
21       identifying cost, schedule, or performance trends.
22       (e) REPEAL.—Section 238 of the National Defense
23 Authorization Act for Fiscal Year 2017 (Public Law 114–
24 328; 130 Stat. 2067) is repealed.