StackMap
Subscribe
Explore / Search-R1
PeterGriffinJin

Search-R1

RL framework for training reasoning-and-search interleaved LLMs — the open recipe behind DeepSeek-R1-style search agents: PPO/GRPO on veRL, any search backend, models and data on HF. Two papers.

5,278 477 Python Apache-2.0updated 8 months ago
View on GitHubDispute this mapping →
Curator's take

The reference open recipe for teaching a model WHEN to search, not just how to prompt it — full experiment logs on W&B, models and data released, and Tinker featured it. If you're building deep-research agents by training rather than orchestration, start here. When NOT: this is research infrastructure — GPUs, veRL, retrieval corpora — not something you bolt onto an app; for prompt-time search agents an orchestration framework is the cheaper 95%.

Mapped by ShipWithAI editors · links verified
README.md

Search-R1: Train your LLMs to reason and call a search engine with reinforcement learning

logo

Button1 Button2 Button3 Button4 Button5

Search-R1 is a reinforcement learning framework designed for training reasoning-and-searching interleaved LLMs—language models that learn to reason and make tool calls (e.g., to search engines) in a coordinated manner.

Built upon veRL, Search-R1 extends the ideas of DeepSeek-R1(-Zero) by incorporating interleaved search engine access and provides a fully open-source RL training pipeline. It serves as an alternative and open solution to OpenAI DeepResearch, enabling research and development in tool-augmented LLM reasoning.

We support different RL methods (e.g., PPO, GRPO, reinforce), different LLMs (e.g., llama3, Qwen2.5, etc) and different search engines (e.g., local sparse/dense retrievers and online search engines).

Paper: link1, link2; Model and data: link; Twitter thread: link; Full experiment log: prelim; v0.1; v0.2; v0.3. Details about these logs and methods can be find here.

single-turn

News

Continue your stack

What teams reach for next — and why each earns a place beside Search-R1. Ranked by curator confidence.