You can use the C++11 member deletion to make the compiler generate slightly more pertinent error messages:

    AgentRegistry() = delete;

That can also go into the public section.