made AgentClient public.  oops.