add agent code