← Back to Leaderboard
Dzilliztech

zilliztech/deep-searcher

Python research SDK for turning private documents into reports with Milvus-backed RAG

Engineering Health (Methodology)
B+ · 66/100
Maintenance Activity
● Updated 2mo ago
Latest Release
Rolling commits (main)
Commercial License Check
Apache-2.0 · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance20/35
Fork Adoption20/25
Release Cadence6/20
License Clarity20/20
DockerSelf-HostedAPI
Total Stars
★ 8,414
24h Growth
+2
7d Growth
+7
Forks
823

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

zilliztech/deep-searcher Star History (2025-02-07 - 2026-12-03) ALL-TIME STAR HISTORY (2025-02 – 2026-12) +8.4k in 664d · avg +13/day 8.9k 4.4k 0 2025-02-07: ★ 12025-03-22: ★ 4,5522025-05-03: ★ 5,6032025-06-14: ★ 6,0472025-07-26: ★ 6,4782025-09-06: ★ 6,7232025-10-18: ★ 6,8912025-11-29: ★ 7,0352026-01-10: ★ 7,1602026-02-21: ★ 7,4522026-04-04: ★ 7,6342026-05-16: ★ 7,7412026-06-27: ★ 7,8382026-08-08: ★ 7,9772026-09-19: ★ 8,2332026-10-31: ★ 8,3472026-12-03: ★ 8,414 ★ 8.4k 2025-02 2026-01 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

DeepSearcher is a Python SDK that separates document ingestion from research queries. deepsearcher.offline_loading exposes local-file and website ingestion. The stack includes pdfplumber for PDF extraction, langchain-text-splitters for chunking, and pymilvus for vector storage and retrieval. The online entry point, deepsearcher.online_query.query, combines retrieval with model-based evaluation, reasoning, and answer or report synthesis rather than stopping at a list of matching passages.

Configuration.set_provider_config selects the LLM, embedding model, vector database, file loader, and crawler independently; this is component-level configurability, not evidence of universal backend compatibility. The manifest maps the deepsearcher executable to deepsearcher.cli:main; main.py exposes a FastAPI service, with Uvicorn listed as a dependency. Keeping ingestion separate lets teams refresh the index without making a document-processing job part of each research request.

Key Capabilities & Differentiators

The ingestion interfaces accept local files such as PDFs and text, and the CLI can target a collection using --collection_name and --collection_desc. Unstructured and Docling are optional loader paths that require additional packages. Website ingestion can bring external sources into the corpus through Firecrawl, Crawl4AI, or Jina; Firecrawl requires credentials, whereas Crawl4AI adds browser setup. Collection selection helps organize a corpus, but it does not establish an access-control boundary.

LLM options include OpenAI, DeepSeek, xAI, Aliyun, and Ollama, with an OpenAI-compatible base_url path illustrated by OpenRouter. Embeddings can use options such as MilvusEmbedding, OpenAIEmbedding, or VoyageEmbedding. Milvus is the concrete vector database adapter: a local ./milvus.db is a practical starting point, while remote Milvus and Zilliz Cloud are options when storage needs to be shared. Switching the embedding model generally calls for re-embedding the corpus rather than mixing incompatible vectors in one index.

Trade-offs & Limitations

The adoption question is whether report synthesis warrants more model and retrieval work than a single-pass RAG pipeline. DeepSearcher gives teams a research-oriented query entry point without requiring them to assemble that flow in a general toolkit such as LlamaIndex. In return, Milvus is the concrete storage choice, and additional reasoning and retrieval can increase response time and API spend. Small models can also fail to produce the output format the pipeline expects. Test structured-output reliability and report quality on representative documents before committing to a provider.

Self-hosting gives you control of the application process, not automatic data residency. Hosted LLM, embedding, vector, parsing, and crawl services each create a potential external data path. For sensitive deployments, review those paths, keep web ingestion disabled unless needed, and put authentication and collection-level authorization in front of exposed APIs. Apache-2.0 covers the repository code; model licenses and provider terms need their own review.

Hardware & Deployment Guide

Use Python 3.10 or newer; install with pip install deepsearcher or use uv sync from a checkout. python main.py serves FastAPI on localhost:8000 by default, with interactive API documentation at /docs. The Dockerfile uses ghcr.io/astral-sh/uv:python3.10-bookworm-slim, creates /app/data and /app/logs, exposes port 8000, and starts with --enable-cors true. Before publishing it, verify the bind address, restrict CORS as appropriate, and confirm that curl is available for the health check. Persist the actual vector database path; creating a directory in the image does not make its contents durable.

A hosted LLM and embedding backend let the service start on CPU; size it against document parsing, ingestion volume, and concurrent queries. With Ollama or local embeddings, size the model runtime separately and pre-stage model artifacts for offline operation. The /docs probe checks the HTTP surface, not model credentials or retrieval readiness. The package manifest reports 0.0.2; the dated embedding_model entry on 2025-02-20 concerns a GPTCache-based Milvus default embedding model. Pin and test the chosen revision rather than treating that entry as a service release.

Research workflow: Separate ingestion from retrieval, reasoning, and report generation over indexed documents.
Provider configuration: Swap LLM, embedding, vector store, file loader, and crawler settings through Configuration.set_provider_config.
Vector storage: Milvus is the concrete adapter, with a local ./milvus.db example and Milvus or Zilliz Cloud as deployment choices.
Ingestion: Load local PDF or text files and optionally URLs; the CLI accepts --collection_name and --collection_desc.
Integration: The Python SDK, deepsearcher load/query CLI, and FastAPI service on port 8000 cover embedded, scripted, and service use.
Container operations: The Dockerfile uses Python 3.10 and uv, enables CORS at startup, and probes /docs rather than a full research query.
Best For

Python teams that use or can adopt Milvus and need cross-document research reports rather than just matching passages, with control over model and embedding providers.

Skip If

Single-pass Q&A is enough, a non-Milvus backend is mandatory, or you need verified air-gapped operation and tenant isolation without additional integration work.

Reviewed on 2026-12-01 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

DockerSelf-HostedAPI
pip install deepsearcher

Comparison vs. Top RAG, Data & Memory Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
deep-searcher ★8.4k+7PythonApache-2.0Python research SDK for turning private documents into reports with Milvus-backe
auto-ontology19.1k+3.7kPythonApache-2.0An ontology framework that grounds agent-generated SQL in reviewed business defi
llama_index53.1k+104PythonMITA modular Python SDK for document ingestion, indexing, and RAG
langextract39.5k+85PythonApache-2.0Python SDK for extracting structured data with traceable source spans

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/zilliztech/deep-searcher.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

zilliztech/deep-searcher Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about deep-searcher

How do I integrate DeepSearcher into an existing application?

Initialize a Configuration with init_config, then call load_from_local_files during ingestion and deepsearcher.online_query.query at request time. For a separate process, run main.py and inspect the FastAPI interface at /docs. The CLI can load into a named Milvus collection, but collection naming does not replace application-level authorization.

Do I need a GPU, and how should I size the service?

With hosted inference and a remote vector store, start with a CPU deployment and measure memory during ingestion and concurrent queries; there is no fixed GPU requirement for that configuration. If you move inference to Ollama or run embeddings locally, size CPU, RAM, and any GPU VRAM for those models and their concurrency. Verify model availability before deploying into a network-restricted environment.

Can we use it commercially and keep sensitive data on-premises?

Apache-2.0 permits commercial use and self-hosting. If you redistribute the software or a container that includes it, comply with the license and applicable notice requirements. Model weights, optional dependencies, hosted APIs, and crawled content can carry separate terms. Self-hosting the API also does not prevent configured providers from receiving document text or queries.

When should I use it instead of a direct RAG pipeline or LlamaIndex?

Choose DeepSearcher if its report-oriented query flow and Milvus integration fit your corpus and you want to avoid building the workflow from scratch. Build a direct RAG baseline if single-pass answers are enough, or use a more general toolkit such as LlamaIndex if control over retrieval, workflow state, or backend choice matters more. Compare both on the same corpus for evidence quality, response time, and provider cost.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining zilliztech/deep-searcher? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature zilliztech/deep-searcher on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare