Search

io.github.aimnis由 GitHub 帳號 aimnis 發布v0.1.0更新於 Oct 24, 2026

Collaborative, cache-first web search for agents — cited answers from a shared live-web pool.

已驗證Streamable HTTP可網頁執行網頁搜尋與抓取知識與記憶

概覽

AI 產生的概覽

遠端、快取優先的網頁搜尋閘道,為編碼代理提供來自共享即時網頁池、附來源引用的精煉答案。

可以做什麼
  • 提出問題即可取得附來源引用的精煉答案;若類似問題曾被問過,會直接從共享語意快取即時回傳。
  • 快取未命中時即時檢索網頁,將結果精煉為簡短且附引用的答案,經品質檢核後加入知識池。
  • 每個答案附帶來源與新鮮度資訊:所用模型、來源、快取時間戳與相對時間。
  • 透過統計工具查看快取命中率、語料規模等知識池指標。
適用情境
適合編碼代理需要訓練截止日之後的資訊(新函式庫版本、新 API、新錯誤)時使用,希望取得快速、低成本且附引用的答案,而非原始連結。也適合已有網頁搜尋工具、想藉共享快取降低開銷的代理。
執行需求
遠端 streamable HTTP 端點,無需安裝。需在 Authorization 標頭提供 bearer 權杖,可至供應商網站註冊取得免費評估金鑰(以電子郵件寄送)。註冊時可選擇自備 OpenRouter 或搜尋服務商金鑰以取得更高額度。
安裝前請注意
查詢會經 TLS 送往第三方託管服務並於入口脫敏;除非自行架設,脫敏發生在查詢離開本機之後。脫敏依格式與熵值偵測,無法保證不洩漏金鑰或個人資料。答案為第三方模型依第三方網頁產生的 AI 摘要,使用前應自行查證。引用連結的可選點擊遙測會記錄項目、來源、主機與時間。評估金鑰按用量計費且可被撤銷。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Search,將其新增到工作區。
  2. 連接 Authorization token 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.aimnis%2Fsearch/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "search": {
      "type": "http",
      "url": "https://aimnis.com/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_TOKEN>"
      }
    }
  }
}

README

Aimnis

Collaborative Search for Agents

Search once. Answer everyone. An open-source, cache-first web-search gateway for coding agents: ask a question and get a distilled, source-cited answer instantly from a shared, always-current knowledge pool — so every search makes the pool smarter and cheaper for everyone. Like RAG, but over a communal live-web pool, not your stale private docs.

Status: public preview. The hosted service is live — get a free eval key at aimnis.com and point your agent at it in one minute (per-agent setup). We're proving one thing in public — that the cache hit rate compounds as the pool grows (the flywheel, live dashboard). Follow along.

Why

Every model has a training cutoff. The moment it ships, the world moves on — new library versions, new APIs, new errors — and the model can't keep up without searching the live web on every question. That's slow, expensive, and per-vendor.

Aimnis is the shared, always-current layer in front of that: the first thing an agent checks. Ask a question; if it (or a semantically similar one) has been asked before, you get a distilled, source-cited answer instantly for near-zero cost. If it hasn't, Aimnis fetches it live, distills it, and adds it to the pool — so the next agent to ask gets it free. The corpus captures what happened after every model's cutoff, which no static training set can.

How it works

query  └─ scrub secrets/PII (redacted before embed, search, distill, or storage)       └─ local embed + normalize            └─ semantic cache lookup (exact hash → vector nearest-neighbour)                 ├─ HIT  → return the pooled, cited answer instantly (no upstream cost)                 └─ MISS → live search → distill into a cited answer → quality-gate → pool it
  • Cache-first. The knowledge pool is the semantic cache (pgvector). A reworded question hits the same entry, so the pool compounds faster than exact matching would.
  • Grounded, cited answers. Misses are distilled from live web results into a short answer with [n] citations back to sources — not raw links. The answer is AI-generated (a model distills the sources) and labeled as such in the tool output, so the agent always knows it's reading a machine-written summary.
  • Provenance & freshness by default. Every answer carries its model, sources, and a cache timestamp (when the answer was produced or last re-distilled — not when it was last served), plus a relative age, so the agent (and our own ranking) can weigh staleness and decide when to escalate to live search.
  • Cited links can be routed for a relevance signal (opt-in, aggregate-only). When enabled, a cited source link points at a signed /r/… redirect that logs which pooled answer earned a follow-through, then forwards to the source — this is how click-through improves ranking. The source's real host is shown inline so the agent still sees where it's going, and the log records only entry + source + host + time — never IP, user-agent, or any user/session id. It's telemetry on the pool, not on you. It's off unless a signing secret is configured, tokens are HMAC-signed (so /r can't be abused as an open redirector), and self-hosting points the redirect at your own gateway — so clicks stay on your box.
  • Privacy-conscious ingress. Common secret formats (API keys, tokens, private keys, connection strings) and emails are redacted before a query is embedded, sent to a search/LLM provider, or pooled; secret-dense queries are served live-only and never stored. This is high-precision format-based scrubbing plus an entropy pass — it catches known shapes, not every possible secret or PII, so treat it as defense-in-depth, not a guarantee. The pipeline is open source precisely so you can audit and extend it. Where it runs: self-hosted, scrubbing happens locally, so raw text never leaves your machine. Against the hosted gateway, the query is sent over TLS and scrubbed on ingress (in memory, before any provider call or persistence) — if you need redaction to happen before the query leaves your machine, self-host or run the local MCP server in local mode.
  • Quality-gated pool. A distilled answer must pass a quality gate before it can enter the pool — a bad answer degrades to raw snippets rather than poisoning the commons.

The flywheel

The one metric that decides whether this works: cache hit rate vs. corpus size. If it climbs as the pool grows, the thesis holds. It's public from day one — trust, made measurable.

bash
# run the live dashboard locally (see Quickstart)aimnis-dashboard      # → http://127.0.0.1:8080   (hit-rate curve, corpus size, storage)

Use it with your coding agent

Aimnis speaks MCP, so any MCP-capable agent can use it as its web-search tool. The hosted endpoint means nothing to install:

  1. Get a free eval key at aimnis.com/register (delivered by email; metered, revocable, terms).
  2. Add the remote MCP server to your agent:
URL:     https://aimnis.com/mcp          (MCP, streamable HTTP)Header:  Authorization: Bearer aim_YOUR_KEY

Claude Code

bash
claude mcp add --transport http aimnis https://aimnis.com/mcp \    --header "Authorization: Bearer aim_YOUR_KEY"

Then, to make the model prefer Aimnis over the built-in tool, deny WebSearch in .claude/settings.json:

json
{ "permissions": { "deny": ["WebSearch"] } }

OpenCode, OpenClaw, Hermes, Pi, REST — copy-paste snippets at aimnis.com/setup and in docs/mcp.md, plus the search / stats tool reference. Bring your own OpenRouter/search keys at registration and your cache misses run on your quota — with much higher limits.

Self-hosting instead? The same MCP server runs locally over stdio against your own pool — see Quickstart and docs/mcp.md.

Quickstart (dev)

bash
cd serverdocker compose up -d                    # Postgres+pgvector (:5432)# want the keyless search path too? add SearXNG (:8888):#   docker compose --profile keyless up -duv venv .venv && . .venv/bin/activateuv pip install -e ".[dev]"              # editable install (required — see docs)python -m aimnis.migrate                # apply migrations/*.sqlcp .env.example .env                    # then fill in keys if you have thempytest                                  # full suite against the compose DB

No OpenRouter key? Fine — Aimnis runs keyless (via SearXNG) and returns raw cited snippets, spending zero upstream quota. Add AIMNIS_OPENROUTER_API_KEY to turn on distillation. Live search is an ordered fallback chain — Brave → Tavily → Exa → SearXNG — so setting any of AIMNIS_BRAVE_API_KEY / AIMNIS_TAVILY_API_KEY / AIMNIS_EXA_API_KEY gives more reliable results, and a free tier that runs dry rolls onto the next automatically. See server/README.md for the component map.

Licensing

The code is open. The corpus is a curated compilation, licensed as such.

PartLicense
Server core (server/)AGPLv3 — network copyleft; run a modified service, share your changes
SDKs & MCP client (clients/)Apache-2.0 — embed anywhere, including commercial products
Public knowledge-pool pagesCC-BY-NC 4.0 applies to our compilation (curation, structure, presentation)

On the pool's contents, honestly: pooled answers are distilled by third-party models from third-party web results. We don't claim ownership of the underlying facts or of upstream model outputs — CC-BY-NC covers our compilation, and any reuse also remains subject to the terms of the original sources and the model providers. Some provider outputs are excluded from redistribution and from any future training-data feed wherever provider terms require it, and provider-mandated attributions are carried through. A training-data feed is out of scope until the flywheel is proven (see roadmap) — this repo makes no offer to license training data.

Anti-abuse thresholds (scrubbing/dedup/quality tuning) ship with safe example defaults; production values are injected at deploy and are not part of this tree — so publishing the ruleset doesn't hand it to poisoners.

Status & roadmap

Gated roadmap, Gate 0 → Gate 4. Gate 0 complete (ToS audit, niche, naming, licensing locked). Gate 1 in progress — gateway + semantic cache + public flywheel dashboard are built and dogfooded; the pass/kill test is the hit-rate curve bending upward. Ads, billing, community compute, and the training-data feed are explicitly out of scope until the flywheel is proven.

來源:README.md,提交 2c3c44c

工具

0
SourceWeft 尚未讀取此伺服器的工具。

版本歷史

1
  1. v0.1.0最新Sep 16, 2026

評分

已滿足適用檢查項的 85%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分