Outside window ledge. Shade.
I think this may be brown marmorated stink bug, Halyomorpha halys. Seems to be eating seeds. The plant it is on looked like a grass to me, perhaps foxtail.
Halyomorpha halys, also known as the brown marmorated stink bug (BMSB), or simply the stink bug, is an insect in the family Pentatomidae, and it is native to China, Korea, Japan and Taiwan. It was accidentally introduced into the United States, with the first specimen being collected in September 1998. The brown marmorated stink bug is considered to be an agricultural pest, and by 2010-11 had become a season-long pest in U.S. orchards.