A fully Lagrangian, non-parametric bias model for dark-matter halos