Skip to content

agent-search

Self-hosted web search API for AI agents with no search API keys or per-query fees

Permissive (OSI) · MIT AI-native

Listed by , founder & editor

41

Health

Slowing

Overview

Stars

89

Last commit

19 days ago

Nov 2026

Repository age

9 months

since Feb 2026

Latest version

–

Contributors

–

2 active in 90 days

Releases

0

last 12 months

Language

Python

AgentSearch is a self-hosted search API for AI agents, built with Python and FastAPI on top of SearXNG. It returns deduplicated results from multiple engines through a single HTTP endpoint, so your agent does not need a third-party search key or pay per query.

Content extraction is layered, with isolated browser rendering for pages that need it. An optional Tor-anonymized stack is available. You can turn on local bearer-token authentication, which then applies to every endpoint except the health checks. Docker Compose is the main deployment path, and a native install needs Python 3.11 or newer and a SearXNG instance with JSON output enabled. The repository also contains an SDK and an MCP server.

It is MIT licensed and acts as a self-hosted equivalent to Tavily. It does not generate answers with citations, and it has no official LangChain or LlamaIndex integrations.

Who it's for

Developers building agents that need web search

One local endpoint replaces a paid search API and its per-query fees.

Skip if: You need generated answers with citations from the search service.

Teams with privacy constraints on outbound queries

You run the stack yourself and can route it through the optional Tor setup.

Skip if: You do not want to maintain SearXNG and Docker.

RAG builders using MCP tools

The repository ships an MCP server and a Python SDK.

Skip if: You depend on official LangChain or LlamaIndex connectors.

The problem it solves

Search APIs for agents usually require an API key and bill per query. You may want web search that runs on your own machine, with no vendor account.

Strengths

  • No third-party search API keys and no per-query fees
  • Deduplicated results from multiple engines in one call
  • Optional bearer-token auth and Tor-anonymized stack
  • Includes a Python SDK and an MCP server
  • MIT license with Docker Compose deployment

Trade-offs

  • No built-in answer generation with citations
  • No official LangChain or LlamaIndex integrations
  • Maintenance is slowing, with no releases in the last year
  • Native mode needs your own SearXNG instance

agent-search replaces

Self-host agent-search

Self-hostable
Yes
Docker Compose
The repository ships a Compose file

Quick start

git clone https://github.com/brcrusoe72/agent-search.git
cd agent-search
./scripts/prepare-searxng.sh
docker compose up -d
curl "http://localhost:3939/search?q=distributed+consensus+algorithms"

From the project's own install instructions. Check the docs for production settings.

In the community

Frequently asked questions

Is AgentSearch free?

Yes. It is MIT licensed and has no per-query fees.

Can I self-host it?

Yes. Docker Compose is the main route, and a native install is available.

Does it need API keys?

No third-party search keys are needed. Local bearer auth is optional.

What does it replace?

It is a self-hosted equivalent to Tavily for agent web search.

Other Tavily alternatives

Compare all 5 Tavily alternatives →

Similar tools in RAG and semantic search

better-vault

RAG and semantic search

Bring-your-own-model research notebook for chatting with PDFs, notes and web pages

121 10 today Active MIT

SearchWala

RAG and semantic search

Private meta-search and cited answer engine in one Rust binary, with any LLM or none

49 8 yesterday Thriving Apache-2.0

Replaces Perplexity

ragflow

RAG and semantic search

Self-hosted RAG engine that parses complex documents and cites its sources

95k 11k today Thriving Apache-2.0

vespa

RAG and semantic search

Search and recommendation engine for vectors, text and structured data at scale

7.2k 753 today Thriving Apache-2.0

Open-Notebook

RAG and semantic search

Self-hosted research notebook with chat, search and podcasts across 20+ AI providers

42k 4.8k 6 days ago Thriving MIT

Replaces NotebookLM

private-gpt

RAG and semantic search

Open-source API layer for building private RAG apps on top of local LLM servers

58k 7.6k today Active Apache-2.0