Wearing handcuffs in court, 36-year-old Tricia Caparra did not enter a plea at her arraignment but will do so on Oct. 18. Bail is set at $655,000.
The online records did not indicate whether she had an attorney, and an email to the district attorney's office was not immediately returned.
Santa Clara County officials say deputies arrested Caparra on Thursday.
In court Friday, a judge said she must turn over her passport because she is a flight risk.
The former counselor is accused of having sex with a 17-year-old and an 18-year-old while they were housed at the William F. James Boys Ranch in Morgan Hill.
Caparra is accused of engaging in sex acts with the younger teen at least three times on and away from the site. She also is accused of having sex with the 18-year-old, who was a ward of the court, at least 20 times.