Bangladesh and India yesterday agreed on a framework of a 15-year treaty for sharing the Teesta and the Feni rivers' water in dry season.