those are still technically in the executive branch.
They're only called "independent" because (a) they don't report to a cabinet member, and (b) the president's power to dismiss the agency head is limited by congressional law.
There's a section titled "Agencies outside of executive branch".
There's also stuff like the Congressional Budget Office that are a) considered to be agencies in the broad (https://news.ycombinator.com/item?id=50731742) sense and b) squarely in the Legislative.
> It is therefore the policy of my Administration that, to the maximum extent permitted by law, the executive branch shall use the terms “Super Intelligence” and “SI” in place of “Artificial Intelligence” and “AI”
> A broader definition of the term "government agency" also means the United States federal executive departments that include the President's cabinet-level departments and their sub-units. Examples of these include the Department of Energy (DOE) and the Internal Revenue Service (IRS), which is a bureau of the Department of the Treasury.