Narrative:

I was with a student pilot as we were taking off runway 19 and departing to the south. At approximately 500 ft. AGL and 1/2 mile south of the airport aircraft Y crossed our flight path at the same altitude. We had to nose down and make a right turn to avoid a collision.

Google
 

Original NASA ASRS Text

Title: Instructor pilot reported an NMAC event immediately after takeoff.

Narrative: I was with a student pilot as we were taking off Runway 19 and departing to the south. At approximately 500 ft. AGL and 1/2 mile south of the airport Aircraft Y crossed our flight path at the same altitude. We had to nose down and make a right turn to avoid a collision.

Data retrieved from NASA's ASRS site and automatically converted to unabbreviated mixed upper/lowercase text. This report is for informational purposes with no guarantee of accuracy. See NASA's ASRS site for official report.