Basic server-side agent handling