Agent library dealing with local conditions.