Split AgentLoader from Client