US hopeful for Afghan, Pakistan side agreement