Skip to main content

futuresearch-btf

Run and score a forecasting agent on BTF-3 open offline. BTF-3 open is the open subset of Bench to the Future 3. Its questions have already resolved. Your agent researches each one using only web pages captured before the question was asked, so you can score its forecasts straight away instead of waiting months for the outcome.

futuresearch-btf gives your agent BM25 search and paged reading over those pages. It also has an MCP server, a reference agent and a scorer. It never touches the live web.

The data is on Hugging Face: the questions in futuresearch-ai/BTF-3-open and the pages in futuresearch-ai/BTF-3-open-corpus.

Install

pip install "futuresearch-btf[agent]"

You need Python 3.11 or newer. The agent extra adds the reference agent (through LiteLLM) and the MCP server. Use futuresearch-btf[mcp] if you only want the MCP server, or plain futuresearch-btf for search and scoring.

Download the data

Accept the access form on both dataset pages first, then:

pip install -U huggingface_hub
hf auth login
hf download futuresearch-ai/BTF-3-open --repo-type dataset --local-dir btf3open
hf download futuresearch-ai/BTF-3-open-corpus --repo-type dataset --local-dir btf3open/corpus

The download is about 8 GB. The first search builds an index of about 5 GB in a .btf_index folder inside the download folder, which takes about five minutes. Later searches take about a second.

Run a model

# list the questions, and search the pages one question was allowed to see
python -m futuresearch_btf questions --data btf3open | head
python -m futuresearch_btf search --data btf3open --question-id <question_id> "your query"

# run the reference agent on two questions and score it
export ANTHROPIC_API_KEY=...
python -m futuresearch_btf run --data btf3open --model anthropic/claude-sonnet-5 --question-ids <id1> <id2> --out runs/sonnet.jsonl
python -m futuresearch_btf score --data btf3open --runs runs/sonnet.jsonl

# the same questions with no research, as a baseline
python -m futuresearch_btf run --data btf3open --model anthropic/claude-sonnet-5 --closed-book --question-ids <id1> <id2> --out runs/sonnet-closed.jsonl

--model takes any LiteLLM model string, such as openai/gpt-6-astra with OPENAI_API_KEY set. Drop --question-ids to run every question. A rerun with the same --out skips the questions already done.

Each forecast is a probability that the question resolves YES, scored by its Brier score. Lower is better, and forecasting 50% on everything scores 0.25. A research run costs from a few cents to a few dollars a question, depending on the model, so try a few questions before running them all.

Use your own agent

  • python -m futuresearch_btf serve --data btf3open --question-id <id> --out forecast.json starts an MCP server for one question, with the tools get_question, search, read_page and submit_forecast.
  • python -m futuresearch_btf serve-http --data btf3open serves every question over HTTP.
  • examples/ has harnesses for the OpenAI and Anthropic SDKs.

INTEGRATING.md says what to show the model, what to send back, how forecasts are scored and what to report with a result.

Licence

The code is under Apache-2.0 (LICENSE-code.txt). The questions and the pages have their own licences, given on each dataset's page. CHANGELOG.md lists what changed between versions.

Metadata

Release files for futuresearch-btf 0.5.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for futuresearch-btf 0.5.4
File Size Uploaded Provenance Actions
futuresearch_btf-0.5.4.tar.gz 41.6 kB With provenance Details for futuresearch_btf-0.5.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for futuresearch-btf 0.5.4
File Interpreter ABI Platform Actions
futuresearch_btf-0.5.4-py3-none-any.whl Python 3 none any Details for futuresearch_btf-0.5.4-py3-none-any.whl

Total release size: 86.5 kB

Release files / futuresearch_btf-0.5.4.tar.gz

Download URL futuresearch_btf-0.5.4.tar.gz
Size 41.6 kB
Tags Source
SHA-256 checksum
How to use checksums
a0515f69c3a0edd0add32857e62853457bb55571a97c2a560d8ce49aa644dccd
BLAKE2b-256 checksum
How to use checksums
54c181ab1d68337c9d9e6a40baecbfbb46b9d40602f02d2a1d1f498939f9b85b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.

Transparency log

Release files / futuresearch_btf-0.5.4-py3-none-any.whl

Download URL futuresearch_btf-0.5.4-py3-none-any.whl
Size 45.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
058b588236f333798d968613c024a38879fef7e10e3d33979d6df45f748b5018
BLAKE2b-256 checksum
How to use checksums
d8a05fb1c35407f9e1636227b25480fcb182593f085d8435f8b3229c09c5c2a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.

Transparency log

Security for futuresearch-btf 0.5.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for futuresearch_btf-0.5.4.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.5.4 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page