
Agentic Research
io.github.TheAiSingularity由 GitHub 帳號 TheAiSingularity 發布v0.1.3更新於 Oct 24, 2026
Local research agent that verifies its own answers. Runs on Gemma 3 4B + Ollama, $0/query.
發布方自己的服務:agentic.no
概覽
本地優先的研究代理,執行多階段檢索與驗證流程,為助理回傳附引用、經自我查核的答案。
- 可以做什麼
- 對一個問題執行完整研究查詢,可指定領域預設與記憶模式,回傳結構化答案、已驗證與未驗證論述、來源與執行軌跡
- 重設已儲存的研究記憶,並查詢記憶項目數量
- 透過自架的 SearXNG 實例進行網頁搜尋,抓取並清理頁面,並對結果重新排序
- 以由 PDF、Markdown、文字或 HTML 建立的本地文件語料補充網頁結果
- 套用一般、醫療、論文、金融、股票交易、個人文件等領域預設
- 適用情境
- 適合需要附來源引用的研究型回答、且希望在本機或自選的 OpenAI 相容端點上完成而非依賴託管研究服務的情境;也適合對私有文件集合做問答。
- 執行需求
- 以本地 Python 套件(agentic-research-engine)執行,透過 agentic-research-mcp 指令啟動。需要 OpenAI 相容的模型端點:本地 Ollama 並已拉取模型,或雲端端點加 OPENAI_API_KEY。網頁搜尋需要 SearXNG 實例(SEARXNG_URL,預設本地 8888 埠)。選用設定包括 OPENAI_BASE_URL、MODEL_PLANNER、MODEL_SYNTHESIZER、EMBED_MODEL、LOCAL_CORPUS_PATH、ENABLE_FETCH 與 ENABLE_RERANK。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Agentic Research,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
agentic-research-engine-oss
[License] [PyPI] [Version] [Default] [Tests] [Interfaces] [MCP]
The best $0 research agent that runs on a laptop. Open-source end-to-end, reproducible, privacy-preserving. No cloud dependency by default; no telemetry; every LLM call, every source, and every verification decision is visible.
Table of contents
- TL;DR
- Why use this instead of…
- Quickstart — Mac local
- Quickstart — no install (Google Colab)
- Three ways to drive it
- What ships
- Domain presets
- Bring your own documents
- MCP + Claude plugin
- Plugin / skill loader
- Architecture at a glance
- Repo layout
- Configuration (env vars)
- Testing
- Troubleshooting
- Honest limits
- Status + roadmap
- Contributing
- License
TL;DR
Local-first research agent that verifies its own answers. Runs on
Gemma 3 4B + Ollama (3.3 GB on disk) for $0/query; swaps to any
OpenAI-compatible endpoint with one env var.
Why use this instead of…
Honest read: on complex multi-hop reasoning benchmarks, Gemma 3 4B sits 15–25% below 30 B+ open models. We don't claim to beat GPT-5.4 Pro. We claim to be the best $0, runs-on-your-laptop, fully-open research agent in April 2026.
Quickstart — Mac local
Option A — PyPI (fastest)
Option B — from source
Expected wall-clock on an M-series Mac: ~45 s for a factoid, ~90 s for multi-hop synthesis. Zero dollars per query.
Higher honesty — cloud-model mode
Gemma 3 4B is surprisingly good at structure (plan, route, verify,
compress) but confabulates specific factoids when SearXNG doesn't
surface a source containing the right token. Live SimpleQA-mini run on
2026-04-21 (see engine/benchmarks/RESULTS.md)
showed gemma3:4b emitting "2023" for "year Anthropic published
Contextual Retrieval" (gold: 2024) and "LayoutLMv3" for "which
cross-encoder for reranking" (gold: bge-reranker-v2-m3).
The fix you probably want isn't a smarter synthesizer — it's a
more honest one. A 5-question head-to-head on the same retrieval
output showed gpt-5-nano + gpt-5-mini refuse to confabulate when
evidence was missing ("The provided evidence does not answer this
question"), where gemma3:4b confidently guessed. Per-claim
faithfulness went from 82.9 % → 100 %. Pass rate barely moved (1/5
vs 0/5) because retrieval is the real bottleneck — if SearXNG
didn't return a source with the gold token, neither model can
produce it.
Swap the whole stack to a cloud endpoint:
Cost is dominated by synthesizer tokens (~5–15 k per query). Full
cloud mode with gpt-5-nano + gpt-5-mini runs roughly
$0.02–0.05 per research query and is ~2-3× slower than Gemma
local (measured: 127 s vs 52 s mean wall on the 5-question subset).
Works with any OpenAI-compatible endpoint — Groq, Together, Mistral,
DeepSeek, local vLLM — so you can pick a cheap fast model
(llama-3.3-70b on Groq ≈ $0.003/query) or a frontier one. Per-node
base-URL routing (run gemma3:4b locally for plan/verify AND gpt-5-mini
on cloud for synth in the same query) is tracked for 0.2; today the
pipeline uses one global OPENAI_BASE_URL.
The bigger accuracy lever is retrieval. Point
LOCAL_CORPUS_PATH at an indexed corpus containing your answer and
either model will be correct.
Quickstart — no install (Google Colab)
Five runnable notebooks in tutorials/:
- 01 — Engine API quickstart (mocked, no key) — see how the pipeline works without running inference.
- 02 — Groq cloud inference (free tier) — real LLM, no local GPU.
- 03 — Build your own corpus — upload PDFs, index them, query.
- 04 — MCP server from Python — drive the engine as a tool from another agent.
- 05 — Domain presets showcase — compare presets on the same question.
Each notebook is self-contained, runs end-to-end on Colab free tier, no credit card required.
Three ways to drive it
CLI
TUI (Textual — keyboard-driven, SSH-safe)
Three panes: sources · answer + hallucination flags · trace + memory hits. Press Enter to ask, Ctrl-M to cycle memory mode, Ctrl-L to clear, Ctrl-Q to quit.
Web GUI (FastAPI + HTMX on localhost:8080)
No auth. No cloud. No analytics. Dark theme. Streams tokens in place.
What ships
engine/ — the flagship
8-node LangGraph pipeline with 2026-SOTA composition:
classify → plan → search → retrieve → fetch_url → compress → synthesize → verify
Every stage is env-toggleable for leave-one-out ablation. Techniques
folded in: HyDE, CoVe verification, iterative retrieval, FLARE active
retrieval, question classifier router, step critic (ThinkPRM pattern),
LongLLMLingua-lite compression, cross-encoder rerank
(BAAI/bge-reranker-v2-m3), Anthropic contextual chunking, W6 small-
model hardening (three-case synthesize prompt + per-chunk char cap).
core/rag/ — reusable retrieval primitives (v1 stable)
HybridRetriever (BM25 + dense + RRF) · CrossEncoderReranker ·
contextualize_chunks (Anthropic pattern) · CorpusIndex (bring-
your-own-PDFs). 5 exports, used by the engine and the archived
recipes.
archive/recipes/ — pre-engine reference recipes
research-assistant, trading-copilot, document-qa,
rust-mcp-search-tool. All still work; all tests still pass. The
research-assistant/production/main.py is a thin shim over
engine.core.pipeline so the cookbook framing is preserved.
Domain presets
Six YAML files in engine/domains/:
Write your own in ~10 lines of YAML — see docs/domains.md.
Bring your own documents
Supported formats: PDF (via pypdf), Markdown, plain text, HTML (via
trafilatura). The index persists as a directory with a human-readable
manifest.json + a pickled index.pkl. Rebuild anytime the docs change.
Details: docs/self-learning.md covers the
trajectory + memory model; docs/plugins-skills.md
covers external plugins.
MCP + Claude plugin
engine/mcp/server.py is a Python MCP server exposing:
research(question, domain?, memory?)→ structured{answer, verified_claims, unverified_claims, sources, trace, totals, memory_hits}reset_memory()memory_count()
Bundled Claude plugin at engine/mcp/claude_plugin/ — four skills
(/research, /cite-sources, /verify-claim, /set-domain), ready to
submit to the Anthropic marketplace.
Register in Claude Desktop:
Plugin / skill loader
Install third-party Claude plugins or Hermes (agentskills.io) skills:
Safety: every install runs a forbidden-symbols scan
(eval(, exec(, os.system(, …) — rejects plugins that would
execute arbitrary code. Registry lives at
~/.agentic-research/plugins/, fully inspectable, wipable.
Full docs: docs/plugins-skills.md.
Architecture at a glance
Every stage has an ENABLE_* flag so you can leave-one-out ablate.
Deep spec: docs/architecture.md.
Repo layout
Configuration (env vars)
Full list in engine/core/pipeline.py header. Most-common knobs:
Full list: docs/architecture.md env-vars section.
Testing
All tests are mocked — no network, no API key, no model downloads. Live
integration smokes are separate (make smoke).
CI runs on every push / PR touching engine / core / recipes — see
.github/workflows/engine-tests.yml.
Troubleshooting
Still stuck? Open an issue with the bug_report
template — include ollama list, engine version, and the error.
Honest limits
- Gemma 4B ≠ GPT-5.4 Pro. 15–25 % below 30 B+ open models on hard multi-hop. We position as "best $0 local", not "SOTA."
- Gemma 3 4B confabulates specific factoids when SearXNG doesn't
return a source that contains the right token. Measured on
SimpleQA-mini: 0/20 strict pass rate (see
engine/benchmarks/RESULTS.md—verified_ratio85.5 %, zeromust_not_containhits; the model isn't emitting banned strings, it's picking wrong ones). Mitigations: (a) swap the whole stack to a cloud endpoint (see "Higher factoid accuracy" above —$0.02–0.05/querywithgpt-5-nano+gpt-5-mini), (b) give the engine aLOCAL_CORPUS_PATHso your own docs become retrieval targets, (c) setENABLE_RERANK=1to bias retrieval toward the right sources. - CoVe confirms internal consistency, not ground truth. Every synthesized claim is checked against retrieved evidence; claims don't get verified by the world. If retrieval misses, CoVe will still happily verify a confidently-wrong answer. The engine will never fabricate citations, but it can confidently repeat wrong information that was in its evidence pool.
- No LoRA fine-tuning in v1. Trajectory data is collected; actual model training deferred until GPU access + data volume.
- No hosted SaaS. Local-first is the entire v1 positioning.
- Team / multi-user features. Out of scope for v1.
- General web crawler / own search index. Not shipping. SearXNG stays. A curated research-focused index may land in v2.
- Mobile. Not in scope.
Status + roadmap
- 0.1.3 — public alpha (current). Features listed above; on PyPI +
the official MCP registry + the Anthropic plugin marketplace. See
CHANGELOG.md. - 0.2 — specialist tool wiring (
tools_enabledfield in presets finally activates), first LoRA run if GPU arrives, plugin catalog indocs/. - 0.3 — team-collab features (shared memory, PR-driven domain presets), desktop app packaging via Tauri.
- 0.4+ — open-work tracked in GitHub Issues.
Contributing
Good first issues: CONTRIBUTING.md. RFCs for
anything pipeline-scope. Plugin + domain-preset submissions welcome.
No Co-Authored-By trailers; author-as-written-by.
License
MIT. See LICENSE.
Related (sibling projects)
- HermesClaw — the secure runtime these recipes can run inside
- NVIDIA/OpenShell — kernel-level agent sandbox
- NousResearch/hermes-agent — self-improving agent (whose
agentskills.ioskill format we interoperate with)
MCP registry ownership
This PyPI package is the official source of the MCP server registered at https://registry.modelcontextprotocol.io. The line below is the ownership marker the registry validates — do not remove when editing this README.
mcp-name: io.github.TheAiSingularity/agentic-research
來源:README.md,提交 e2ab781
工具
0版本歷史
1- v0.1.3最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
其他 Agentic 整合
agentic.no
no.agentic官方發布者
一個遠端 MCP 端點,協助助理依模型尋找 AI 推論的 GPU 賣家,並依價格由低到高排序,透過 x402 按次付費。
Agentic Engineering Periodic System
academy.ase官方發布者
使用編碼代理建立軟體的實踐,每項實踐都附帶一個可在你的程式碼庫中檢查的測試。AI 翻譯
Agentic RL: Credit Assignment and CLI Agents
space.hf.hoyant-su-agentic-rl官方發布者
讓助理依監督方式、critic 與任務設定篩選代理強化學習方法,並取得來源連結與 BibTeX。

Agentic Video
由 GitHub 帳號 tlq5l 發布
本機 stdio MCP 伺服器,讓只能讀文字與圖片的助理檢查影片檔:聯絡表、轉錄、剪接點、響度與影音同步檢查。

Agentic Os
由 GitHub 帳號 kinnister 發布
唯讀、不執行任何操作的 MCP 伺服器,向助理提供 agentic-os 的治理、SDLC 與品質工程方法論。