百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
G

gno

> AI 编程
开源

本地 AI 驱动的文档搜索和编辑,采用业界首创的混合检索技术,LLM 提供答案、WebUI、REST API 和 MCP 支持,可供 AI 客户端使用。

99 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

本地 AI 驱动的文档搜索和编辑,采用业界首创的混合检索技术,LLM 提供答案、WebUI、REST API 和 MCP 支持,可供 AI 客户端使用。

GNO

Search finds. GNO proves.

A local knowledge engine for your notes, code, PDFs, and Office docs. Hybrid search, a browsable workspace with graph and editor, CLI, SDK, REST API, and MCP for ten AI clients — plus retrieval that can show its work.

bash
bun install -g @gmickel/gno
gno setup ~/notes --name notes     # returns only after retrieval actually works
gno mcp install --target cursor    # or claude-code, claude-desktop, zed, ...

What you get

One local index across everything you have. Markdown, PDFs, Office documents, plain text, source code, and portable mail, calendar and transcript exports. Point it at a folder that mixes all of them and it handles the mix.

Three ways to search it. Keyword (BM25), semantic (vector), and hybrid — fused, reranked, and explainable, with structured intent controls and metadata filters. Ask for "how we handle retries" and find the paragraph about exponential backoff that never uses the word.

A workspace, not a search box. Cross-collection folder tree, per-tab browse context, a markdown editor, provenance-carrying quick capture, and a navigable knowledge graph.

Answers with citations. Ask a question in natural language and get an answer built from your own documents, with citations that resolve to the source passage.

Six interfaces on one index. A fast CLI, a web UI, a REST API, a TypeScript SDK, an MCP server, and a headless daemon — plus one-command install into ten agent clients. Nothing drifts between them.

Optional hosted publishing at gno.sh when a slice needs a URL.

No GPU required, no account required, no telemetry. Free and MIT licensed.

Why not just another local RAG tool

The above is most of what people use day to day. Beyond it, four things here are different, and each one is measurable rather than adjectival:

What it does Why it matters
Context Capsules Compiles one bounded evidence bundle per goal: exact line spans, content hashes, one global token budget, collapsed duplicates, and a written list of what it could not find Your agent reads once instead of searching five times. 48.94% fewer retrieval calls, 44.12% less model-visible context, 100% task accuracy retained across 48 paired benchmark tasks
Verified answers gno ask --verify generates against one closed Capsule, classifies every substantive claim, and withholds the draft below 100% support An abstention naming the failing claim beats a confident paragraph you have to fact-check by hand
Verified setup gno setup returns only after lexical search finds a real hit derived from your corpus No green checkmark over a folder that indexed but cannot be searched
Egress policy Per-collection fail-closed local_only / lan / remote, inherited by every derived Capsule, trace, and export Mixed setups are normal. Pin the client work local while your notes use the LAN GPU box

Everything runs on your machine. Zero telemetry. The three network boundaries are explicit: downloading a model, configuring an HTTP inference endpoint, and uploading an artifact you exported for publishing.

And the receipts ship too. Every benchmark behind these numbers is committed to the repository against a pinned corpus, with its limitations stated alongside the result, so you can replay it rather than take it on trust.

Use it when

  • your knowledge is split across Markdown, code, PDFs, Office files, and exported mail or transcripts
  • you want one retrieval layer for the CLI, the browser, MCP, and a Bun/TypeScript SDK
  • you want your coding agent to have a real memory without shipping your docs to a cloud API
  • you need to prove, later, which bytes supported a conclusion

Two minutes, end to end

…

[!TIP] gno.sh/publish is live. Turn any GNO note or collection into a reader-first URL — editorial typography, scoped search, and four visibility modes from public to encrypted-before-upload. See the reader →

ClawdHub: GNO skills bundled for Clawdbot — clawdhub.com/gmickel/gno


Contents

Start here · Quick Start · Installation · Agent Integration · Search Modes

Surfaces · Web UI · Omarchy Plugin · REST API · SDK · Daemon Mode · Publish to gno.sh

Under the hood · How It Works · Features · Local Models · Fine-Tuned Models · Architecture · Development

Deep dives on gno.sh · Context Capsules · Knowledge Delta · Retrieval learning · Project profiles · Egress policies · Export adapters


What's New

Current source version: v2.3.0. See CHANGELOG.md.

Full release history: CHANGELOG.md

  • Cheap peek snapshot: gno peek --json and MCP gno_peek return a model-free [email protected] snapshot (document/collection counts, embedding backlog, 10 recent docs with docid and absPath, pid-file serve detection). Uninitialized reports initialized:false with pinned nulls and exit 0. Any subquery failure is an atomic RUNTIME envelope (exit 2). serve.running is true only for gno serve --detach. JSON search hits pin results[].source.absPath. Open a document in the Web UI with {serveUrl}/doc?uri=.
  • Prose-first snippets: gno search, gno vsearch, and gno query skip leading YAML frontmatter and prefer document prose. A frontmatter-dominated FTS window falls back to stripped chunk prose. --full and --line-numbers still emit raw source. line and snippetRange.startLine follow the trimmed display range.
  • Trustworthy local context compiler: deterministic Context Capsules replace repeated agent query → get → multi-get orchestration with one bounded, citation-complete evidence handoff. The promoted benchmark retained 100% completion accuracy while reducing retrieval calls by 48.94% and model-visible context by 44.12%, with 100% exact claim-span linkage.
  • Verified answers and private quality learning: opt-in verified Ask checks every substantive claim against one closed Capsule and abstains below complete support. Local traces, explicit judgments, content-free qrels export, and read-only replay turn real misses into regression evidence without automatic personalization.
  • Project-aware retrieval affinity: trusted local CLI searches can use the current workspace or explicit --project-root values as a transparent, explainable +0.03 soft ranking signal. Filters remain hard, and untrusted SDK, REST, MCP, and Web hints never probe paths or affect ranking.
  • Retrieval-proven activation: gno status, gno doctor, REST, and the Web/Desktop dashboard now share a per-folder lexical retrieval proof. Local semantic readiness remains independent, and installed MCP targets can run an explicit read-only retrieval smoke from Connectors.
  • One resident gateway: gno serve and gno daemon now host stateful Streamable HTTP MCP at /mcp from the same long-lived runtime as their watcher, jobs, stores, and models. The packed npm smoke proves two-client parity, warm reuse, redacted lifecycle status, fail-closed security, restart, and shutdown.
  • Knowledge Delta: gno changes, gno diff, and gno impact expose bounded metadata-only history, structural change summaries, and explainable dependency paths across CLI, REST, MCP, and SDK.
  • Saved Capsule freshness: CLI-only gno context watch, watches, reverify, and unwatch register caller-owned Capsule files. The resident runtime coalesces evidence changes into canonical, non-generative freshness receipts and closed local metadata notifications.
  • Second-brain capture: gno capture, REST /api/capture, SDK client.capture(), MCP gno_capture, and Web UI Quick Capture write provenance-rich notes from text, stdin, or files, including typed presets for ideas, people, company/projects, and meetings
  • Local Chromium clipper: the npm package includes a reproducible unpacked Manifest V3 extension for explicit visible selection or constrained Reader capture. A loopback gno serve pairing, server-owned preview, exact provenance, and idempotent recovery protect every write; no history, cookies, remote fetch, store listing, or Firefox parity is claimed.
  • Verified setup and portable project profiles: gno setup proves an exact lexical result before success; optional .gno/index.yml profiles carry explicit collection, context, model, content-type, and project-affinity intent without storing the index in the repository.
  • Portable export adapters: JSONL/NDJSON, EML/MBOX, ICS, WebVTT/SRT, explicit browser exports, and configured transcript exports become bounded, read-only logical records with exact file provenance—never live-account connectors.
  • Collection-owned egress policy: every collection has an effective local_only, lan, or remote boundary that follows mixed and derived evidence through resident serving, inference, publishing, exports, Capsules, and traces. Authentication never overrides policy.
  • Source availability (any | local): opt-in local refuses cloud-placeholder materialization on the macOS File Provider layouts covered by physical evidence (Google Drive, iCloud Drive, and OneDrive for both validated immediate SharePoint library roots). Hierarchical directory classification + guarded content recheck; skips are not conversion errors; unproven prefixes preserve indexed descendants. Distinct from egress. Unsupported platforms fail closed; no claim of zero provider activity or universal provider support. On the controlled 5,000-file all-local corpus, production any regressed -1.1280% and hierarchical local added 1.1841% median traversal overhead (2 warmups, 9 samples per lane; same corpus and interleaved pre-implementation/current production walkers).
  • Read-only integrity audits: `gno

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

TypeScriptai-assistantbunclicode-search

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类AI 编程
定价开源

> 相关工具

G
GitHub Copilot
GitHub 官方 AI 编程助手,覆盖补全、Chat 与 Agent 模式。
C
Cursor
AI 原生代码编辑器,对话改代码、多文件 Agent 与规则体系是其核心。
S
skills
Skills for Real Engineers. Straight from my .agents directory.