The Defense Department has completed agreements with eight technology companies, including many of the industry’s biggest, to use their artificial-intelligence capabilities in classified settings, boosting the Pentagon’s efforts to gain access to cutting-edge AI tools. The department said Friday it was now capable of using in classified settings the technology and models from ChatGPT maker OpenAI,…