AI-based autonomous security system that takes complete responsibility for defending a set of software services. AI will automatically develop firewall rules to stop attack traffic, analyzing programs to find bugs before an attacker, and patching vulnerabilities in compiled programs without any access to source code. Software defenses that might take human analysts' hours, days, or weeks to develop and test will be all deployed at machine speeds, on the order of tens of seconds, with no humans in the loop.