desearch-ai-search

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

AI Search By Desearch

基于Desearch的AI搜索

AI-powered multi-source search that aggregates results from web, Reddit, Hacker News, YouTube, ArXiv, Wikipedia, and X/Twitter — returning either summarized answers or curated links.
由AI驱动的多源搜索工具,可聚合来自网页、Reddit、Hacker News、YouTube、ArXiv、Wikipedia和X/Twitter的结果——返回总结后的答案或精选链接。

Quick Start

快速开始

  1. Get an API key from https://console.desearch.ai
  2. Set environment variable:
    export DESEARCH_API_KEY='your-key-here'
  1. https://console.desearch.ai获取API密钥
  2. 设置环境变量:
    export DESEARCH_API_KEY='your-key-here'

Usage

使用方法

bash
undefined
bash
undefined

AI contextual search (summarized results from multiple sources)

AI上下文搜索(来自多源的总结结果)

desearch.py ai_search "What is Bittensor?" --tools web,reddit,youtube
desearch.py ai_search "What is Bittensor?" --tools web,reddit,youtube

AI web link search (curated links from specific sources)

AI网页链接搜索(来自特定源的精选链接)

desearch.py ai_web "machine learning papers" --tools arxiv,web,wikipedia
desearch.py ai_web "machine learning papers" --tools arxiv,web,wikipedia

AI X/Twitter link search (curated post links)

AI X/Twitter链接搜索(精选帖子链接)

desearch.py ai_x "crypto market trends" --count 20
undefined
desearch.py ai_x "crypto market trends" --count 20
undefined

Commands

命令

CommandDescription
ai_search
AI-summarized search across multiple sources. Returns aggregated results with context.
ai_web
AI-curated link search. Returns the most relevant links from chosen sources.
ai_x
AI-powered X/Twitter search. Returns the most relevant post links for a topic.
命令描述
ai_search
跨多源的AI总结式搜索。返回带上下文的聚合结果。
ai_web
AI精选的链接搜索。返回来自所选源的最相关链接。
ai_x
由AI驱动的X/Twitter搜索。返回与主题最相关的帖子链接。

Options

选项

OptionDescriptionApplies to
--tools
,
-t
Sources to search:
web
,
hackernews
,
reddit
,
wikipedia
,
youtube
,
arxiv
,
twitter
(comma-separated)
Both
--count
,
-n
Number of results (default: 10, max: 200)All
--date-filter
Time filter:
PAST_24_HOURS
,
PAST_2_DAYS
,
PAST_WEEK
,
PAST_2_WEEKS
,
PAST_MONTH
,
PAST_2_MONTHS
,
PAST_YEAR
,
PAST_2_YEARS
ai_search
选项描述适用范围
--tools
,
-t
要搜索的源:
web
hackernews
reddit
wikipedia
youtube
arxiv
twitter
(逗号分隔)
全部命令
--count
,
-n
结果数量(默认:10,最大值:200)全部命令
--date-filter
时间筛选:
PAST_24_HOURS
PAST_2_DAYS
PAST_WEEK
PAST_2_WEEKS
PAST_MONTH
PAST_2_MONTHS
PAST_YEAR
PAST_2_YEARS
ai_search

Examples

示例

Research a topic with AI summary

用AI总结研究某一主题

bash
desearch.py ai_search "What are the latest developments in quantum computing?" --tools web,arxiv,reddit
bash
desearch.py ai_search "What are the latest developments in quantum computing?" --tools web,arxiv,reddit

Find academic papers

查找学术论文

bash
desearch.py ai_web "transformer architecture improvements 2026" --tools arxiv,web
bash
desearch.py ai_web "transformer architecture improvements 2026" --tools arxiv,web

Get recent news from multiple sources

从多源获取近期新闻

bash
desearch.py ai_search "AI regulation news" --tools web,hackernews,reddit --date-filter PAST_WEEK
bash
desearch.py ai_search "AI regulation news" --tools web,hackernews,reddit --date-filter PAST_WEEK

Find YouTube tutorials

查找YouTube教程

bash
desearch.py ai_web "learn rust programming" --tools youtube,web
bash
desearch.py ai_web "learn rust programming" --tools youtube,web

AI-curated X/Twitter links on a topic

某主题的AI精选X/Twitter链接

bash
desearch.py ai_x "latest AI breakthroughs" --count 20
bash
desearch.py ai_x "latest AI breakthroughs" --count 20

Response

响应

Example (truncated)

示例(截断版)

json
{
  "tweets": [
    {
      "id": "2023465890369728573",
      "text": "Superposition allows qubits to encode multiple possibilities...",
      "url": "https://x.com/rukky_003/status/2023465890369728573",
      "created_at": "2026-02-16T18:33:57.000Z",
      "like_count": 5,
      "retweet_count": 0,
      "view_count": 155,
      "reply_count": 0,
      "quote_count": 2,
      "lang": "en",
      "is_retweet": false,
      "is_quote_tweet": true,
      "media": [],
      "user": {
        "id": "1316260427190472704",
        "username": "rukky_003",
        "name": "RuqoCrypto 🧠",
        "url": "https://x.com/rukky_003",
        "followers_count": 2424,
        "verified": false,
        "is_blue_verified": true
      }
    }
  ],
  "search": [
    {
      "title": "What Is Quantum Computing? | IBM",
      "link": "https://www.ibm.com/think/topics/quantum-computing",
      "snippet": "Quantum computers take advantage of quantum mechanics..."
    }
  ],
  "miner_link_scores": {
    "2023465890369728573": "HIGH",
    "https://www.ibm.com/think/topics/quantum-computing": "MEDIUM"
  },
  "completion": "Quantum computing uses qubits that leverage superposition and entanglement to compute in fundamentally different ways than classical computers..."
}
json
{
  "tweets": [
    {
      "id": "2023465890369728573",
      "text": "Superposition allows qubits to encode multiple possibilities...",
      "url": "https://x.com/rukky_003/status/2023465890369728573",
      "created_at": "2026-02-16T18:33:57.000Z",
      "like_count": 5,
      "retweet_count": 0,
      "view_count": 155,
      "reply_count": 0,
      "quote_count": 2,
      "lang": "en",
      "is_retweet": false,
      "is_quote_tweet": true,
      "media": [],
      "user": {
        "id": "1316260427190472704",
        "username": "rukky_003",
        "name": "RuqoCrypto 🧠",
        "url": "https://x.com/rukky_003",
        "followers_count": 2424,
        "verified": false,
        "is_blue_verified": true
      }
    }
  ],
  "search": [
    {
      "title": "What Is Quantum Computing? | IBM",
      "link": "https://www.ibm.com/think/topics/quantum-computing",
      "snippet": "Quantum computers take advantage of quantum mechanics..."
    }
  ],
  "miner_link_scores": {
    "2023465890369728573": "HIGH",
    "https://www.ibm.com/think/topics/quantum-computing": "MEDIUM"
  },
  "completion": "Quantum computing uses qubits that leverage superposition and entanglement to compute in fundamentally different ways than classical computers..."
}

Notes

注意事项

  • miner_link_scores
    keys are tweet IDs for Twitter results and full URLs for web results. Values are
    "HIGH"
    ,
    "MEDIUM"
    , or
    "LOW"
    .
  • media
    is always an array; empty
    []
    when no media is attached.
  • completion
    is always a string; empty string
    ""
    if summarization fails.
  • miner_link_scores
    的键,对于Twitter结果是帖子ID,对于网页结果是完整URL。值为
    "HIGH"
    "MEDIUM"
    "LOW"
  • media
    始终是数组;无附加媒体时为空
    []
  • completion
    始终是字符串;总结失败时为空字符串
    ""

Errors

错误

Status 401, Unauthorized (e.g., missing/invalid API key)
json
{
  "detail": "Invalid or missing API key"
}
Status 402, Payment Required (e.g., balance depleted)
json
{
  "detail": "Insufficient balance, please add funds to your account to continue using the service."
}
状态码401,未授权(例如:缺少/无效API密钥)
json
{
  "detail": "Invalid or missing API key"
}
状态码402,需要付费(例如:余额耗尽)
json
{
  "detail": "Insufficient balance, please add funds to your account to continue using the service."
}

Resources

资源