remove type from Agent

still struggling with type system