Skip to content

feat: add SearxNG and self-hosted Firecrawl support - #2306

Open
Jeffine322 wants to merge 1 commit into
SciPhi-AI:mainfrom
Jeffine322:feat/searxng-firecrawl
Open

Jeffine322 wants to merge 1 commit into
SciPhi-AI:mainfrom
Jeffine322:feat/searxng-firecrawl

Conversation

@Jeffine322

Copy link
Copy Markdown

Summary

Add support for self-hosted SearxNG and Firecrawl instances to address the feature request for running R2R without external cloud dependencies.

Changes

  • Add SearxNGClient (core/utils/searxng.py) with search, extract, health check
  • Add FirecrawlClient (core/utils/firecrawl.py) supporting cloud and self-hosted
  • Add SearxNGSearchTool for web search via self-hosted SearxNG
  • Add SearxNGExtractTool for URL content extraction via SearxNG
  • Update WebScrapeTool to support self-hosted Firecrawl via env vars
  • Add searxng.toml config preset

Environment Variables

  • SEARXNG_BASE_URL: SearxNG instance URL
  • FIRECRAWL_API_URL: Self-hosted Firecrawl URL (optional)
  • FIRECRAWL_API_KEY: Firecrawl API key

Testing

Tested locally with self-hosted SearxNG and Firecrawl instances.

Closes #2242

Add support for self-hosted SearxNG and Firecrawl instances to address the feature request for running R2R without external cloud dependencies.

Changes:
- Add SearxNGClient (core/utils/searxng.py) with search, extract, health check
- Add FirecrawlClient (core/utils/firecrawl.py) supporting cloud and self-hosted
- Add SearxNGSearchTool for web search via self-hosted SearxNG
- Add SearxNGExtractTool for URL content extraction via SearxNG
- Update WebScrapeTool to support self-hosted Firecrawl via env vars
- Add searxng.toml config preset
- Update README.md with environment variables documentation

Environment variables:
- SEARXNG_BASE_URL: SearxNG instance URL
- FIRECRAWL_API_URL: Self-hosted Firecrawl URL (optional)
- FIRECRAWL_API_KEY: Firecrawl API key

Closes SciPhi-AI#2242
@Jeffine322
Jeffine322 force-pushed the feat/searxng-firecrawl branch from 3cf2baf to f20072f Compare August 18, 2026 08:59
@Jeffine322

Copy link
Copy Markdown
Author

Hi @NolanTrem,

I hope this message finds you well. I wanted to gently follow up on this pull request (#2306) which addresses the feature request in #2242 for adding SearxNG and self-hosted Firecrawl support.

The implementation includes:

  • New SearxNG and Firecrawl clients with full search/extract capabilities
  • Updated web scraping tool to support self-hosted instances
  • Environment variable configuration for easy setup
  • Updated README documentation

I've tested the changes locally and everything appears to be working correctly. Please let me know if there are any adjustments needed or if you'd like me to make any changes before merging.

Thank you for your time and review!

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FEATURE REQUEST: Add support for SearxNG and self hosted firecrawl

1 participant