Five-layer reference architecture for deploying and managing AI agents in customer-owned environments