add agent api to case.jade