It's built in [1]:
$ git bisect start <bad> <good>
$ git bisect run <script>
[1] http://www.kernel.org/pub/software/scm/git/docs/git-bisect.h...