add agent to conf

add agent to conf