argo-search 2.14.0 → 2.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (207) hide show
  1. package/AGENTS.md +8 -6
  2. package/README.es.md +56 -824
  3. package/README.ja.md +55 -825
  4. package/README.ko.md +55 -823
  5. package/README.md +128 -868
  6. package/README.zh.md +206 -0
  7. package/SKILL.md +17 -18
  8. package/assets/readme/counts.json +1 -1
  9. package/assets/readme/hero.svg +23 -23
  10. package/backends/concept_vectors.bin +0 -0
  11. package/backends/domain_profiles.json +66 -0
  12. package/backends/engine_concept_vectors.json +1525 -1525
  13. package/backends/engine_registry.yaml +193 -46
  14. package/backends/quota_profiles.json +110 -0
  15. package/bin/argo +30 -17
  16. package/config.yaml +196 -36
  17. package/docs/ADDING_NEW_ENGINE.md +10 -0
  18. package/docs/ARGO_INTRO.md +1 -1
  19. package/docs/CHANGELOG.md +45 -0
  20. package/docs/ENGINE_CATALOG.md +128 -112
  21. package/docs/MCP_SETUP.md +2 -2
  22. package/docs/RELEASE_NOTES_v2.14.0.md +12 -1
  23. package/docs/RELEASE_NOTES_v2.14.1.md +80 -0
  24. package/docs/RELEASE_NOTES_v2.15.0.md +50 -0
  25. package/docs/RELEASING.md +53 -1
  26. package/engines/specs/ai_labs.yaml +89 -0
  27. package/engines/specs/artic.yaml +11 -1
  28. package/engines/specs/bilibili_hot.yaml +11 -1
  29. package/engines/specs/brave.yaml +3 -3
  30. package/engines/specs/cisa_alerts.yaml +40 -0
  31. package/engines/specs/cleveland.yaml +15 -1
  32. package/engines/specs/clinicaltrials.yaml +16 -1
  33. package/engines/specs/cn_ai_news.yaml +10 -8
  34. package/engines/specs/cnii.yaml +15 -4
  35. package/engines/specs/deezer.yaml +12 -1
  36. package/engines/specs/digup.yaml +11 -6
  37. package/engines/specs/doaj.yaml +14 -1
  38. package/engines/specs/douyin_hot.yaml +11 -1
  39. package/engines/specs/dw_news.yaml +4 -2
  40. package/engines/specs/endoflife.yaml +16 -1
  41. package/engines/specs/eng_blogs.yaml +63 -0
  42. package/engines/specs/eu_opendata.yaml +11 -1
  43. package/engines/specs/europeana.yaml +22 -5
  44. package/engines/specs/feed.yaml +62 -0
  45. package/engines/specs/felo.yaml +3 -3
  46. package/engines/specs/figshare.yaml +12 -1
  47. package/engines/specs/firecrawl.yaml +3 -0
  48. package/engines/specs/fourget.yaml +5 -2
  49. package/engines/specs/france24.yaml +6 -4
  50. package/engines/specs/fxtwitter.yaml +29 -6
  51. package/engines/specs/grepapp_mcp.yaml +62 -0
  52. package/engines/specs/guardian_rss.yaml +6 -4
  53. package/engines/specs/hackernews.yaml +17 -2
  54. package/engines/specs/hal.yaml +19 -1
  55. package/engines/specs/hf_datasets.yaml +59 -0
  56. package/engines/specs/hf_papers.yaml +17 -1
  57. package/engines/specs/itotii.yaml +13 -1
  58. package/engines/specs/jikan.yaml +12 -10
  59. package/engines/specs/kaggle.yaml +5 -3
  60. package/engines/specs/lobsters.yaml +41 -0
  61. package/engines/specs/local_seek.yaml +6 -0
  62. package/engines/specs/maven.yaml +61 -0
  63. package/engines/specs/nasa_cmr.yaml +12 -1
  64. package/engines/specs/nuget.yaml +57 -0
  65. package/engines/specs/open_meteo.yaml +1 -1
  66. package/engines/specs/redskill.yaml +2 -0
  67. package/engines/specs/searxng.yaml +4 -2
  68. package/engines/specs/sec_edgar.yaml +8 -3
  69. package/engines/specs/tatoeba.yaml +14 -1
  70. package/engines/specs/tinyfish.yaml +2 -0
  71. package/engines/specs/tinyfish_news.yaml +2 -0
  72. package/engines/specs/tinyfish_paper.yaml +2 -0
  73. package/engines/specs/toutiao_hot.yaml +11 -1
  74. package/engines/specs/train.yaml +3 -0
  75. package/engines/specs/tvmaze.yaml +5 -1
  76. package/engines/specs/twitter.yaml +4 -0
  77. package/engines/specs/unpaywall.yaml +6 -0
  78. package/engines/specs/usda.yaml +14 -1
  79. package/engines/specs/vam.yaml +17 -3
  80. package/engines/specs/weibo_hot.yaml +11 -1
  81. package/engines/specs/wolframalpha.yaml +3 -3
  82. package/engines/specs/xiaohongshu.yaml +2 -0
  83. package/engines/specs/zhihu.yaml +3 -18
  84. package/engines/specs/zhihu_kb.yaml +18 -0
  85. package/engines/specs/zhihu_questions.yaml +19 -0
  86. package/package.json +4 -2
  87. package/packages/dsh-plugin/README.md +9 -14
  88. package/packages/dsh-plugin/dsh/client.js +467 -1024
  89. package/packages/dsh-plugin/dsh/diagnostics.js +71 -20
  90. package/packages/dsh-plugin/dsh/native-tools.mjs +61 -113
  91. package/packages/dsh-plugin/dsh/runner.js +2 -0
  92. package/packages/dsh-plugin/dsh/wide-research.js +1 -1
  93. package/packages/dsh-plugin/package.json +8 -3
  94. package/packages/dsh-plugin/scripts/sync-local.mjs +87 -0
  95. package/packages/dsh-plugin/scripts/sync-local.sh +13 -1
  96. package/packages/dsh-plugin/test/diagnostics.test.js +38 -1
  97. package/packages/dsh-plugin/test/size-gate.test.js +2 -9
  98. package/scripts/adaptive.py +7 -1
  99. package/scripts/archive_run.py +112 -53
  100. package/scripts/argo_paths.py +40 -3
  101. package/scripts/badcase_ledger.py +153 -10
  102. package/scripts/build_concept_table.py +112 -55
  103. package/scripts/build_release_assets.sh +43 -15
  104. package/scripts/cache.py +5 -1
  105. package/scripts/caliber_isolation.py +60 -23
  106. package/scripts/circuit_breaker.py +56 -8
  107. package/scripts/cli_io.py +20 -2
  108. package/scripts/config_cache.py +31 -0
  109. package/scripts/daemon.py +146 -51
  110. package/scripts/dormant_ledger.py +239 -0
  111. package/scripts/engine_dispatch.py +3 -3
  112. package/scripts/engine_env.py +182 -1
  113. package/scripts/engine_families.py +50 -7
  114. package/scripts/engine_states.py +9 -51
  115. package/scripts/engine_validate.py +150 -6
  116. package/scripts/engines.py +15 -67
  117. package/scripts/engines_base.py +68 -124
  118. package/scripts/engines_builders.py +0 -51
  119. package/scripts/engines_builders_batch10.py +346 -100
  120. package/scripts/engines_builders_batch11.py +2 -75
  121. package/scripts/engines_builders_batch9.py +15 -228
  122. package/scripts/engines_builders_cn.py +0 -194
  123. package/scripts/engines_builders_feeds.py +203 -35
  124. package/scripts/engines_builders_intl.py +15 -443
  125. package/scripts/engines_builders_pixiv.py +2 -16
  126. package/scripts/engines_builders_science.py +0 -85
  127. package/scripts/engines_builders_search.py +7 -14
  128. package/scripts/engines_builders_tech.py +5 -112
  129. package/scripts/engines_builders_weather.py +236 -0
  130. package/scripts/engines_fields.py +91 -0
  131. package/scripts/engines_http.py +135 -0
  132. package/scripts/engines_mcp.py +383 -0
  133. package/scripts/engines_parsers.py +196 -27
  134. package/scripts/engines_schema_drift.py +260 -0
  135. package/scripts/evidence.py +13 -0
  136. package/scripts/evidence_loop.py +93 -5
  137. package/scripts/fetch_jsrun.py +15 -11
  138. package/scripts/fetch_v3.py +28 -28
  139. package/scripts/fulltext_store.py +42 -1
  140. package/scripts/fxtwitter_api.py +8 -7
  141. package/scripts/gen_engine_catalog.py +4 -4
  142. package/scripts/gen_native_tools.py +2 -1
  143. package/scripts/general_pool.py +15 -4
  144. package/scripts/health_check.py +1 -1
  145. package/scripts/link_source.py +65 -24
  146. package/scripts/local_intent.py +51 -15
  147. package/scripts/local_seek.py +37 -4
  148. package/scripts/local_seek_adapter.py +57 -17
  149. package/scripts/mcp_handlers.py +173 -99
  150. package/scripts/mcp_handlers_surface.py +6 -18
  151. package/scripts/mcp_server.py +1 -1
  152. package/scripts/mcp_tools.py +143 -61
  153. package/scripts/mcp_transport.py +42 -10
  154. package/scripts/min_version_scan.py +7 -3
  155. package/scripts/network_aware.py +7 -13
  156. package/scripts/pre-commit +57 -31
  157. package/scripts/query_understanding.py +30 -6
  158. package/scripts/quota.py +6 -1
  159. package/scripts/rank_signals.py +9 -0
  160. package/scripts/recompute.py +15 -5
  161. package/scripts/recovery.py +21 -15
  162. package/scripts/release.py +29 -32
  163. package/scripts/release_check.py +6 -26
  164. package/scripts/replay_eval.py +2 -2
  165. package/scripts/research_cli.py +40 -0
  166. package/scripts/research_notes.py +368 -0
  167. package/scripts/route.py +32 -70
  168. package/scripts/route_audit.py +259 -0
  169. package/scripts/route_combo.py +10 -4
  170. package/scripts/route_domains.py +150 -23
  171. package/scripts/route_lang.py +20 -7
  172. package/scripts/route_log.py +26 -9
  173. package/scripts/route_policy.py +91 -7
  174. package/scripts/route_telemetry_export.py +199 -0
  175. package/scripts/rrf_classic.py +5 -22
  176. package/scripts/search.py +2 -1
  177. package/scripts/search_attribution.py +33 -10
  178. package/scripts/search_cli.py +44 -7
  179. package/scripts/search_entry.py +5 -1
  180. package/scripts/search_output.py +5 -4
  181. package/scripts/search_pipeline.py +12 -0
  182. package/scripts/search_rank.py +21 -11
  183. package/scripts/secret_guard.py +106 -0
  184. package/scripts/semantic_evidence.py +539 -117
  185. package/scripts/settings_page.py +83 -11
  186. package/scripts/social_engines/xiaohongshu_engine.py +2 -1
  187. package/scripts/social_engines/zhihu_engine.py +251 -43
  188. package/scripts/sogou_weixin_browser.py +5 -6
  189. package/scripts/source_audit.py +77 -0
  190. package/scripts/source_ledger.py +2 -15
  191. package/scripts/source_selection.py +45 -20
  192. package/scripts/straggler_policy.py +1 -2
  193. package/scripts/sync_backends.py +24 -0
  194. package/scripts/tfidf_router.py +23 -11
  195. package/scripts/time_utils.py +54 -1
  196. package/scripts/train.py +68 -2
  197. package/scripts/usage_log.py +26 -1
  198. package/sub-skills/argo-wide-research/SKILL.md +68 -0
  199. package/sub-skills/ego-search/SKILL.md +1 -1
  200. package/sub-skills/local-seek/scripts/seek_fts.py +67 -4
  201. package/README.en.md +0 -826
  202. package/scripts/caliber_dedupe.py +0 -66
  203. package/scripts/engines_builders_batch16.py +0 -186
  204. package/scripts/health_probe.py +0 -253
  205. package/scripts/image_vision/vision_probe +0 -0
  206. package/scripts/social_engines/twitter_engine.py +0 -514
  207. package/scripts/sync_installs.py +0 -29
package/README.en.md DELETED
@@ -1,826 +0,0 @@
1
- <p align="center">
2
- <img src="assets/readme/hero.svg" width="100%" alt="Argo: search and deep research for agents — hundreds of search sources, routing by domain and language, absorbable evidence output">
3
- </p>
4
-
5
- <p align="center">
6
- <a href="README.md">中文</a> ·
7
- <strong>English</strong> ·
8
- <a href="README.ja.md">日本語</a> ·
9
- <a href="README.ko.md">한국어</a> ·
10
- <a href="README.es.md">Español</a>
11
- </p>
12
-
13
- <p align="center">
14
- <a href="#what-it-is">Intro</a> ·
15
- <a href="#why-its-stronger-than-built-in-search--ai-search--metasearch">Compare</a> ·
16
- <a href="#query-shaped-routing">Proof</a> ·
17
- <a href="#how-it-works">How it works</a> ·
18
- <a href="#quick-start">Quick start</a> ·
19
- <a href="#capabilities">Capabilities</a> ·
20
- <a href="#install--config">Config</a> ·
21
- <a href="#recent-updates">Recent updates</a>
22
- </p>
23
-
24
- <p align="center">
25
- <a href="https://github.com/taxueseek/argo/stargazers"><img alt="stars" src="https://img.shields.io/github/stars/taxueseek/argo?style=social"></a>
26
- <img alt="license" src="https://img.shields.io/badge/license-Apache_2.0-blue">
27
- <img alt="python" src="https://img.shields.io/badge/python-3.9+-green">
28
- <img alt="version" src="https://img.shields.io/badge/version-2.14.0-informational">
29
- <img alt="engines" src="https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Ftaxueseek%2Fargo%2Fmain%2Fassets%2Freadme%2Fcounts.json">
30
- <img alt="mcp" src="https://img.shields.io/badge/MCP-19%20tools-purple">
31
- </p>
32
-
33
- > **Part of the taxueseek skill series**, covering search and deep research. Other skills in the series: [plainspoken-writing](https://github.com/taxueseek/plainspoken-writing) 68★ (AI-tone removal) · [session-digger](https://github.com/taxueseek/session-digger) 33★ (cross-environment session mining) · [taxue-invest](https://github.com/taxueseek/taxue-invest) 28★ (investment analysis) · [taxueskills](https://github.com/taxueseek/taxueskills) 24★ (the taxue decision system) · [taxue-creative-style](https://github.com/taxueseek/taxue-creative-style) 13★ (creative illustration styles).
34
- >
35
- > Argo is also a DeepSeek Harness plugin, installed in one command (see "DSH Plugin" below). Best DSH plugins by the same author: [dsh-files](https://github.com/taxueseek/dsh-files) 41★ (folder upload + document parsing) · [plugin-fast-adapt](https://github.com/taxueseek/plugin-fast-adapt) 7★ (plugin upgrade adapter) · [dsh-plugin-guard](https://github.com/taxueseek/dsh-plugin-guard) 2★ (pre-install audit).
36
-
37
- # Argo: search and deep research for agents
38
-
39
- ## What it is
40
-
41
- **Argo is a search and deep-research tool that lives inside your agent, and can also pull information from the relevant web pages. It connects to hundreds of search sources across nearly 100 business domains, and also covers basic local file search. Among open-source search projects, its search capability is exceptionally strong.**
42
-
43
- API keys are optional and improve quality (keyed sources are usually better; unkeyed ones are skipped automatically), with free engines and local engines as an automatic fallback. It covers 18 languages including Chinese, English, Japanese and Korean, and supports vertical scenarios such as finance, academia, film, sports, code and macro data.
44
-
45
- ## Sub-skills
46
-
47
- Argo's capabilities are organized as four sub-skills, each a standalone pipeline:
48
-
49
- | Sub-skill | Capability |
50
- |-----------|------------|
51
- | **local-search** | Local file search + local zero-cost aggregation engines (32 local engines). Search code symbols, filenames, document text and file structure. Can merge into web search results: flip one switch and local hits join the same search |
52
- | **local-seek** | Local semantic search (BM25 + vector hybrid) for notes, memories and knowledge bases. Three layers: locate the file, read the context, then read the passage closely |
53
- | **ego-search** | Logged-in professional search. Content behind logins on Zhihu, Xiaohongshu, WeChat public accounts and similar, searched with a real browser and a logged-in session. Off by default; turn it on when needed |
54
- | **js-run** | Run web JS without a browser. Run environment-probe and pure-compute page scripts without opening a browser; median single-run context is about 1ms |
55
-
56
- Together the four cover the full chain from local machine to open web to behind login walls. Most cases need only local-search plus web search; turn on ego-search and js-run for special cases.
57
-
58
- ## DSH plugin
59
-
60
- Argo is also a DeepSeek Harness plugin. One line installs it:
61
-
62
- ```bash
63
- dsh plugin --profile web add argo-search # npm release
64
- dsh plugin --profile web add "github:taxueseek/argo" # GitHub main
65
- ```
66
-
67
- Restart `dsh web` and it takes effect. Search and fetch become native first-class tools: no MCP connection, no standing context overhead. There is also one `wide_research` parallel researcher and 19 MCP tools you can enable on demand. See integration forms below.
68
-
69
- ### Three invocation channels, one capability set
70
-
71
- The same argo retrieval core (same engines, same compression, same guards) opens three channels inside DSH. They degrade automatically by host capability and back each other up:
72
-
73
- | Channel | Default | What it does |
74
- |---------|---------|--------------|
75
- | **Native first-class tools** | On | `argo_search` / `argo_fetch` and friends register via `ctx.tools.register` and run as CLI single-shots (`--call`), reusing the exact engine and guard stack MCP uses — **no MCP connection, zero standing token overhead** |
76
- | **Native web seam** | On | Registers `argo` as both a search and a fetch provider, so the host's built-in `web_search` routes to argo's engine chain and `web_fetch` to argo's fetch chain (HTTP first, auto-escalating to an anti-detection browser on Cloudflare / JS-rendered pages) |
77
- | **MCP form** | On demand | The full 19-tool `mcp__argo__*` surface. Tool definitions are injected into context every round and survive compaction (measured ≈3.7K tokens/round for 19 tools), and the hot path is already covered by native tools and the web seam — so it is not mounted by default. Uncomment the `mcp-argo` line in the profile patch when you need the long-tail forensics tools |
78
-
79
- There is also one `wide_research`: it plans complementary tracks (`depends_on` staggers them, parallel by default) → bounded concurrent subagent evidence gathering → a source ledger (only http(s) URLs are recorded) → a synthesis report. Output carries `quality_gate_results` (`conclusion_cap`: low/medium/high); when `passed=false` the wording is downgraded and the ledger sources are verified before any conclusion. The worker evidence-tool allowlist writes both MCP and native tool names (allow semantics), so it works whether or not MCP is mounted: with MCP it uses the full surface, without it falls back to `argo_search` / `argo_fetch` and the host's `web_search` / `web_fetch`.
80
-
81
- For an everyday question use `argo_search`; for single-agent forensics use `argo_research`; for multi-perspective comparison with a citation ledger use `wide_research`. Workers can only call argo evidence tools by default and cannot call `argo_research` again (hard guard — user-level overrides do not work).
82
-
83
- ### Built-in settings page: six sections, effective on save
84
-
85
- The plugin ships a browser-side settings page with two entries: the settings popup (`Cmd+,`) left-hand menu item "Argo", or Settings > Plugins > Argo (a summary card for the same panel — click to open).
86
-
87
- <p align="center">
88
- <img src="assets/readme/settings-tools.webp" width="100%" alt="Argo settings, Tools: 18 native tools to toggle — argo_search / argo_fetch on in the hot path, 16 long-tail tools on demand, with per-call timeout and returned-text cap">
89
- </p>
90
-
91
- <p align="center">
92
- <img src="assets/readme/settings-engines.webp" width="100%" alt="Argo settings, Engines: argo's 28 behaviour switches moved into the panel — cache / TF-IDF rerank / numeric cross-check / MinHash dedup / SERP guard and dedup threshold; unconfigured rows show the default and changes apply immediately">
93
- </p>
94
-
95
- <p align="center">
96
- <img src="assets/readme/settings-keys.webp" width="100%" alt="Argo settings, Keys: DeepSeek official search shows configured · credential store and shares one key with the host's web_search; common engine keys (Tencent Yuanbao / Tavily) can be set, updated or cleared, plaintext never echoed">
97
- </p>
98
-
99
- | Section | What it controls |
100
- |---------|------------------|
101
- | **Access** | `web_search` / `web_fetch` seam toggles; engine entry command and args (npx or local `mcp_server.py`); search/fetch timeouts, body cap, idle connection reclamation, concurrent connections |
102
- | **Tools** | Toggles for the 18 native first-class tools (only `argo_search` / `argo_fetch` on by default); per-call timeout and returned-text cap |
103
- | **Engines** | argo's own behaviour switches (formerly env vars, curated allowlist of 28: cache / TF-IDF rerank / numeric cross-check / MinHash dedup / SERP guard, Jina / mobile UA / Parallel fetch layer, semantic evidence layer, hedge grace and tail width, engine enable list, proxy, local search roots and read allowlist, warmup / usage log / connection pool / assorted TTLs). Switch-type changes apply immediately; number / text / list types save as a group; unconfigured rows show argo's default and are marked "default". Authorisation switches (recompute, intranet URLs) deliberately stay out of the panel |
104
- | **Keys** | Set, update and clear common engine keys; shows "configured / unconfigured + source layer (credential store / startup env / .env) + read-only state", never echoing plaintext; each row has a Forward checkbox, equivalent to adding the reference name to `keyRefs` |
105
- | **Research** | worker / track / sources-per-track / token caps and report output directory |
106
- | **Advanced** | worker tool allow / deny lists, credential forward list |
107
-
108
- Saving takes effect immediately (all volatile config): the native tool set is registered and unregistered per the toggles, timeouts / concurrency / research caps are read on the next call; engine switches are written as `argoEnv` (one `KEY=VALUE` per line) into the argo subprocess env and apply to the next new connection (pooled old connections are reclaimed by `searchIdleMs`, default 60s). Structural fields (`toolName`, `provider`, `searchProviderId`, `fetchProviderId`) are not in the settings page — they still go through the profile patch and need a restart.
109
-
110
- **Key security**: keys are written to the DSH credential store (the same place as the Models page) — never into plugin config, never logged, never echoed. Credential resolution priority is **stored file layer > startup env > project .env > home .env**: saving in the panel (or the Models page) overrides older startup-env values, and the argo subprocess picks up the new key on the next new connection; Clear only deletes the credential-store value, so keys supplied by env vars or `.env` reappear. The settings page is only a write entry for the credential domain — reads are still performed by the host on every call.
111
-
112
- **DeepSeek official key, supplied natively**: argo's `deepseek_search` engine (the official `api.deepseek.com/v1/tools/search`, whose results carry authority levels / rerank scores / publish times) **shares one key with DSH's official search backend**. The plugin obtains it through DSH's native credential seam, so no manual configuration is needed: resolution is `ctx.get('credentials').resolve('DEEPSEEK_API_KEY')`, resolved per call — after rotating the key on the web Models page the next new connection uses it, with no plugin restart. The plugin never reads key files, never writes to disk, never logs; the key value reaches the argo subprocess env in memory only, and no output or error message contains it. On older hosts without a credentials service it silently skips: that engine is disabled for lack of a key, and the other sources are unaffected.
113
-
114
- **The web seam pin is required reading** (a missing pin breaks `web_fetch`): the host `dsh-web` provider selection rule is "configured id wins; if none is configured and exactly one is available, pick it; **if more than one is available, fail with `WEB_PROVIDER_AMBIGUOUS`**". The web profile ships an official http fetch provider by default (keyless, always available), and this bundle registers another — so without a pin there are two available and **`web_fetch` breaks entirely** (same for `web_search` if the profile has another search provider). Any profile with the web seam enabled must therefore specify explicitly on the web service line:
115
-
116
- ```yaml
117
- - id: web
118
- config:
119
- searchProvider: argo # required when the search seam is enabled (it is by default)
120
- fetchProvider: argo # required when the fetch seam is enabled (it is by default)
121
- ```
122
-
123
- `searchProviderEnabled: false` / `fetchProviderEnabled: false` turn the corresponding seam off entirely (the provider is still registered but not selectable, and the other is unaffected). On the engine side, anonymously usable engines such as Firecrawl work **keyless out of the box** (free-tier quota), engines with a configured key automatically upgrade to authenticated requests, and a missing key does not block routing.
124
-
125
- > Full configuration options, the Compatibility version table and uninstall steps are in [packages/dsh-plugin/README.md](packages/dsh-plugin/README.md).
126
-
127
- ## Core strengths
128
-
129
- **Most sources are keyless and ready out of the box.** Runs without any API key; free and local engines fall back automatically. Keyed sources are usually better, and unkeyed ones are skipped automatically. One install covers every scenario.
130
-
131
- **Local and web search in one.** This is a capability only Argo has. Local file search is built on the same tools developers use daily, rg and mdfind: code symbols, filenames, document text and file structure. Flip one switch and local hits join the same web search results, labelled with the local file as the source. When you remember writing something six months ago but forget where, this beats digging through folders.
132
-
133
- **Two-layer cache, ~10ms for hot queries.** For content whose freshness matters less (encyclopedia entries, historical data), the first query populates the cache and the same query then hits it directly instead of going through the API again. Saves money and time.
134
-
135
- **Multilingual and vertical.** Tested across 18 languages; Chinese, English and Japanese reach local first-party sources. Papers go to academic databases, film to title databases, code to Q&A communities, market quotes to financial sources. Only broad questions go to generic search.
136
-
137
- ## Install and run
138
-
139
- Zero config works. Three ways to install, pick your habit:
140
-
141
- **Want your AI assistant to search on its own**: install the skill package into its skills directory. Then when you say "look this up" or "verify this", it goes and searches.
142
-
143
- **Want to try it casually**: one npx command, no install needed.
144
-
145
- **Want it always on**: attach it over MCP, 19 retrieval tools ready. There is also a one-command injector that configures Claude Code, Cursor and Windsurf automatically; Codex, OpenCode and Cline are on the list too. Your config is backed up before writing, so you can always roll back.
146
-
147
- ```bash
148
- # Option 1: install script (recommended for long-term local use)
149
- curl -fsSL https://raw.githubusercontent.com/taxueseek/argo/main/scripts/install.sh | bash
150
-
151
- # Option 2: npm / npx (supported, currently 2.14.0; released per tag, version pinned)
152
- npm install -g argo-search # install the CLI globally
153
- npx -y argo-search # or run it without installing
154
- npx -y github:taxueseek/argo # use this to follow the latest commit on main
155
-
156
- # Option 3: git clone (development / editing source)
157
- git clone https://github.com/taxueseek/argo.git
158
- ```
159
-
160
- Try one query right after install:
161
-
162
- ```bash
163
- argo search "python asyncio error handling"
164
- ```
165
-
166
- What you get is questions from StackOverflow's official API, ranked by community score and marked with accepted status, not a pile of SEO farms.
167
-
168
- To see how many sources are available on your machine right now:
169
-
170
- ```bash
171
- argo search --list-engines
172
- ```
173
-
174
- ## Integration forms
175
-
176
- Argo supports four integration forms; pick by scenario:
177
-
178
- | Form | Best for | Notes |
179
- |------|----------|-------|
180
- | **MCP Server** | Always-on agent attachment | 19 retrieval tools ready; one command injects Claude Code / Cursor / Windsurf / Codex / OpenCode / Cline, config backed up first |
181
- | **DSH plugin** | DeepSeek Harness users | One line `dsh plugin add`; search and fetch become native first-class tools, no MCP connection, no standing context overhead; ships a six-section settings page effective on save |
182
- | **Skill files** | Claude Code / Grok Build / Kimi, etc. | Drop the skill package into the agent's skills directory; say "look this up" or "verify this" and it searches |
183
- | **npx on demand** | Quick trial | `npx -y argo-search` (npm release) or `npx -y github:taxueseek/argo` (main), no install, good for temporarily attaching MCP to any client |
184
-
185
- All four forms run the same Python code underneath; CLI and MCP tools map one to one, so no form lacks capability.
186
-
187
- ## Why it's stronger than built-in search / AI search / metasearch
188
-
189
- > In short: the first three help **people** find information. Argo helps **agents** search and verify in one pipeline. The difference is the deliverable: a summary page or link list for humans vs ranked, reviewable, context-safe evidence for agents.
190
-
191
- <p align="center">
192
- <img src="assets/readme/why-better.svg" width="100%" alt="Left: three default searches made for humans; right: Argo's absorbable evidence JSON for agents">
193
- </p>
194
-
195
- | Dimension | Model built-in search | AI search (summaries) | Metasearch / engines | **Argo** |
196
- |-----------|----------------------|------------------------|----------------------|----------|
197
- | Result shape | Stitched long text | Human summary page | SERP link list | **Compact JSON: evidence candidates + credibility breakdown** |
198
- | Vertical questions (quotes / formulas) | Generic web | Generic web then summarize | Generic web | **Direct vertical sources, answer-shaped** |
199
- | Evidence credibility | No score | No structured score | No score | **selection · absorption · freshness · consensus** |
200
- | Repeat queries | Hit the network every time | Hit the network every time | Page cache | **Two-layer cache (memory + SQLite); hot queries ~10ms** |
201
- | Cost control | Uncontrollable | Expensive per call | Free but laborious | **Budget modes; free first; keys all optional** |
202
- | Multilingual | Follows the model | Follows the model | Follows the engine | **Language detect + engine locale params + multilingual routing** |
203
-
204
- > Mechanically, Argo treats search as an **evidence pipeline**: language detect → domain route → multi-engine recall → RRF fuse → evidence skim. The output is material an agent can rank, `fetch` to verify, and keep inside context.
205
-
206
- ---
207
-
208
- ## What changed in search by 2026
209
-
210
- 1. **From links to evidence.** Agents need structured material they can rank, verify and fit in context — Argo returns credibility-decomposed JSON, not SERP lists.
211
- 2. **Context is the first cost.** A single page scrape can burn 10k+ tokens; Argo's agent profile is ~3.7KB per call, with field sets and byte budgets pinned by gates.
212
- 3. **Sites now prepare content for AI.** llms.txt and `.md` direct-out are spreading across major doc sites — Argo's fetch chain probes them at level 0, with an r.jina.ai reader fallback.
213
- 4. **The free/open ecosystem is enough.** Government, academic, standards and security open APIs plus keyless engines cover most domains (most sources need no key).
214
- 5. **Quality is measurable.** Ranking golden floors, fusion-ablation gates and negative routing controls — "is this version better" is now a number, not a vibe.
215
-
216
- > All five are already shipped across the v2.9.x line. Details in [docs/为什么选择argo.md](docs/为什么选择argo.md).
217
-
218
- ---
219
-
220
- ## Query-shaped routing
221
-
222
- <p align="center">
223
- <img src="assets/readme/proof-routes.svg" width="100%" alt="Four real routes: finance, film, multilingual, geo">
224
- </p>
225
-
226
- | You ask | What tends to happen |
227
- |---------|----------------------|
228
- | python asyncio error handling | Coding-QA domain → StackOverflow/StackExchange official API, with score & accepted-answer markers |
229
- | AAPL / US pre-market | US equities domain, split from A-shares |
230
- | 肖申克的救赎 主演 / Inception director | Film domain → IMDb etc. |
231
- | 梅西 俱乐部 / 库里 球队 | Sports domain → TheSportsDB etc. |
232
- | 埃菲尔铁塔在哪 / where is Eiffel Tower | Geo entity → OpenStreetMap etc. |
233
- | NASA founding year / 国务院职能 | Org entity → Wikidata etc. |
234
- | 周杰伦 专辑 / Taylor Swift album | Media domain → iTunes etc. |
235
- | アニメ おすすめ / 한국 영화 추천 | Detect JA/KO → language-friendly sources; avoid Chinese-only sites |
236
- | US CPI, Japan inflation | Macro domain; country split (national authoritative sources first) |
237
- | log4j CVSS / nodejs 22 end of life | Security → NVD official; lifecycle → endoflife.date |
238
- | attention is all you need | Academic → arXiv/OpenAlex/CrossRef metadata with DOI links |
239
- | 阿司匹林 分子式 | Chemistry → PubChem-style answers |
240
- | TSMC valuation debate (deep research) | Sub-questions + parallel sources; verticals boosted |
241
-
242
- ---
243
-
244
- ## How it works
245
-
246
- <p align="center">
247
- <img src="assets/readme/workflow.svg" width="100%" alt="Query → language & domain → multi-engine recall → RRF → evidence → unified JSON">
248
- </p>
249
-
250
- ```
251
- query
252
- ├─ intent clarify (optional)
253
- ├─ query rewrite (optional; routing still sees original intent)
254
- ├─ language detect + language preference
255
- ├─ route (domain rules + TF-IDF + budget + lang supplements + hot-path cache)
256
- ├─ multi-engine recall (circuit breaker / negative cache / parallel)
257
- ├─ staged empty-result recovery (widen → same family/general → cross-lang; anti-pollution)
258
- ├─ RRF fusion + optional re-rank
259
- ├─ evidence skim (authority · density · freshness · consensus)
260
- └─ unified JSON (incl. engine_outcomes / recovery)
261
- ```
262
-
263
- ### Evidence scoring (short)
264
-
265
- ```
266
- selection ≈ domain authority; SERP / redirect shells ranked very low
267
- absorption ≈ density of numbers / definitions / comparisons / disclosures
268
- freshness ≈ publish time (ignores historical comparison years like “since 2015”)
269
- composite ≈ 0.40·selection + 0.35·absorption + 0.15·freshness + 0.10·engine score
270
- ```
271
-
272
- Results include `selection`, `absorption`, `credibility_fast`, `evidence_flags`, etc. so agents can sort directly.
273
-
274
- ### Agent discipline (recommended)
275
-
276
- 1. **High-stakes questions** (positions, safety, “is this true?”): search → read fast scores → `fetch` top hits → then conclude
277
- 2. **Numbers**: state the计算方式 (definition/scope); when sources conflict, list them—don’t force a merge
278
- 3. **SERP / redirect pages**: never treat as primary sources
279
- 4. **Social posts**: sentiment and narrative, not ground truth
280
- 5. **Fact-check**: prefer a few stratified queries (source / comparison / subject)
281
-
282
- ---
283
-
284
- ## Quick start
285
-
286
- Pick any path. **npm install is supported, current version 2.14.0**, published from this repo like GitHub. The npm route uses `npm install -g argo-search` or `npx -y argo-search`, is released per tag, with a pinned version and a smaller download. The GitHub route uses `install.sh` / `install.ps1` or `npx github:taxueseek/argo` and follows main. From now on every tag push makes CI publish both npm packages together with the GitHub Release; the older v1.0.1 on the registry is a historical version, do not pin to it.
287
-
288
- **Zero-config works**: without API keys, free engines + local `local_*` engines run; keyed engines are skipped when missing (and usually better when present).
289
-
290
- ### Option 1: Install script (best for long-term local use)
291
-
292
- ```bash
293
- curl -fsSL https://raw.githubusercontent.com/taxueseek/argo/main/scripts/install.sh | bash
294
- ```
295
-
296
- Custom home + Skill link:
297
-
298
- ```bash
299
- curl -fsSL https://raw.githubusercontent.com/taxueseek/argo/main/scripts/install.sh \
300
- | bash -s -- --home "$HOME/.local/share/argo" --link "$HOME/.claude/skills/argo"
301
- ```
302
-
303
- Verify:
304
-
305
- ```bash
306
- python3 ~/.local/share/argo/scripts/search.py "python asyncio error handling" --json
307
- python3 ~/.local/share/argo/scripts/search.py --list-engines
308
- ```
309
-
310
- ### Option 2: MCP from GitHub (fast agent attach)
311
-
312
- Needs **Node.js 18+** and **Python 3.9+**. Once:
313
-
314
- ```bash
315
- pip3 install pyyaml
316
- ```
317
-
318
- ```bash
319
- npx -y github:taxueseek/argo
320
- ```
321
-
322
- Client config (Claude Code / Cursor / Kimi, etc.):
323
-
324
- ```json
325
- {
326
- "mcpServers": {
327
- "argo": {
328
- "command": "npx",
329
- "args": ["-y", "github:taxueseek/argo"]
330
- }
331
- }
332
- }
333
- ```
334
-
335
- More stable, no Node: install via Option 1, point at local Python:
336
-
337
- ```json
338
- {
339
- "mcpServers": {
340
- "argo": {
341
- "command": "python3",
342
- "args": ["/path/to/argo/scripts/mcp_server.py"]
343
- }
344
- }
345
- }
346
- ```
347
-
348
- Unusual Python path: `export ARGO_PYTHON=/path/to/python3` (read by the npx entry only).
349
-
350
- ### DeepSeek Harness one-line plugin
351
-
352
- Two install paths inside DeepSeek Harness:
353
-
354
- ```bash
355
- # A: 19 mcp__argo__* tools (main-package bundle, same as full MCP)
356
- dsh plugin --profile web add argo-search # npm release
357
- dsh plugin --profile web add "github:taxueseek/argo" # GitHub main
358
-
359
- # B: search tools + wide_research parallel research orchestration (subpackage)
360
- dsh plugin --profile web add @taxueseek/argo-dsh # npm release
361
- dsh plugin --profile web add "github:taxueseek/argo#main&path:packages/dsh-plugin"
362
- ```
363
-
364
- Restart `dsh web` after install. See `packages/dsh-plugin/`.
365
-
366
- ### Option 3: git clone (dev / patch source)
367
-
368
- ```bash
369
- git clone https://github.com/taxueseek/argo.git
370
- cd argo
371
- pip3 install pyyaml
372
- bash scripts/install.sh --link ~/.claude/skills/argo # optional
373
- python3 scripts/search.py --list-engines
374
- ```
375
-
376
- ---
377
-
378
- ## Platforms
379
-
380
- | Platform | Integration | Notes |
381
- |----------|-------------|-------|
382
- | **Claude Code** | MCP / Skill link | `npx` or `mcp_server.py`; `link_source.py` ok |
383
- | **Kimi / Grok Build** | MCP Server | same |
384
- | **Cursor / Cline / Continue** | MCP | any MCP-capable IDE plugin |
385
- | **CLI** | `search.py` / `bin/argo` | scripts, cron, manual debug |
386
- | **Python projects** | `from search import super_search` | library call |
387
-
388
- ### Post-install check
389
-
390
- ```bash
391
- python3 --version # 3.9+
392
- python3 -c "import yaml; print('PyYAML OK')"
393
- python3 -m pytest tests/test_unit.py -q # optional
394
- python3 scripts/search.py --list-engines
395
- ```
396
-
397
- ---
398
-
399
- ## Capabilities
400
-
401
- | Capability | What it does | Entry |
402
- |------------|--------------|-------|
403
- | Unified search | route → recall → fuse → skim score | `search.py` / `argo_search` |
404
- | Local file search | on-disk code/notes/memory (offline) | `argo_local_search` |
405
- | Local text preview | whitelist-dir preview (fail-closed) | `argo_local_read` |
406
- | Recompute | sandboxed numeric recalc (deny by default) | `argo_recompute` |
407
- | Deep research | sub-questions, multi-source, gap hints | `research.py` / `argo_research` |
408
- | Credibility | authority / density / freshness / cross-check | `evidence.py` / `argo_evidence` |
409
- | Intent clarify | polysemy, brand collisions, strategy hints | `clarify.py` / `argo_clarify` |
410
- | Page fetch | HTTP first, browser fallback when needed | `argo_fetch` (`mode=extract` for structure) |
411
- | Screenshot / PDF | page shots, structured PDF extract | `argo_screenshot` / `argo_pdf` |
412
- | Site crawl | list-page batch crawl | `argo_crawl` |
413
- | Query operators | `site:` / `-site:` / `-term` / `-"phrase"` / `"phrase"` / `lang:` / `after:` / `before:` stripped from routing and retrieval (details in references/usage.md) | write directly in the query |
414
- | Trust signals | `authority_level` discrete grade (0-4, >=3 highly authoritative) + `summary` agent-grade digest (backfilled after verification) | result fields, visible via `--fields agent` |
415
- | Social / sentiment | Weibo / Xiaohongshu / Bilibili / Reddit / X … | `argo_social_search` |
416
- | DSH native tools | once installed as a DSH plugin, `argo_search` / `argo_fetch` and friends become first-class host tools running as CLI single-shots with zero standing token overhead | call directly after `dsh plugin add` |
417
- | DSH web seam | the host's built-in `web_search` / `web_fetch` route to argo's engine and fetch chains (HTTP first, auto-escalating to a browser on Cloudflare / JS-rendered pages) | registered by default by the plugin; pin `searchProvider` / `fetchProvider` in the profile |
418
- | DSH settings page | six sections — Access / Tools / Engines / Keys / Research / Advanced — effective on save; keys go to the host credential store and are never echoed | settings popup `Cmd+,` → left menu "Argo" |
419
-
420
- ### Budget modes
421
-
422
- | Mode | Best for | Behavior |
423
- |------|----------|----------|
424
- | `fast` | simple Q, need speed | free engines first; skip paid re-rank |
425
- | `auto` | daily default | cost-aware quality/spend tradeoff |
426
- | `deep` | research, surveys | quality first; more engines allowed |
427
- | `budget` | tight quota | quota control; degrade when exhausted |
428
-
429
- ### Rough capability set (v2.14.0)
430
-
431
- What Argo does, in one sentence: it sends each question to the right sources by domain and language, ranks what comes back by credibility, and hands the agent material it can sort and verify. Search, fetch, evidence checking and local file search share one pipeline, the 19 MCP tools map one-to-one onto CLI commands, so nothing is missing whichever form you install. A few standalone commands round it out: argo tweet packs an X post, argo auth handles login state, argo job aggregates job listings. The full catalog, with cost, key and status per source, sits in docs/ENGINE_CATALOG.md: **Hundreds of sources, most usable with no key; exact counts in [docs/ENGINE_CATALOG.md](docs/ENGINE_CATALOG.md)**.
432
-
433
- Installed as a DSH plugin, these capabilities become native host tools: the hot-path search and fetch are on by default, the long-tail forensics tools toggle on in the settings page, and argo's own 28 behaviour switches (cache, rerank, dedup, guard, proxy, TTLs and the rest) moved out of environment variables and into the panel. Keys go into the host credential store, are never echoed, and every change takes effect on save.
434
-
435
- The last few releases each fixed one class of problems.
436
-
437
-
438
- v2.14.0 focuses on parser layer consolidation, source expansion, and the badcase ledger loop. Adding a new source no longer requires writing a Python parser: a parser registry and a "self-reflective inference parser" infer the parsing rules from declared field paths — zero config, no `output_map`; `argo doctor` now audits parse paths so a broken parser surfaces as a real error instead of a mysterious "this source returned 0 results", which previously could not be distinguished from a genuine empty result. Sources grow 290 → 300 (Mwmbl, Kaggle, HuggingFace Papers, grep.app, OpenAIRE, Mojeek, Repology, DBpedia, 4get, plus three revived sources). Local retrieval gets four improvements: machine-specific path hardcoding removed, multi-environment adaptive asset discovery, FTS5 index slimming with lemmatization, and a cross-platform pure-stdlib fallback. The badcase ledger loop is the headline: the ledger gains an attribution layer (12 root causes; insufficient evidence yields "unattributed" rather than a guess) and a recurrence gate — the same root cause on 3 distinct days triggers "promote this to a hard rule", with live-web ranking drift excluded. The same release adds the `AGENTS.md` routing table and `docs/COMMIT_STANDARD.md`; high-risk commits must state what was run, on which commit, and what was not — the response to two real incidents where a change passed pre-commit yet failed the full regression suite.
439
-
440
- v2.13.0 focuses on documentation consolidation and state layer consolidation. `docs/` slimmed from 87 to 26 files: deleted `docs/engines/` 60 files (duplicated with `engines/specs/*.yaml` SSOT), archived 18 process reports to `docs-local/archive/` (not in public repo, local traceability), added `docs/CHANGELOG.md` merging 23 RELEASE_NOTES, 27 dead links in README now point to CHANGELOG. State layer `scripts/engine_states.py` expanded from 12 to 22 state machines, 34 modules reference it, literal residuals 19→0; fixed silent degradation from 4 hand-copied rerank degraded sets, `health_check --category` crash, daemon state inferred from Chinese text. Dispatch layer: deep-mode full-parallel branch adds `tail_grace_s`, median 10,000ms → 2,324ms, count unchanged. 165 engine declarations migrated from `config.yaml` to `engines/specs/*.yaml`, `config.py` merge logic from dual-source override to one-way specs→config, 3523 lines deleted. Dependencies consolidated to uv (`uv.lock` pinned + `.python-version` + `pyproject.toml` SSOT).
441
-
442
- v2.12.0 ships the unified settings center: one entry point, `argo settings`, to inspect and edit the configuration shared by every client (masked keys, per-client onboarding snippets, live switch values), with a zero-service write-back channel — fulfilling issue #44. Community-contributed pixiv keyword image search (anonymous Web / OAuth App dual channel) and a built-in trace.moe scene-recognition engine bring the source count to 288; fetch stops leaving WeChat articles unhandled; and the scheduling/routing algorithms get internal refinements.
443
- v2.11.2 focuses on closing external feedback. It adds SauceNAO, AnimeTrace, and Google Lens as explicit-only reverse-image engines and removes the dead tineye; fixes four silent-failure classes — keyRefs credentials never reaching subprocesses (key-needing engines no longer return skipped-missing-env), quota not self-healing on key rotation and 402 wrongly locking 30 days, and social-engine subprocess env / credential forwarding; and routes lint_spec_contracts through the shared YAML loader, clearing main's unit/extras shard failures.
444
-
445
- v2.10.2 focuses on semantic routing and the test foundation. Relevance anchor weighting and a static concept vector table landed; a 13-case human-labeled route set plus an executability gate raised labeled accuracy from 76.9% to 100% — principle/explainer queries no longer fall into academic libraries and platform-guide queries no longer trigger social listening. 123 of 201 routing-snapshot decisions (61%) moved from tfidf scoring to regex/concept direct-match, faster and more assertable. The circuit-breaker factory now resolves at call time, so the same module loaded from different paths no longer keeps separate breaker states. Snippet tag hygiene and caliber dedup join output assembly. The three-tab ZCode panel landed, and ARGO_* env vars are snapshot-restored per test case, closing sporadic ordering pollution. Concept semantic routing is off by default; enable with ARGO_CONCEPT_ROUTER=1.
446
-
447
- v2.10.1 focuses on routing precision consolidation and community issue fixes. It introduces the declarative @commercial_market intent exclusion macro to prevent pharma commercial queries (market size, volume-based procurement, revenue) from falsely hijacking bioinformatics databases like UniProt (#34.1); adds a keyless overseas video lane via parallel_free with site:youtube.com and strips YouTube tracking params (#34.3); eliminates the local-seek zero-match double-run tax, surfacing missing-tool warnings and prioritizing SQLite FTS5 (#34.4); adds url_kind: none support for URL-less specs and guards against empty placeholder bare prefix dead links (#29); fixes engine_status unknown engine reporting and cleans up orphan specs (#29, #34.6); and decouples the nightly drift gate by removing automatic baseline auto-commits (#35).
448
-
449
- v2.10.0 widens the capability surface. Sources grow from 272 to 284: five Metaso tiers (scholar, library, image, video, podcast), Sciverse records, NCPSSD Chinese social science, plus three DSH plugin catalogs and two skill indexes — the skill sources carry install counts for the first time. Video works end to end, from query to fetch: a new video domain with --video, duration filters, Bilibili subtitles on fetch and YouTube timedtext. The crawl chain gained frontier quality control and polite pacing — per-host rate limits, 429 backoff — and watch now separates noise from substantive change. General source selection uses measured ordering, English general queries get a conditional DeepSeek hedge, and response bodies go through one decoder with JSON-LD. The installer takes the venv path, so PEP 668 environments no longer end up without their dependencies.
450
-
451
- v2.9.9 is a security-and-delivery-quality release. The content-security engine used to score web content but not stop it: a high-risk injection page went straight into the pipeline. Now anything over the risk threshold is quarantined, the cleaned text replaces the original, and it never reaches the evidence score. The network egress gains two layers of defense: redirects are validated hop by hop, and the resolved address is pinned to the connection, closing the DNS-rebinding window. On the dispatch side, results from slow engines abandoned by early-stop are no longer thrown away: they are collected in the background, delivered as usual if they finish within the grace window, and their real performance finally reaches the learner. A six-family scan of real-world scenarios tightened five classes of mis-routing: A-share financial queries, corporate due-diligence / invoicing / person-to-company lookups, civil-law practice, drug leaflets and paper-writing how-tos all land where they should. New this round: `argo engine add` wires a new engine up in one step, and the DSH settings page gains a route-observation card with tool recommendation combos.
452
-
453
- v2.9.8 is a routing-precision and feedback-loop release. The three problems in issue #18 — "latest" being routed into realtime news, people_daily returning its default feed when nothing matches, and local_bing matching only "2026" — were all reproduced and fixed. Replaying real queries along the same lines tightened 16 more classes of false triggers: "snow" inside brand names, "Volcano Engine" inside product names, UI-troubleshooting "icons", "code" inside business/finance field names, and "exchange rate" inside code/library queries. A SERP coverage gate and CJK cross-validation now stop "it returned something" from counting as "it is relevant". Thanks to @wpp666 for the reproduction and diagnosis.
454
-
455
- v2.9.7 fixed three long-standing ones. When an AI inside a DSH host asked to read a URL, the host used its own fetcher, so short-link redirects and JS challenge pages often failed outright while argo's fetch chain sat unused; this release wires the host's reads through argo, and those pages go from failing to succeeding, with static pages unchanged. The routing candidate pool used to hold 18 explicit-only engines, and if one was ever auto-selected the only paid engine would quietly bill you; the pool is clean now, and using them requires saying so. Every engine success used to take a file lock and rewrite breaker state on disk; healthy engines now cost zero file I/O, and multi-engine accounting commits in one transaction. The license also moved from MIT to Apache-2.0, which sits easier with commercial users.
456
-
457
- After that the DSH plugin gained another layer: the settings page grew from five sections to six, the new "Engines" section brings argo's behaviour switches into the panel (they used to be env-var only), the keys page now shows whether each key comes from the credential store, the startup environment or `.env`, and tool toggles, timeouts, concurrency and research caps all apply on save. Cancellation now reaches the connection-establishment stage too — when the AI stops mid-flight, an argo subprocess that is still being spawned is killed immediately instead of waiting out its timeout.
458
-
459
- v2.9.6 handled query operators and the transport layer. A query like site:github.com foo used to have its operator treated as a plain word, or parsed but never applied; a contract layer now strips operators before routing and caching, applies site: as a real filter, and folds it into the cache key, so two searches don't bleed into each other. On transport, every POST used to re-pay the TLS handshake, 320 to 561 ms of it; with connections pooled, a resident MCP process saves that on every query. This release also added the official DeepSeek search engine, billed per call and kept out of the everyday combos.
460
-
461
- v2.9.5 added FX rates and tightened dedup. Asking for the USD/CNY rate used to spin through the macro domain and land on an encyclopedia entry, 1.4 s with no answer; a dedicated fx domain now answers in 675 ms with the live rate and daily news. Dedup gained site-suffix normalization and a fuzzy second pass, so official docs with separators in the title stop getting pushed to the back.
462
-
463
- v2.9.4 fixed the explicit-engine path. Pinning --engine X used to get a blanket cache TTL; with domain determination in place, the TTL follows the domain, and a missing fallback engine no longer triggers an empty re-run of the same engine.
464
-
465
- Per-version detail lives in "Recent updates"; release notes for each version are in docs/.
466
- ---
467
-
468
- ## Engines & routing
469
-
470
- Source, keyless and domain counts are maintained by the generator in [docs/ENGINE_CATALOG.md](docs/ENGINE_CATALOG.md) (see `config.yaml` and `--list-engines`).
471
-
472
- ### Direct & vertical (excerpt)
473
-
474
- | Engine | Scenario | Cost bias |
475
- |--------|----------|-----------|
476
- | anysearch / duckduckgo | general / tech | free |
477
- | sina_quote / tencent_quote / eastmoney | A-share quotes / flows | free |
478
- | finviz / seeking_alpha | US & overseas finance | depends |
479
- | imdb / itunes / thesportsdb | film / music / sports | mostly free |
480
- | local_openstreetmap / wikidata / wikipedia | geo / org / encyclopedia | free |
481
- | arxiv / semantic_scholar / openalex | academic | mostly free |
482
- | pubchem / gbif / rfc_editor | chemistry / species / standards | free |
483
- | github / stackoverflow / pypi / npm | code & packages | depends |
484
- | byted / bocha / metaso / octen / yuanbao | Chinese web / AI search | API / low cost |
485
- | hkex / shfe / cfets / defillama / gleif | HKEX announcements / SHFE / RMB central parity / DeFi / legal entity IDs | Free |
486
- | zhihu / wechat_sogou | Chinese opinion / WeChat | API / free |
487
- | tavily / felo / exa | international / semantic | paid or quota |
488
- | twitter / reddit / xiaohongshu / bilibili / weibo | social UGC | free (some need login) |
489
-
490
- ### Local zero-cost layer (`local_*`)
491
-
492
- No separate SearXNG service. Main path uses in-process HTML / RSS / JSON parsing (`local_bing`, `local_sogou`, `local_google`, `local_arxiv`, …). For **multilingual queries**, routing rewrites engine language params (e.g. Bing `setlang`) and fuses with RRF.
493
-
494
- ---
495
-
496
- ## Examples
497
-
498
- ### Finance
499
-
500
- ```bash
501
- python3 scripts/search.py "python asyncio error handling" --explain
502
- # typical: stock_query → quote snapshot sources
503
- ```
504
-
505
- ### Academic
506
-
507
- ```bash
508
- python3 scripts/search.py "transformer attention mechanism paper" --json
509
- # domain often academic; combo includes arxiv etc.
510
- ```
511
-
512
- ### Research & verify
513
-
514
- ```bash
515
- python3 scripts/research.py "2026 mutual fund Q2 holdings structure" --depth deep --json
516
-
517
- python3 scripts/search.py "same query" --json | \
518
- python3 scripts/evidence.py "same query" --stdin --json
519
- ```
520
-
521
- ### MCP tools (12)
522
-
523
- | Tool | Purpose |
524
- |------|---------|
525
- | `argo_search` | unified search |
526
- | `argo_local_search` | local files (offline) |
527
- | `argo_local_read` | whitelist local text preview (fail-closed) |
528
- | `argo_recompute` | sandboxed recalc (deny by default; needs auth) |
529
- | `argo_research` | deep research (incl. social-sentiment mode) |
530
- | `argo_evidence` | credibility scoring |
531
- | `argo_clarify` | intent disambiguation |
532
- | `argo_fetch` | smart fetch (`mode=extract` structured extract) |
533
- | `argo_crawl` | site crawl |
534
- | `argo_screenshot` | page screenshot |
535
- | `argo_pdf` | PDF extract |
536
- | `argo_social_search` | multi-platform social (`mode=sentiment`) |
537
-
538
- ---
539
-
540
- ## Install & config
541
-
542
- ### Requirements
543
-
544
- | Item | Requirement |
545
- |------|-------------|
546
- | Python | 3.9+ (CLI + MCP core) |
547
- | Deps | `pip install pyyaml` (only hard dependency) |
548
- | Node.js | **only** for `npx` entry, 18+ |
549
- | SearXNG | not required (built-in local engines) |
550
-
551
- ### API keys (all optional)
552
-
553
- Missing keys skip that engine; free engines backstop. **Use env vars**—never commit real keys or paste them into issues.
554
-
555
- ```bash
556
- # recommended (better quality)
557
- export TAVILY_API_KEY="your_key"
558
- export BOCHA_API_KEY="your_key"
559
- export METASO_API_KEY="your_key"
560
- export ZHIHU_ACCESS_SECRET="your_key"
561
-
562
- # optional
563
- export BRAVE_API_KEY="your_key"
564
- export FELO_API_KEY="your_key"
565
- export GITHUB_TOKEN="your_key"
566
- export WEB_SEARCH_API_KEY="your_key"
567
- export ANYSEARCH_API_KEY="your_key"
568
- export OCTEN_API_KEY="your_key"
569
- export ARGO_KEENABLE_API_KEY="your_key" # optional; Keenable free trial
570
- ```
571
-
572
- `config.yaml` only stores `{ENV_NAME}` placeholders—no plaintext secrets in git.
573
-
574
- ### Cache
575
-
576
- Default SQLite path is `cache.db_path` in `config.yaml` (usually `~/.cache/unified-search/cache.db`).
577
-
578
- | Type | Approx. TTL |
579
- |------|-------------|
580
- | Finance | ~5 min |
581
- | News / realtime | ~10–15 min |
582
- | General | ~1 hour |
583
- | Research / evergreen | ~2–24 hours |
584
- | Empty results | very short (avoid freezing “no hits”) |
585
-
586
- ### FAQ
587
-
588
- **Works without API keys?**
589
- Yes. Many local free engines and free APIs; unkeyed path is automatic.
590
-
591
- **Install script vs npx?**
592
- Script: fixed local install, config, Skill link. npx: attach MCP fast. Same Python core.
593
-
594
- **How to check engines?**
595
- `python3 scripts/search.py --list-engines`, or add `--explain`.
596
-
597
- **Multiple code copies in the repo?**
598
- No. Prefer one source + symlinks via `link_source.py`, not rsync clones.
599
-
600
- ---
601
-
602
- ## CLI flags
603
-
604
- ```
605
- python3 scripts/search.py [options] query
606
-
607
- --engine, -e engine, default auto
608
- --max-results, -n count, default 5
609
- --depth, -d fast | balanced | deep
610
- --mode fast | auto | deep | budget
611
- --no-cache skip cache
612
- --explain print routing explanation
613
- --json JSON output
614
- --timeout, -t timeout seconds
615
- --list-engines list engines
616
- ```
617
-
618
- ---
619
-
620
- ## Design trade-offs
621
-
622
- 1. **Agent absorption first, link count second.**
623
- 2. **Free and local first; paid is optional lift.**
624
- 3. **Failures are observable**: empty / timeout / breaker are labeled—no silent swallow.
625
- 4. **Config-driven engines**; `config.yaml` is the single source of truth.
626
- 5. **Single-source install**: link entries, don’t rsync copies.
627
- 6. **Social is not a truth library**; good for expansion and sentiment, not sole ground truth.
628
-
629
- ---
630
-
631
- ## Good fits
632
-
633
- - Search backend for Claude Code / Grok Build / Codex / Kimi agents
634
- - **Multilingual, multi-domain** Q&A: CJK + EN + finance / film / sports / academic / code
635
- - Scripts and pipelines that need **reproducible, cacheable** retrieval
636
- - Fact-check and multi-source comparison of public finance / entity data
637
-
638
- Not a great sole solution for: platform-native engagement ranking, or long-lived max-recall aggregators (embedded local engines replace external SearXNG as the main path).
639
-
640
- ---
641
-
642
- ## Tree (short)
643
-
644
- ```
645
- argo/
646
- ├── README.md # Chinese (default)
647
- ├── README.en.md # English
648
- ├── README.ja.md # Japanese
649
- ├── README.ko.md # Korean
650
- ├── README.es.md # Spanish
651
- ├── SKILL.md
652
- ├── package.json # npx entry
653
- ├── bin/argo.js # Node MCP launcher
654
- ├── bin/argo # Python CLI
655
- ├── config.yaml # engines & domains (source of truth)
656
- ├── assets/readme/ # README visuals
657
- ├── backends/
658
- ├── mcp/ # MCP client inject source (clients.yaml)
659
- ├── scripts/ # search / research / mcp / install …
660
- ├── sub-skills/local-search/
661
- ├── sub-skills/ego-search/ # logged-in professional search (off by default)
662
- ├── tests/
663
- └── docs/
664
- ```
665
-
666
- ---
667
-
668
- ## Recent updates
669
-
670
- Only the four most recent versions. Full history in the [changelog](#changelog); per-release detail on [Releases](https://github.com/taxueseek/argo/releases).
671
-
672
- ### v2.14.0: Parser Layer Consolidation + 300 Sources + Badcase Ledger Loop
673
-
674
- - **New engines no longer need a hand-written parser**: added a parser registry and a "self-reflective inference parser" — declare the field path and the parsing rules are inferred automatically, zero config, no `output_map`; `argo doctor` now audits every source's parse path, so a broken parser surfaces as a real error instead of a mysterious "this source returned 0 results"
675
- - **Sources 290 → 300**: nine new declarations — Mwmbl, Kaggle, HuggingFace Papers, grep.app (official MCP code search), OpenAIRE, Mojeek, Repology, DBpedia, 4get — plus three revived sources (clinicaltrials / coingecko / fxtwitter). Eight are on by default; 4get stays off as an anonymous-search fallback
676
- - **Four local-retrieval improvements**: removed machine-specific path hardcoding (multi-environment adaptive asset discovery — moving to another machine no longer needs a code change); FTS5 index slimming, lemmatization and abbreviation boost, proximity clustering; cross-platform pure-standard-library fallback and public/local search isolation; observable cost, configurable candidates, intent prediction, result cap
677
- - **Local intent signals consolidated**: two-level signal driving and faceted channel isolation land; anomaly and private-identifier signals consolidated to a single source; fixed `cnii` double-registration silently disabling language-exclusive removal (English queries were running Japanese sources for nothing)
678
- - **Badcase ledger loop**: the ledger gains an attribution layer (12 root causes; when evidence is insufficient it says "unattributed" rather than guessing) and a recurrence gate — the same root cause appearing on 3 distinct days triggers "promote this to a hard rule". Live-web ranking drift does not count (that is not argo's problem). Also adds `AGENTS.md` routing table and `docs/COMMIT_STANDARD.md`; high-risk commits must state what was run, on which commit, and what was not
679
- - **State machines 22 → 27**: implicit state-machine census adds 3 (recovery level, conclusion cap, validation) plus badcase root cause (machine #27); new AST gate `test_state_literal_drift.py` turns red when a registered state value reverts to a bare literal
680
-
681
- ### v2.13.0: Documentation Consolidation + 22-State-Machine SSOT + Dispatch Tail Grace
682
-
683
- - **Documentation consolidation**: `docs/` slimmed from 87 to 26 files. Deleted `docs/engines/` 60 files (duplicated `engines/specs/*.yaml` SSOT); archived 18 process reports to `docs-local/archive/` (not in public repo, local traceability); added `docs/CHANGELOG.md` merging 23 RELEASE_NOTES; 27 dead links in README now point to CHANGELOG
684
- - **22 state machines SSOT**: `scripts/engine_states.py` expanded from 12 to 22 state machines, 34 modules reference it, literal residuals 19→0; fixed silent degradation from 4 hand-copied rerank degraded sets, `health_check --category` crash, daemon state inferred from Chinese text
685
- - **Dispatch tail grace**: deep-mode full-parallel branch adds `tail_grace_s`, median 10,000ms → 2,324ms, count unchanged
686
- - **Engine declaration SSOT**: 165 engine declarations migrated from `config.yaml` to `engines/specs/*.yaml`, `config.py` merge logic from dual-source override to one-way specs→config, 3523 lines deleted
687
- - **Dependencies consolidated to uv**: `uv.lock` pinned + `.python-version` + `pyproject.toml` SSOT, new `test_dependency_source_gate.py` mechanical drift check
688
-
689
- ### v2.12.0: Unified settings center + pixiv/trace.moe image engines + WeChat fetch branch
690
-
691
- - **Unified settings center** (#44, thanks @zooyoo): `argo settings` read-only overview page (keys masked to last 4 chars, onboarding snippets, live switch values); `--edit` form page + `apply` write-back; `set/unset/list` direct CLI edits (values read from stdin, never in argv or shell history); `argo ui` as an alias. Zero-service tradeoff: no port, no auth lifecycle, write-back unified in env_store (atomic write + 0600)
692
- - **pixiv keyword image search** (PR#45, thanks @OMSociety): anonymous Web / OAuth App dual channel (results carry `channel`), R-18 filtered by default, optional `ARGO_PIXIV_REFRESH_TOKEN`; `explicit_only`
693
- - **trace.moe scene recognition**: image URL -> anime title/episode/timestamp (AniList); keyless with per-egress-IP rate limit, `ARGO_TRACEMOE_PROXY` override; `explicit_only`
694
- - **WeChat article fetch branch**: mp.weixin.qq.com gets a dedicated pre-branch with exact host+path matching, no longer blocked by the anti-crawl challenge page
695
- - **Algorithm refinements**: hedge grace window / tail layering / query signals / TF-IDF routing / scenario-bucket shrinking, 52 unit tests green (prior-design improvements, no live A/B yet)
696
- - **Plugin and docs closeout**: dsh plugin specs decoupled (fast-adapt 100/100), version single-source converged, env_store line-join and `.bak` 0600 fixes
697
-
698
- ### v2.11.2: Reverse-image engines added + four silent-failure classes closed + main-CI fix
699
-
700
- - **Reverse-image search filled in**: SauceNAO (Pixiv/Pawoo sources), AnimeTrace (character/work -> Bangumi), Google Lens (SerpAPI, three match tiers) — all `explicit_only`; the dead tineye (HTTP 422) is fully removed
701
- - **keyRefs credentials finally reach key-needing engines** (#41): the dsh plugin's search/fetch providers now carry `hostCredentials` into the MCP pool, so engines no longer return `skipped-missing-env`
702
- - **Quota state machine, three fixes** (#42): key_fp sourced from `required_env` (13 engines self-heal on key rotation), HTTP 402 balance errors get a 1h cooldown instead of a 30-day lock, and the error text now points to `quota.py reset`
703
- - **Social engine env fix** (#36): xhs/twitter subprocess gets UTF-8 env, `NO_PROXY [::1]` stripped, and `TWITTER_*` credentials + proxy forwarded
704
- - **Main-CI fix**: `lint_spec_contracts.py` now goes through the shared `yaml_load`, turning main's unit/extras shards green
705
-
706
- ### v2.10.2: Semantic routing in three steps + labeled accuracy 76.9%→100% + circuit-breaker split fix
707
-
708
- - **Labeled route accuracy 76.9%→100%**: a 13-case human-labeled set plus an executability gate close two intent-collision classes — principle/explainer queries no longer land in academic libraries, platform-guide queries no longer trigger social listening; 123 of 201 snapshot queries (61%) moved from tfidf scoring to regex/concept direct-match
709
- - **Zero-dependency semantic routing foundation (off by default)**: a 3104-line static concept vector table + builder landed; turn on with `ARGO_CONCEPT_ROUTER=1`
710
- - **Circuit-breaker module-alias split fixed**: the factory now resolves at call time, so the same module loaded from different paths no longer keeps separate breaker states; a 116-line regression locks it
711
- - **Output assembly cleanup**: snippet tag hygiene (strip inline tags & HTML entities) and caliber dedup
712
- - **ZCode panel three-tab version landed**: dashboard/keys/diagnostics (CSS variables + dark mode), aligned with the machine-verified deliverable
713
- - **Test env hardening**: ARGO_* env vars are snapshot-restored per case, closing sporadic full-suite reds
714
-
715
- ### v2.10.1: Routing precision consolidation + commercial intent macro + overseas video lane + community fixes
716
-
717
- - **Commercial intent macro `@commercial_market`**: applied across `protein_search`, `chem_search`, and `medical` so pharma commercial queries yield to general search (#34.1)
718
- - **Overseas video lane & YouTube dedup**: `video` domain and `--video` integrate keyless `parallel_free` with `site:youtube.com` and strip `vl`/`si` tracking params (#34.3)
719
- - **Eliminate local-seek zero-match double-run tax**: fixed zero-hit status to cache cleanly, surface structured `warnings[]` when `rg`/`grep` are missing, and prioritize stdlib SQLite FTS5 (#34.4)
720
- - **URL-less spec support & placeholder dead link guard**: specs can declare `url_kind: none` (first applied to `sciverse.yaml`), and `_format_url_template` stops building bare prefix links (#29)
721
- - **Engine status consistency & orphan cleanup**: unknown engines report `status="unknown", enabled=False`, expose `disabled_reason`, and orphan `_cisa_kev` / `_osv` specs are removed (#29, #34.6)
722
- - **Decouple nightly drift gate**: output size growth demoted to informational, removing automatic nightly baseline pushes to `main` (#35)
723
-
724
- ### v2.9.9: security in depth + slow-source results no longer dropped + five mis-routing classes closed
725
-
726
- - **High-risk page text can no longer reach the context**: the content-security engine upgrades from "score only" to "quarantine + clean replacement"; text with `risk_score ≥ 0.5` is replaced by its cleaned version and excluded from the evidence score. On by default; `ARGO_CONTENT_RISK_GATE=0` for an emergency override
727
- - **Network egress defense in depth**: redirects validated hop by hop (`ARGO_MAX_REDIRECTS`, default 5) + resolve-and-pin, closing the DNS-rebinding window
728
- - **Results from slow engines abandoned by early-stop are no longer dropped**: abandoned engines are collected in the background; whatever finishes within `ARGO_TAIL_COMPLETE_S` (default 3s, 0=off) is delivered as usual and recorded as a real score, with results merged back into the cache
729
- - **Five mis-routing classes closed**: A-share financial queries to `stock_query`, corporate due-diligence / invoicing / person-to-company to `company_search`, civil-law practice to `flk_law`, drug leaflets no longer stolen by the "usage" token, paper-writing how-tos no longer routed to academic search
730
- - **`argo engine add`**: one-step engine onboarding; the manual spec/env/validate/sync/combo/allowlist chain becomes a single command
731
- - **Bucketed scenario learning + ZCode plugin package**: routing can now tell "strong in domain A, weak in domain B"; skill+CLI direct channel and a zero-token panel shipped to zcode-plugins
732
-
733
- ### v2.9.8: routing precision audit + Tencent Yuanbao search + three more keyless sources + a structured failure list
734
-
735
- - **issue #18/#19 all fixed**: `latest` mis-routed into realtime news, people_daily default feed, local_bing matching only "2026", Chinese cross-validation always 0, nightly crash on empty logs; 16 more isomorphic false-trigger classes tightened along the way
736
- - **Yuanbao search**: a first-hand, official-voice Chinese source, sitting 2nd in the Chinese-general domain as an authority hedge. Key: `ARGO_YUANBAO_API_KEY`
737
- - **Three more sources usable with no key**: `tavily_free`, `keenable_free` and the `exa` anonymous fallback
738
- - **Failures you can act on**: each failure names its source and class and says whether to retry, switch sources or configure a key, alongside a `meta.uncertainty` confidence level
739
- - **Local config overlay `config.local.yaml`**: machine-local tuning is no longer written into the public config
740
- - **A new "Engines" section on the DSH settings page**: argo's 28 behaviour switches move out of environment variables and into the panel
741
-
742
- ---
743
-
744
- ## Changelog
745
-
746
- | Version | Notes |
747
- |---------|-------|
748
- | **v2.14.0** | **Parser Layer Consolidation + 300 Sources + Badcase Ledger Loop**: new engines no longer need a hand-written parser (registry + self-reflective inference parser, zero config, no `output_map`); `argo doctor` gains source audit; sources 290→300 (Mwmbl/Kaggle/HF Papers/grep.app/OpenAIRE/Mojeek/Repology/DBpedia/4get + three revived); four local-retrieval improvements (multi-environment adaptive asset discovery, FTS5 slimming and lemmatization, cross-platform pure-stdlib fallback, observable cost); local intent signals consolidated (fixed English queries running Japanese sources); badcase ledger gains attribution layer and Seen N× recurrence gate; new `AGENTS.md` routing table and `docs/COMMIT_STANDARD.md`; state machines 22→27. See [Release Notes](docs/RELEASE_NOTES_v2.14.0.md) |
749
- | **v2.13.0** | **Documentation Consolidation + 22-State-Machine SSOT + Dispatch Tail Grace**: `docs/` 87→26 (deleted `docs/engines/` 60, archived 18 process reports, added CHANGELOG); `scripts/engine_states.py` 12→22 state machines, 34 modules, literal residuals 19→0; deep-mode tail grace 10s→2.2s; 165 engine declarations migrated to `engines/specs/`; dependencies consolidated to uv. See [Release Notes](docs/RELEASE_NOTES_v2.13.0.md) |
750
- | **v2.12.0** | **Unified settings center + pixiv/trace.moe image search + WeChat fetch**: zero-service settings page and write-back via `argo settings` (#44, @zooyoo); pixiv dual-channel keyword image search (PR#45, @OMSociety); trace.moe scene recognition; dedicated WeChat fetch branch; sources 286→288. See [release notes](docs/RELEASE_NOTES_v2.12.0.md). |
751
- | **v2.11.2** | **Reverse-image engines + four silent-failure classes closed + main-CI fix**: adds SauceNAO/AnimeTrace/Google Lens as explicit-only reverse-image engines and removes the dead tineye; keyRefs credentials forwarded through the dsh plugin providers into the MCP pool (#41); quota key-rotation self-heal + 402 30-day lock fixed + reset hint (#42); xhs/twitter subprocess env and credential forwarding (#36); lint_spec_contracts through the shared YAML loader clears main CI. See [release notes](docs/RELEASE_NOTES_v2.11.2.md). |
752
- | **v2.10.2** | **Semantic routing in three steps + labeled accuracy 76.9%→100% + circuit-breaker split fix**: relevance anchor weighting + static concept vector table (`ARGO_CONCEPT_ROUTER=1`, off by default) + route accuracy consolidation — 13-case labeled set at 100%, 61% of snapshot decisions moved to concept direct-match; circuit-breaker factory resolves at call time, killing module-alias splits; snippet tag hygiene and caliber dedup; ZCode panel three-tab layout; test env snapshot-restore hardening. See [release notes](docs/RELEASE_NOTES_v2.10.2.md). |
753
- | **v2.10.1** | **Routing precision consolidation + commercial intent macro + overseas video lane + community fixes**: added `@commercial_market` macro across pharma domains; keyless overseas video via `parallel_free` + YouTube dedup; fixed local-seek zero-match double-run tax and missing-tool warnings; `url_kind: none` spec support and dead link guards; engine status consistency; decoupled nightly drift baseline. See [release notes](docs/RELEASE_NOTES_v2.10.1.md). |
754
- | **v2.10.0** | **284 sources + video search and fetch + crawl frontier quality control**: five Metaso tiers, Sciverse, NCPSSD and five DSH/skill index sources; a `video` domain with `--video`/`--min-duration`/`--max-duration`, Bilibili subtitles and YouTube timedtext with optional ASR; crawl frontier quality control and noisy-diff `argo watch`; measured general source selection with the DeepSeek English hedge and authority early-stop; venv-based installer. See [release notes](docs/RELEASE_NOTES_v2.10.0.md). |
755
- | **v2.9.9** | **Security in depth + slow-source results no longer dropped + five mis-routing classes closed**: high-risk text quarantined with cleaned replacement (excluded from the evidence score), hop-by-hop redirect validation and DNS-rebinding pinning; slow engines abandoned by early-stop are collected in the background (`ARGO_TAIL_COMPLETE_S`) and their real scores recorded; a six-family real-scenario scan closes academic/finance/corporate/legal/pharma mis-routing; plus `argo engine add` one-step onboarding, bucketed scenario learning, and the ZCode plugin package. See [release notes](docs/RELEASE_NOTES_v2.9.9.md). |
756
- | **v2.9.8** | **Routing precision audit + issue #18/#19 fixes + test-state isolation**: replayed real queries and tightened 16 classes of false triggers (brand/product names, field names, ASCII substrings); added the SERP coverage gate and CJK cross-validation; fixed the empty-log nightly ledger, people_daily default feed, and cached-result guarding; isolated adaptive/breaker state per test. Thanks to @wpp666 for the reproduction and diagnosis. See [release notes](docs/RELEASE_NOTES_v2.9.8.md). |
757
- | **v2.9.7** | **Architecture consolidation + DSH web_fetch seam + License to Apache-2.0**: MIT → Apache License 2.0. Host web_fetch now flows through argo's fetch chain (HTTP first, browser upgrade on JS challenges), and explicit-only engines leave the routing pool so auto mode cannot bill them by accident. |
758
- | **v2.9.6** | **DeepSeek Search engine + query operator contract + transport connection pooling + routing snapshot gate**: New `deepseek_search` engine, on by default (445-510ms; skipped without a key). Query operators (`site:`, `-term`, `lang:`, `after:`, `before:`) share one contract with real post-filtering; POST pooling saves 320-561ms per request. |
759
- | **v2.9.5** | **FX-rate dedicated domain + two-layer dedup + ranking false-kill fix + per-checkout daemon isolation**: New `fx_query` domain answers rate and parity questions in 675ms. Dedup gains site-suffix normalization plus an optional fuzzy check (`ARGO_DEDUP_FUZZY`), and a separator false-kill is fixed. |
760
- | **v2.9.4** | **Explicit engine domain attribution + recovery chain circuit-breaker + gate sync**: `--engine X` supplements domain matching, so cached results are no longer blanket-general, and single-engine runs skip the empty first level. `config.yaml` domain rules gained unless-terms handling. |
761
- | **v2.9.3** | **Full X post packaging + browser login-state lane + local-chain quality/speed fixes**: New `argo tweet` packs a full post into a `--out` bundle; `argo auth` adds browser login-state sessions excluded from the shared cache. English dispatch falls to 2.2-2.5s, image fingerprints 158ms→3.9ms. |
762
- | **v2.9.2** | **DSH 0.2.1-alpha.1 compatibility verified + routing/guard fixes + js-run sub-skill**: The DSH plugin is verified on DSH 0.2.1-alpha.1, and `argo mcp inject` adds WorkBuddy as a seventh host. Import cost drops 50%, and js-run (a new sub-skill) runs web JS with no browser, P50 ≈1ms. |
763
- | **v2.9.1** | **Content-quality optimization + content-farm resistance + latest-version adaptation**: Content-quality scoring better identifies and filters low-quality bulk-generated content, and local search gained a self-install-tree guard so argo's own source stops polluting results. |
764
- | **v2.9.0** | **Source optimization + plugin/CLI parity + minor languages**: Sources 237→253 (keyless 198→219), adding 14 minor-language news sources and the CORE full-text source; Baidu and Sogou are revived. Import −79%, rerank 33ms→1.5ms, new `argo stats`. See [release notes](docs/RELEASE_NOTES_v2.9.0.md) |
765
- | **v2.8.9** | **Output slimming + richer, faster retrieval + 5 international & fact-check sources**: Default output 15.5KB→5.2KB (−66%, `--envelope` restores the full envelope); slow-network dispatch −36%. Five keyless sources added, taking sources to 237 and keyless to 198. See [release notes](docs/RELEASE_NOTES_v2.8.9.md) |
766
- | **v2.8.8** | **Real-user fixes (#12 key-alias silence, #13 proxy-less fetch) + across-the-board speedups + sources 218 → 235**: One egress path for all traffic (`ARGO_PROXY`). Cold start 2.1s→0.55s; new `argo answer` and `argo watch` (page-change watching), web_general fallback 41%→20%. See [release notes](docs/RELEASE_NOTES_v2.8.8.md) |
767
- | **v2.8.7** | **218 sources / 89 domains + three fetch direct-out channels + routing trigger discipline + macro zero-result fix**: 218 sources across 89 domains after 50 new ones (statutes, standards, security, academia, news, legal). Fetch probes llms.txt and `.md` variants; `--engine` takes comma lists again. See [release notes](docs/RELEASE_NOTES_v2.8.7.md) |
768
- | **v2.8.6** | **Hedged racing + Zhihu three-source split + declarative language dispatch + reachability gate + academic search protocol**: First-engine grace-window racing lets fast engines pay one call. Zhihu global search and personal data are wired in, dead sources surface, geo tail latency drops 56%. See [release notes](docs/RELEASE_NOTES_v2.8.6.md) |
769
- | **v2.8.5** | **Native DSH plugin tools + MCP off by default + Windows compat + quota self-healing + fetch deadline**: `argo_search` and `argo_fetch` are now first-class tools; MCP is on demand only. Windows support (`install.ps1`), quota self-healing, and `ARGO_FETCH_DEADLINE_S` for the fetch deadline. See [release notes](docs/RELEASE_NOTES_v2.8.5.md) |
770
- | **v2.8.4** | **Local data fusion + multi-client MCP inject + structured search + Keenable**: Research L1 can draw on first-hand local data (`file_inputs`, `recompute`), and `argo mcp inject` wires clients from `mcp/clients.yaml`. Query normalization and `--include-local` added. See [release notes](docs/RELEASE_NOTES_v2.8.4.md) |
771
- | **v2.8.3** | **Multilingual routing fix + in-process anysearch + weighted RRF**: ja/ko queries return the target language; DE/FR/ES/IT via anysearch; weakest-link downweight (paper 2508.01405). See [release notes](docs/RELEASE_NOTES_v2.8.3.md) |
772
- | **v2.8.2** | **Windows + unified evidence semantics**: npm `os` limit removed; UTF-8 path against GBK crashes; main-package `dsh.bundle`; `wide_research` quality gate. See [release notes](docs/RELEASE_NOTES_v2.8.2.md) |
773
- | **v2.8.0** | **Evidence loop + jobs v3 + dual weather**: `fetch_required` / `--verify`; `argo job`; wttr.in + Open-Meteo; Parallel / You.com. See [release notes](docs/RELEASE_NOTES_v2.8.0.md) |
774
- | **v2.7.3** | Engine-layer HTTP client; TF-IDF activates 25 verticals; 70-domain TTL; bilingual verticals. See [release notes](docs/RELEASE_NOTES_v2.7.3.md) |
775
- | **v2.7.2** | Logged-in professional search (ego-search, off by default); JA/KO no longer mix Chinese engines. See [release notes](docs/RELEASE_NOTES_v2.7.2.md) |
776
- | **v2.7.1** | SSRF hardening + routing health-state fix. See [release notes](docs/RELEASE_NOTES_v2.7.1.md) |
777
- | **v2.7.0** | **Vertical structured modal cards**: Built-in `bocha` / `bocha_ai` engines; the `modal_card` domain recognizes real-time cards in one place: train tickets, fuel prices, calendar, horoscope, vehicles, hospital registration. See [release notes](docs/RELEASE_NOTES_v2.7.0.md) |
778
- | **v2.6.2** | Merged improvement lines: network-environment awareness, weighted RRF with semantic cache, adaptive engine disabling, content safety with query variants, vertical engines and ja-ko routing. See [release notes](docs/RELEASE_NOTES_v2.6.2.md) |
779
- | **v2.6.1** | v2.6.0 fix release: routing collateral-damage fix (`capital of` no longer grabs fact_check); version sync. See [release notes](docs/RELEASE_NOTES_v2.6.1.md) |
780
- | **v2.6.0** | **Multilingual search** (detect / engine params / cross-lang fallback); film·sports·geo·org·media verticals; recovery anti-pollution; capability families + matrix regression; ~120+ sources. See [release notes](docs/RELEASE_NOTES_v2.6.0.md) |
781
- | **v2.5.1** | Thicker finance/macro/chemistry answer sources; engine tiers + combo budget; [v2.5.1 notes](docs/RELEASE_NOTES_v2.5.1.md) |
782
- | **v2.5.0** | Install script + npx; rewrite decoupled from routing; hot-path cache; compact MCP |
783
- | **v2.4.0** | Low-score route fallback + social mis-route filters; cache depth / soft hits; breakers & negative cache; `engine_outcomes` |
784
- | **v2.2–v2.3** | Two-stage evidence, Chinese source table, content_signals, fetch stack, more engines |
785
- | **v2.1** | Social engine layer (multi-platform UGC) |
786
- | **v1.x** | Unified name Argo; multi-engine routing + two-layer cache |
787
-
788
- ---
789
-
790
- ## Contributing
791
-
792
- Issues and PRs welcome. When you change routing or evidence logic, please add tests:
793
-
794
- ```bash
795
- python3 -m pytest tests/test_unit.py tests/test_multilingual.py -q
796
- python3 scripts/regression_p0p1.py --offline
797
- python3 scripts/matrix_search_eval.py --offline
798
- python3 scripts/ab_eval_p0p1.py # optional, online
799
- ```
800
-
801
- Before commit: no real API keys, absolute machine paths, or account cookies. Local Skill paths belong in `installs.local.yaml` (gitignored).
802
-
803
- ## License
804
-
805
- Apache License 2.0 © 2026 [taxueseek](https://github.com/taxueseek)
806
-
807
- <p align="center">
808
- <a href="https://github.com/oil-oil/beautify-github-readme"><img src="assets/readme/made-with-beautify.svg" width="300" alt="README made with beautify-github-readme"></a>
809
- </p>
810
-
811
- ---
812
-
813
- > Good search is not about seeing more—it is about concluding with confidence, and knowing when you still should not.
814
-
815
- <p align="center">
816
- <picture>
817
- <source media="(prefers-color-scheme: dark)"
818
- srcset="https://api.star-history.com/svg?repos=taxueseek/argo&type=Date&theme=dark" />
819
- <source media="(prefers-color-scheme: light)"
820
- srcset="https://api.star-history.com/svg?repos=taxueseek/argo&type=Date" />
821
- <img alt="Star History Chart" width="560"
822
- src="https://api.star-history.com/svg?repos=taxueseek/argo&type=Date" />
823
- </picture>
824
- </p>
825
-
826
- If Argo has ever helped you reach a more confident conclusion, [give it a Star](https://github.com/taxueseek/argo/stargazers) to help more people find it.