Agent server interface and gevent server