Server side robots

I am trying to create a robot on the server that will look and act like a user. I am wondering what is the best way to go about it. I have a plugin. I tried creating a Component, but it looks like a foreign address to the server. I tried PacketInterceptor.addUserInterceptor, but it does not get called. I assume because there is no session with the user. Should I extend LocalClientSession? How would the experts do it?