AGENT SKILL

deep-searcher

Route DeepSearcher workflows for provider setup, data ingestion, RAG querying, CLI and service operation, and evaluation.

License 许可
Apache-2.0
最近更新
2026-09-03
Stars
★ 351
Forks
27

01 前言 Front Matter

name
deep-searcher
license
Apache 2.0
metadata
{ "disco-role": "operating" }
description
Route DeepSearcher workflows for provider setup, data ingestion, RAG querying, CLI and service operation, and evaluation.
disable-model-invocation
true

02 资源文件 5

03 SKILL.md 正文

DeepSearcher

Use this repo skill when a task mentions the DeepSearcher package, its deepsearcher console command, document loading, website crawling, retrieval-augmented querying, the HTTP service, or the evaluation workflow. The skill is split into focused sub-skills so future agents can jump straight to the right workflow without reopening the original checkout.

Start here

User intent Read
Pick LLM, embedding, loader, crawler, or vector DB providers; diagnose missing SDKs or credentials sub-skills/provider-configuration/SKILL.md
Load local files/directories or websites into a collection sub-skills/data-ingestion/SKILL.md
Ask questions over loaded data, choose DeepSearch vs ChainOfRAG vs NaiveRAG, or inspect retrieved references sub-skills/rag-query/SKILL.md
Use the deepsearcher CLI or the bundled FastAPI service helper sub-skills/cli-and-service/SKILL.md
Validate or run the 2WikiMultiHopQA retrieval evaluation workflow sub-skills/evaluation/SKILL.md

Package facts to keep in mind

  • Distribution: deepsearcher.
  • Version inspected for this skill: 0.0.2.
  • Import module: deepsearcher.
  • Console script: deepsearcher = deepsearcher.cli:main.
  • Python requirement from package metadata: >=3.10.
  • The default configuration constructs providers during init_config(config), so provider and vector DB readiness matter even before query/load workflows run.
  • The inspected default config uses OpenAI, OpenAIEmbedding, PDFLoader, FireCrawlCrawler, and Milvus with a local ./milvus.db URI.

Install and sanity check

  1. Install the package in an environment with Python 3.10+:

    pip install deepsearcher
    
  2. For this checkout's inspected default local stack, also ensure a Milvus Lite-compatible set and a FireCrawl version that exports ScrapeOptions:

    pip install "pymilvus==2.5.8" "milvus-lite==2.5.1" "setuptools<81" "firecrawl-py==2.16.5"
    

    These pins were needed in the inspected environment to keep the default Milvus/FireCrawl paths usable.

  3. Run the bundled environment check before deeper work:

    python scripts/check_deepsearcher_environment.py
    

    Add --check-cli-help if you want a temp-cwd CLI probe with a dummy OpenAI key.

  4. If you only need to verify the installed package identity, the helper's version/import output is enough. If the installed package is missing optional provider SDKs, route to the provider sub-skill before assuming the repo skill is incomplete.

How to route requests

  • Configuration, provider names, credentials, and optional extras: provider-configuration.
  • Loading files, crawling websites, chunking, and collection creation: data-ingestion.
  • Querying loaded data and interpreting references: rag-query.
  • CLI help, deepsearcher load/query, FastAPI endpoints, and deployment checks: cli-and-service.
  • 2WikiMultiHopQA recall evaluation and report outputs: evaluation.

Cross-cutting cautions

  • init_config(config) creates every configured provider, not just the one you care about. A bad default provider can fail before the workflow begins.
  • The default local Milvus URI is relative to the current working directory, so repeated runs in the same directory can lock ./milvus.db.
  • CLI help and service startup can expose provider initialization problems early; use the dedicated CLI/service sub-skill for those failure modes.
  • Do not point future agents back to the original repository checkout. Read the bundled references and scripts in this skill tree instead.

Skill metadata for future refreshes

04 同仓库更多 Skills

VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-triton-opt

Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-solve

END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-skill

PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-pattern-fusion

Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-orchestrate

Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-feedback

Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).

★ 351