Move AgentRegistry to public API.