[agent] CompilePackage class documentation