R2r

Latest version: v3.5.9

Safety actively analyzes 723177 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 12

3.5.1

What's Changed
* Fix: Convert the selected collection id to UUID type. by MORIMOTO520212 in https://github.com/SciPhi-AI/R2R/pull/2048
* compose.yaml R2R service image name fix by SuperPauly in https://github.com/SciPhi-AI/R2R/pull/2050
* Remove Posthog, disable rate limit test by NolanTrem in https://github.com/SciPhi-AI/R2R/pull/2052
* Temp fix: Anthropic VLM by NolanTrem in https://github.com/SciPhi-AI/R2R/pull/2053

New Contributors
* MORIMOTO520212 made their first contribution in https://github.com/SciPhi-AI/R2R/pull/2048
* SuperPauly made their first contribution in https://github.com/SciPhi-AI/R2R/pull/2050

**Full Changelog**: https://github.com/SciPhi-AI/R2R/compare/v3.5.0...v3.4.1

3.5.0

We're excited to announce R2R v3.5.0, featuring our new Deep Research API and significant improvements to our RAG capabilities.
🚀 Highlights
* Deep Research API: Multi-step reasoning system that fetches data from your knowledge base and the internet to deliver comprehensive, context-aware answers
* Enhanced RAG Agent: More robust with new web search and scraping capabilities
* Real-time Streaming: Server-side event streaming for visibility into the agent's thinking process and tool usage
✨ Key Features
Research Capabilities
* Research Agent: Specialized mode with advanced reasoning and computational tools
* Extended Thinking: Toggle reasoning capabilities with optimized Claude model support
* Improved Citations: Real-time citation identification with precise source attribution
New Tools
* Web Tools: Search external APIs and scrape web pages for up-to-date information
* Research Tools: Reasoning, critique, and Python execution for complex analysis
* RAG Tool: Leverage underlying RAG capabilities within the research agent
💡 Usage Examples
Basic RAG Mode
python
response = client.retrieval.agent(
query="What does deepseek r1 imply for the future of AI?",
generation_config={
"model": "anthropic/claude-3-7-sonnet-20250219",
"extended_thinking": True,
"thinking_budget": 4096,
"temperature": 1,
"max_tokens_to_sample": 16000,
"stream": True
},
rag_tools=["search_file_descriptions", "search_file_knowledge", "get_file_content", "web_search", "web_scrape"],
mode="rag"
)

Process the streaming events
for event in response:
if isinstance(event, ThinkingEvent):
print(f"🧠 Thinking: {event.data.delta.content[0].payload.value}")
elif isinstance(event, ToolCallEvent):
print(f"🔧 Tool call: {event.data.name}({event.data.arguments})")
elif isinstance(event, ToolResultEvent):
print(f"📊 Tool result: {event.data.content[:60]}...")
elif isinstance(event, CitationEvent):
print(f"📑 Citation: {event.data}")
elif isinstance(event, MessageEvent):
print(f"💬 Message: {event.data.delta.content[0].payload.value}")
elif isinstance(event, FinalAnswerEvent):
print(f"✅ Final answer: {event.data.generated_answer[:100]}...")
print(f" Citations: {len(event.data.citations)} sources referenced")

Research Mode

python
response = client.retrieval.agent(
query="Analyze the philosophical implications of DeepSeek R1",
generation_config={
"model": "anthropic/claude-3-opus-20240229",
"extended_thinking": True,
"thinking_budget": 8192,
"temperature": 0.2,
"max_tokens_to_sample": 32000,
"stream": True
},
research_tools=["rag", "reasoning", "critique", "python_executor"],
mode="research"
)


For more details, visit our [documentation site](https://r2r-docs.sciphi.ai/).

3.4.6

What's Changed
* feat: update fastapi by christophwitzko in https://github.com/SciPhi-AI/R2R/pull/2039
* fix: use pg_largeobject_metadata table to verify if file exists by christophwitzko in https://github.com/SciPhi-AI/R2R/pull/2038
* Email provider mailersend by logerzerox in https://github.com/SciPhi-AI/R2R/pull/2042
* Fix Boolean Options in JS SDK by NolanTrem in https://github.com/SciPhi-AI/R2R/pull/2043
* Check raw file size, not the size of base64 encoded content by NolanTrem in https://github.com/SciPhi-AI/R2R/pull/2044

New Contributors
* christophwitzko made their first contribution in https://github.com/SciPhi-AI/R2R/pull/2039

**Full Changelog**: https://github.com/SciPhi-AI/R2R/compare/v3.4.5...v3.4.6

3.4.5

Includes a number of bug fixes, including one that impacted Conda users' ability to properly load prompts via the `core` install path.

What's Changed
* Add new dashboard env vars by NolanTrem in https://github.com/SciPhi-AI/R2R/pull/2024
* Fix JS Message type by NolanTrem in https://github.com/SciPhi-AI/R2R/pull/2025
* Refactor custom config mounting for Docker by NolanTrem in https://github.com/SciPhi-AI/R2R/pull/2027
* Fix use_extended_prompt on sync client by NolanTrem in https://github.com/SciPhi-AI/R2R/pull/2031
* Remove websocket logs in favor of Victorialogs by NolanTrem in https://github.com/SciPhi-AI/R2R/pull/2032
* Fix NaN embedding model sizes and add Gemini tests by NolanTrem in https://github.com/SciPhi-AI/R2R/pull/2033
* Fix graph clustering to be remote only by NolanTrem in https://github.com/SciPhi-AI/R2R/pull/2034


**Full Changelog**: https://github.com/SciPhi-AI/R2R/compare/v3.4.4...v3.4.5

3.4.4

What's Changed
* Fix type errors on routers by NolanTrem in https://github.com/SciPhi-AI/R2R/pull/2005
* Fix type errors on base utils by NolanTrem in https://github.com/SciPhi-AI/R2R/pull/2006
* Fix type errors on completion providers by NolanTrem in https://github.com/SciPhi-AI/R2R/pull/2007
* Clean up service level types by NolanTrem in https://github.com/SciPhi-AI/R2R/pull/2008
* Fix errors in documents, files, prompts databases by NolanTrem in https://github.com/SciPhi-AI/R2R/pull/2009
* Fix remaining type errors by NolanTrem in https://github.com/SciPhi-AI/R2R/pull/2010
* read config file with encoding utf8 by zhengwj533 in https://github.com/SciPhi-AI/R2R/pull/2012
* Restructure Docker Folder by NolanTrem in https://github.com/SciPhi-AI/R2R/pull/2011
* Fix FastLLM bug, defaults by NolanTrem in https://github.com/SciPhi-AI/R2R/pull/2017
* Move dashboard to new image by NolanTrem in https://github.com/SciPhi-AI/R2R/pull/2021
* Allow overlap filters for collections in agent by NolanTrem in https://github.com/SciPhi-AI/R2R/pull/2022

New Contributors
* zhengwj533 made their first contribution in https://github.com/SciPhi-AI/R2R/pull/2012

**Full Changelog**: https://github.com/SciPhi-AI/R2R/compare/v3.4.3...v3.4.4

3.4.3

Fixes a bug that impacted local serve.

What's Changed
* chore: update r2r.toml by eltociear in https://github.com/SciPhi-AI/R2R/pull/1996
* Fix JS WrappedTokenResponse type by NolanTrem in https://github.com/SciPhi-AI/R2R/pull/1997
* Remove network from compose files by NolanTrem in https://github.com/SciPhi-AI/R2R/pull/1998
* Add logging observability by nickpetrovic in https://github.com/SciPhi-AI/R2R/pull/1999
* Remove 'R2R_PR2R_PROJECT_NAME' log by NolanTrem in https://github.com/SciPhi-AI/R2R/pull/2000
* Fix package data by NolanTrem in https://github.com/SciPhi-AI/R2R/pull/2004

New Contributors
* nickpetrovic made their first contribution in https://github.com/SciPhi-AI/R2R/pull/1999

**Full Changelog**: https://github.com/SciPhi-AI/R2R/compare/v3.4.2...v3.4.3

Page 2 of 12

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.