Police received word of a fight in progress in the first block of Burr Avenue, near Argonaut Avenue, at 1:12 p.m., police spokesman Officer Albie Esparza said.
A minute later, dispatchers began getting reports that two people had been shot, he said.
The suspects, two males wearing hoodies, ran from the scene, Esparza said.
Emergency responders performed CPR on at least one of the victims, and both have been transported to San Francisco General Hospital, he said.
A large "hostile crowd" gathered in the street after the shooting, but Esparza said around 1:30 p.m. that it appeared things had calmed down.
Police Lt. Joseph Engler said both of the victims were male and that police are still looking for the suspects.
A pool of blood could be seen in the middle of Burr Avenue.
A resident of Argonaut Avenue said she was at home when she heard a commotion. She went to the window and saw people yelling at each other. A short time later, she heard two to three shots, then saw two people on the ground bleeding.
"We were so scared," she said.
The crime scene was cordoned off with police tape this afternoon as police investigated the shooting.