Achieving legal autonomy for AI agents through interoperable and explainable methods using large language models, expert systems, and Bayesian networks.