bayes agent and pics