Outside the Golden Gate, you often can see the pilot boat (purple) waiting for ships coming in and briefly converging with each ship to transfer the pilot.
Starting in 2002, all new commercial ships over 300 gross tons, and all new passenger vessels, are required to include AIS transponders. The requirement for existing ships has been gradually phased in.