Open Agent Search

io.github.jayanth-mkvv1.0.5更新於 Oct 11, 2026

Search the web, news, images, videos and books, and extract page content for AI agents.

概覽

AI 產生的概覽

透過本機可自架的 MCP 伺服器,讓助理進行網頁、新聞、圖片、影片與圖書搜尋,並擷取頁面內容。

功能
Open Agent Search 是一個檢索層,透過 stdio MCP 或 HTTP 提供統一的搜尋介面。它支援文字、圖片、影片、新聞、圖書與整合搜尋,並可擷取單一或多個頁面的內容。相同能力同時以 REST 端點與 MCP 工具形式提供,本機編碼助理與部署的服務可共用同一套介面。
適用情境
當助理需要在公開網路上檢索資訊或擷取頁面內容,又不想為每個搜尋類別分別串接轉接器時,適合使用。它適合希望不必常駐伺服器就能取得搜尋能力的桌面或編碼助理,也可部署為共用的 HTTP 服務。
執行需求
以本機 stdio 程序執行。npm 方式需要 Node.js 22+ 以及 PATH 中的 uv;PyPI 方式透過 uvx 或 uv tool install 使用 Python 3.12,uv 可在缺少時下載。首次執行會下載相依套件。未宣告任何帳號、API 金鑰、環境變數或標頭。選用的 HTTP 服務預設在所有網路介面的 8000 埠監聽。
安裝前請注意
搜尋查詢會透過 ddgs 函式庫送往上游搜尋供應商,因此它並非匿名網路;處理敏感工作時應檢視部署日誌、網路政策與上游條款。HTTP 服務預設在所有網路介面的 8000 埠監聽。專案自稱處於 beta 階段。README 提到的 CLAWHUB_TOKEN 僅用於專案自身的發佈流程,伺服器本身並不會使用。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Open Agent Search,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

[Open Agent Search logo]

Open Agent Search

One self-hostable search and content layer for AI agents and applications.

[npm] [PyPI] [Python 3.12+] [MIT license] [Documentation]

What is OAS? · Agent setup · Capabilities · Architecture · API surface · Contributing

Set up with your agent

Copy this prompt into your coding agent:

text
Set up Open Agent Search for this project usinghttps://github.com/Jayanth-MKV/open-agent-search. Read its README andskills/open-agent-search-setup/SKILL.md. Reuse uv if installed, otherwiseinstall it using the official uv instructions for my OS. Configure thelocal stdio MCP server with the pinned package and managed Python versionfrom the repository's MCP manifest. Merge the server into this agent'sconfiguration without replacing existing servers. Install theopen-agent-search-setup and open-agent-search skills for this agent inproject scope. Verify the MCP connection and available tools, then tryone web search. Tell me if a client restart is needed. No API key is required.

Installation commands

With Node.js 22+ and uv installed:

sh
npx --yes [email protected] --versionnpx --yes [email protected] mcp# Or start the HTTP API:npx --yes [email protected] serve

The npm launcher uses the pinned Python core. It requires uv on PATH; uv manages Python 3.12 and dependencies.

With uv installed, run the MCP server in an isolated environment:

sh
uvx --python 3.12 --from open-agent-search==1.0.5 oas-mcp

uv can download Python 3.12 when it is missing. The first run downloads dependencies; the client starts and stops this stdio process after configuration.

For a persistent PyPI installation and HTTP server:

sh
uv tool install --python 3.12 open-agent-search==1.0.5open-agent-search

The HTTP server listens on port 8000 on all interfaces. Use stdio for an agent that only needs local tools.

Install both skills for Codex in the current project:

sh
npx --yes skills add Jayanth-MKV/open-agent-search --skill open-agent-search-setup open-agent-search --agent codex --copy --yes

Replace codex with claude-code, cursor, opencode, or your supported agent. Add --global only for installation across projects. Plugin and manual setup. Use either npm or PyPI above; both start the same Python implementation.

In Claude Code 2.1.275+, install both skills and the MCP configuration in one step:

text
/plugin install open-agent-search --marketplace Jayanth-MKV/open-agent-search --scope project

[Open Agent Search architecture showing MCP clients and applications connecting through local MCP or HTTP service paths to one shared search and content layer and DDGS providers]

What is Open Agent Search?

Open Agent Search (OAS) is an independent retrieval layer for AI agents and applications. It provides one consistent search and content surface across local and deployed integrations.

OAS replaces separate adapters for every search vertical with one consistent tool surface. Run it locally for a single coding agent or deploy the HTTP service for shared agent and application workloads.

Search sources, transports, and client integrations can evolve without changing the repository's core goal: give agents and applications a dependable retrieval boundary they can control.

Connect MCP or HTTP

Add search to Claude Code

bash
claude mcp add oas -- uvx --python 3.12 --from open-agent-search==1.0.5 oas-mcp

Restart Claude Code, then ask it to search the web, news, images, videos, or books. The same uvx command works with Cursor, VS Code, Windsurf, OpenClaw, and other MCP clients.

Generic MCP configuration
json
{  "mcpServers": {    "open-agent-search": {      "command": "uvx",      "args": ["--python", "3.12", "--from", "open-agent-search==1.0.5", "oas-mcp"]    }  }}

Run the HTTP API

bash
uv tool install --python 3.12 open-agent-search==1.0.5open-agent-search

Make a first search:

bash
curl "http://localhost:8000/api/search/text?q=python+programming&max_results=5"

The server exposes REST endpoints at http://localhost:8000, interactive API docs at /docs, and streamable HTTP MCP at /ai/mcp.

Capabilities

  • One search layer, multiple transports. Use stdio MCP locally or serve REST and MCP over HTTP.
  • No provider API key required. Search is powered by the ddgs library.
  • Self-hostable. Run locally, in Docker, or deploy the HTTP service to Vercel.
  • Framework-independent. The protocol surface works across major MCP clients and agent stacks.
  • Production-minded defaults. Typed FastAPI routes, rate limiting, health checks, tests, and deployment guides are included.

[Before and after Open Agent Search: six separate adapters become one search connection]

Architecture

The local MCP command and the HTTP service share the same search and content capabilities. Choose the connection path that matches where the consuming agent or application runs.

Two deployment paths

PathCommand or endpointBest for
Local MCPuvx --python 3.12 --from open-agent-search==1.0.5 oas-mcpGiving a desktop or coding agent search with no persistent server
HTTP serviceopen-agent-searchApplications, shared agent environments, REST clients, and remote MCP

Search surface

CapabilityREST endpointMCP availability
Text searchGET /api/search/textYes
Image searchGET /api/search/imagesYes
Video searchGET /api/search/videosYes
News searchGET /api/search/newsYes
Book searchGET /api/search/booksYes
Unified searchGET /api/search/allYes
Fetch one pageGET /api/content/fetchYes
Fetch multiple pagesPOST /api/content/fetch-multipleYes

See the API reference and MCP tool reference for parameters and response shapes.

Privacy model

OAS does not require an OAS account or a search-provider API key, and it can run on infrastructure you control. Search queries still have to reach upstream search providers through DDGS, so this project should not be treated as an anonymity network. Review your deployment logs, network policy, and upstream-provider terms for sensitive workloads.

Install and deploy

From source

bash
git clone https://github.com/jayanth-mkv/open-agent-search.gitcd open-agent-searchuv syncuv run open-agent-search

Docker

bash
docker compose up -d

[Deploy with Vercel]

Deployment details: Docker · Vercel

Documentation

Registries and agent discovery

  • Packages: npm and PyPI.
  • Local MCP bundle: Smithery. It runs on your machine and requires Node.js 22+ and uv.
  • MCP Registry namespace: io.github.jayanth-mkv/open-agent-search. The release workflow publishes server.json after both packages are available. Check the registry record.
  • Agent skills: Open Agent Search and setup are published on ClawHub. You can also install them from GitHub using the commands above. The skills.sh directory discovers skills through real installations; a repository alone does not guarantee a listing.
  • Glama: glama.json declares the GitHub maintainer. Directory submission and ownership verification require a separate Glama sign-in.

The npm path requires Node.js 22+ and uv. The PyPI path uses uv to manage Python 3.12. This project provides a local server and deployment code; it does not provide a shared hosted search endpoint.

The local MCPB bundle is built with python scripts/build_mcpb.py. It contains the pinned npm launcher and requires Node.js 22+ and uv on PATH. Its first launch downloads the Python core and dependencies. No credentials are bundled.

ClawHub distributes its skill copies under MIT-0, as required by that registry. This repository and its packages remain MIT licensed. GitHub Actions previews skill changes on pushes to main and publishes them on releases when CLAWHUB_TOKEN and the repository variable PUBLISH_CLAWHUB=true are configured. The workflow checks that the authenticated ClawHub owner matches the source repository owner.

Development

bash
uv sync --group devuv run pytestuv run ruff check .

Open Agent Search is currently beta software. Bug reports and focused pull requests are welcome; see CONTRIBUTING.md.

License

MIT

Maintained by Xplormity Collective.

來源:README.md,提交 4a83693

工具

0
工具後設資料尚未被收錄。

版本歷史

1
  1. v1.0.5最新Oct 11, 2026