If it is an agent, then it needs Java, slave.jar, and command line git.
When you install command line git, you can make your life much simpler if you specifically uncheck the git credentials manager for Windows. Git credentials manager for Windows is focused on improving the experience for git users on a Windows desktop. It is distracting on and disruptive on a Jenkins agent.
If you're building components which require Visual Studio, then you'll need to install Visual Studio.
If you're building other components (npm based, or maven based, or ...) you may need to install those tools, either with the help of Jenkins, or as independent tools on the agent.
Mark Waite