 Retired US Air Force Major John Foster inherits the Foster School, an exclusive San Francisco school for girls. Foster is a bachelor who has only had social dealings with women. Ed Robbins, a former Air Force sergeant and friend helps Foster run the school while Miss Culver is the school principal who has many misunderstandings with the two men. In 1966, the format changed. The school became a base for Foster and Robbins as they played undercover agents for an unnamed U.S. government spy agency. Their missions were humorous rather than James Bondish.