Skip to content

About

Continues as JevGPT: github.com/sunyasheng/JevGPT (arXiv 2610.18272)

Topics

Resources

Contributing

Stars

8 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jev Deep Research

GPT drives the research. Jev finds evidence in parallel.

➡️ This project continues as JevGPT. The paper is JevGPT: Thinking Fast and Slow in Autonomous Research (arXiv 2610.18272). This repository is no longer maintained; use JevGPT for the code and the paper results.

Python License Offline demo

Quick start · Method · Results · Run BrowseComp-Plus · Docs

Jev Deep Research explores parallel evidence finding for research agents. GPT chooses what to investigate. Jev evaluates independent document regions concurrently, and code returns selected original passages for GPT to verify and use in the next research step.

Our BrowseComp-Plus experiments pair Pi-Serini's BM25 search with Jev batches of 20, 40, or 60 documents.

How it works

Animated Pi-Serini research step: GPT searches and selects a ranked batch; source documents are read sequentially; Jev judges document regions concurrently; code gathers original excerpts; GPT continues the research. Timing is schematic.

Search → select a batch → judge in parallel → gather evidence → continue. One jev_find tool call fans out into independent Jev requests, then gathers their results before GPT takes its next step.

  1. GPT searches. BM25 caches up to 1,000 ranked document IDs and initially shows five previews. GPT supplies a cached search_id, a rank interval, and up to six independent evidence questions.
  2. Code prepares the sources. It reads the selected documents sequentially and splits them into regions. Jev-20/40/60 sets both the document cap and the concurrent Jev request cap.
  3. Jev judges regions in parallel. Each request combines Choice (where is the evidence?) and Noul (does the region address the question?) for all supplied questions.
  4. Code returns original evidence. It merges selected line ranges and reads the passages, returning document IDs, line numbers, and verbatim text within a 20,000-character source budget. Omissions and failed scans are explicit.
  5. GPT continues the research. It verifies the evidence, chooses the next query or entity to investigate, or writes a cited answer.

The parallel work happens inside the evidence-finding call. Dependent research steps remain sequential. The animation shows representative request lanes and schematic timing. Static view · Parallel method and experiment details

Results

Pi-Serini + Jev · BrowseComp-Plus

GPT-5.5 high + Jev-1.13.0, BM25 retrieval, the same 20 questions, one attempt per question per variant. Each row retains all 20 questions, including failures and timeouts.

All values except correct counts are per-question means. GPT input is cumulative across calls and includes cached tokens; costs include GPT and Jev.

Method Correct GPT input tokens GPT turns Time (s) Total (USD)
Baseline 16/20 297,900 20.15 108.70 0.43996
Jev-20 18/20 245,806 16.80 100.39 0.42564
Jev-40 16/20 249,371 15.20 116.69 0.43916
Jev-60 19/20 228,067 14.45 90.53 0.41959
Context size and cost breakdown
Method Mean call context (tokens) GPT (USD) Jev (USD) Total (USD)
Baseline 11,134 0.43996 0.00000 0.43996
Jev-20 11,638 0.40229 0.02335 0.42564
Jev-40 13,078 0.38648 0.05267 0.43916
Jev-60 12,297 0.35895 0.06064 0.41959

Mean call context is averaged within each question, then across questions; all displayed rows have 20 valid questions for this metric. Costs use frozen token rates, exclude the offline judge and local compute, and are not account bills. Missing usage is not imputed. Components are independently rounded.

These are small development experiments, with candidate width and Jev concurrency changed together and no same-depth no-Jev batch control. They do not establish population-level accuracy guarantees or isolate Jev's contribution from the broader workflow changes. The Jev-60 row is the frozen v4 experiment. Full metrics, protocol, and limitations · Results JSON and source hashes

Quick start

For Pi-Serini + Jev, follow the Pi-Serini quickstart for the runtime and benchmark setup, then install our Jev extensions. The integration guide includes the pinned upstream version and launch settings for Jev-20, Jev-40, and Jev-60.

To run the fixed 20-question experiments and generate the result table, follow the reproduction commands.

For new Pi-Serini runs, the optional long-line splitter lets Jev inspect oversized source lines that the frozen reader skips. Returned evidence retains original line numbers and exact source offsets. The result table above remains tied to the frozen experiment entries.

Python offline demo

The Python package provides a separate QA reference implementation and offline demo.

From the repository root, with Python 3.10+:

python3 -m venv .venv
source .venv/bin/activate
python -m pip install -e .
jev-research demo

The demo runs the QA controller with three invented documents and scripted model responses. No API keys or model downloads are required. Follow the QA controller as it finds an architect, searches for a missing opening date, and returns a cited answer.

See the example answer
Which observatory was designed by Mira Chen and opened in 1999?

Explanation: Luma Observatory was designed by Mira Chen [obs-design]
and opened in 1999 [obs-opening].
Exact Answer: Luma Observatory
Confidence: 95%

The answer and judgments are supplied by the synthetic fixture. The demo exercises the released controller's state transitions; its answer and confidence are not benchmark measurements.

Use jev-research demo --json to inspect the decisions and state transitions. Walkthrough and input format →

Run BrowseComp-Plus

The Python runner requires Azure OpenAI with Entra authentication, a Typesafe API key for Jev, and a corpus search service. Follow the data and index setup guide first: this runner uses a Qwen3-Embedding-8B dense index.

cp .env.example .env
# Fill in your Azure deployment and Typesafe key.
az login

The CLI loads .env automatically; existing environment variables take precedence.

jev-research run browsecomp --config configs/browsecomp.json \
  --questions data/browsecomp/questions_only.jsonl \
  --ids splits/browsecomp/selection100.json \
  --searcher http://127.0.0.1:19310 --out runs/browsecomp

Add --dry-run to inspect a command without contacting services. Each run writes a configuration/source manifest, per-question records, a decision trace, and a model-call ledger. Profiles and overrides · Score a run

Use from Python

Configure and export your model environment variables before importing the live API. Direct Python use does not load .env automatically.

from jev_deepresearch import ResearchAgent, SearcherClient

searcher = SearcherClient("http://127.0.0.1:19310")
agent = ResearchAgent(searcher, model="gpt-5.5", effort="high",
                      max_rounds=4, beam_cap=3, max_seconds=1800)
result = agent.run("question-1", "Your research question")
print(result["answer_text"])

You can also connect your own corpus through the searcher interface. API, backend interface, and outputs →

Documentation and development

I want to… Start here
Run Pi-Serini with Jev-20/40/60 Jev extensions and launch commands
Explore the demo and input format Examples
Understand Jev-20/40/60 and parallel evidence finding Parallel research
Set up data, indexes, and models Reproduction guide
Interpret or reproduce a score Evaluation
Navigate the code and guides Documentation index
python -m unittest discover -s tests -v
python scripts/release.py check

Contributions are welcome: see CONTRIBUTING.md. The offline checks exercise the QA controller and verify that the evaluated policy body is preserved. Changelog · Source release guide

Citation and license

This work continues as JevGPT. Please cite the paper JevGPT: Thinking Fast and Slow in Autonomous Research; the BibTeX entry is in the JevGPT README.

Code is licensed under Apache-2.0. External datasets, models, and services retain their own terms. Third-party attribution is in THIRD_PARTY_NOTICES.md.

About

Continues as JevGPT: github.com/sunyasheng/JevGPT (arXiv 2610.18272)

Topics

Resources

Contributing

Stars

8 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages