We consider a self-consistent system of Bianchi type-I (BI) gravitational fields and a binary mixture of a perfect fluid and dark energy. The perfect fluid is taken to be one obeying the usual equation of state, i.e., p = ζε, with ζ ∈ [0, 1], whereas the dark energy density is considered to be either quintessence or the Chaplygin gas. Exact solutions to the corresponding Einstein equations are obtained.