Perhaps he wasn't aware of you either in which case you should be grateful for not having a collision.
Without getting into an entire page explanation, he knew exactly I was there, and got in formation with me, not knowing who I was. I was at 3000' and he was at around 1000' when I first saw him. I witnessed him directly below me, following my path, aggressevilty pitch his Grumman Tiger up to gain altitude. The aircraft slowed down and seemed to get back into normal, level flight below me. He then pitched up yet again very aggressively and got closer to my altitude, however since I was in cruise, he ended up below and behind me. I turned 90deg away, to the north at this point(I was heading east). I then witnessed him turn in my direction, again still below and behind me. He again picked up forward speed while appearing level, then aggressively pitched up one last time, until he was at my altitude. I watched him come up from my 4-5 o'clock, following my path. I started a shallow turn to the left to get away from him, and he turned left towards me. He finally got off my right wing in a loose formation, and it def got the pax attention that were on board. At that point I pulled the power back in the skyhawk I was in and let him fly past me, and I turned due east again and passed well behind him. He knew exactly that I was there, and it was a very idiotic move. He's known as a cowboy and because of his actions, from that point on I always warned my solo students on exactly what to do should they enconter the same situation. I also told this pilot exactly that, that there are solo students in the practice area, and they are nervous enough and don't need pilots doing stupid things to them. And then to deny everything to my face after pulling him aside, really says something. So yeah, he knew I was there.
What does hotdogging it mean? If it means low level turns and maneuvers close to an airport then you should get used to it, that is essentially the modus operandi of all ag flying.
Or avoid all airfields where ag pilots operate out of...stay in class C I guess?
Steep banked turns, over an airport, and low at literally tree top levels, opposite the traffic pattern, with traffic in the pattern, at an untowered airport with heavy student activity in again, a Grumman Tiger, is what I would consider hotdoggin. He's not an ag pilot, he shouldn't be doing those kinds of things near an airport like that.