These two flies are sharing a meal.
I can easily identify the larger one as a micropezid.
I’m not sure about the smaller one though.
Here’s another micropezid, waving its front legs like they are apt to do.
This one looks a lot like the one I found ovipositing.
While recently reviewing my shots of this fly in the family Micropezidae, I was surprised to find that I unknowingly got a shot of her laying an egg. Here’s another shot for comparison, where she has concealed her ovipositor beneath her abdomen.
Here’s a crop from the first photo, showing the ovipositor and the egg.
Everything I’ve read indicates that most larvae develop in decomposing matter, so it seems strange she would be placing an egg on a leaf surface. Perhaps this is just a method of random distribution, and the egg just falls where it may on the ground below.
I saw lots of micropezids, also called stilt-legged flies, during my stay. They are fairly easy to recognize with their long legs and curious behavior. I usually see them on leaf surfaces like this, walking around and waving their forelegs in front of them like antennae. This behavior combined with their overall form gives them the appearance of an ant or a wasp perhaps.