Agent diagram