BOSTON — The prosecution and the defense in the trial over the Boston Marathon bombings have agreed to an elaborate process by which a jury may be selected to hear the case against the defendant, Dzhokhar Tsarnaev.

The agreement calls for the court to issue 2,000 summonses to potential jurors late this month, six weeks before the trial, which is scheduled to begin on Nov. 3. Potential jurors would be given a questionnaire written jointly by the prosecution and the defense.

The agreement on jury selection comes as the defense is still seeking to have the trial moved outside Boston.

But the proposal for a jury pool of 2,000, to find 12 jurors and six alternates, indicates the magnitude of the task. It is similar to the procedure followed in seating a jury last year for the trial of James (Whitey) Bulger, Boston’s most notorious gangster.