惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

N
News | PayPal Newsroom
云风的 BLOG
云风的 BLOG
GbyAI
GbyAI
Engineering at Meta
Engineering at Meta
B
Blog RSS Feed
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
The Register - Security
The Register - Security
L
LangChain Blog
A
About on SuperTechFans
S
Schneier on Security
博客园 - 三生石上(FineUI控件)
Stack Overflow Blog
Stack Overflow Blog
The Hacker News
The Hacker News
AWS News Blog
AWS News Blog
博客园 - 司徒正美
Scott Helme
Scott Helme
K
Kaspersky official blog
Cyberwarzone
Cyberwarzone
T
Tenable Blog
腾讯CDC
Recorded Future
Recorded Future
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
G
GRAHAM CLULEY
Security Latest
Security Latest
S
Securelist
D
Darknet – Hacking Tools, Hacker News & Cyber Security
aimingoo的专栏
aimingoo的专栏
Google DeepMind News
Google DeepMind News
V
Vulnerabilities – Threatpost
雷峰网
雷峰网
T
The Exploit Database - CXSecurity.com
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
V
V2EX
T
The Blog of Author Tim Ferriss
D
Docker
S
Security Affairs
F
Full Disclosure
Know Your Adversary
Know Your Adversary
N
News and Events Feed by Topic
N
News and Events Feed by Topic
T
Tor Project blog
Hugging Face - Blog
Hugging Face - Blog
www.infosecurity-magazine.com
www.infosecurity-magazine.com
Microsoft Security Blog
Microsoft Security Blog
Simon Willison's Weblog
Simon Willison's Weblog
Recent Announcements
Recent Announcements
博客园_首页
博客园 - 聂微东
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
S
Security @ Cisco Blogs

Show HN

CSP Radar GitHub - awebai/aweb-team-coord-worktrees: An aweb team template for a minimum team with a permanent coordinator and worktrees with local developers. GitHub - fujibee/agmsg GitHub - lucastononro/notify: 100% local, free, offline attention skill for Claude Code: plays a sound and speaks a short status update when a long task finishes, blocks, or needs a decision. GitHub - sebastianwessel/skills: AI Skills tivatdoar / workout-to-work · GitLab GitHub - enumura1/py-sql-cleaner: Find, format, and safely extract embedded SQL from Python files. GitHub - intent-bench/intent-bench: Intent fulfillment benchmark for agentic AI engineering GitHub - steveking-gh/firmion: Firmion is DSL and engine for firmware image generation. GitHub - villagesql/villagesql-skills: Agent skills for VillageSQL - gemini-cli-extension; claude-code-plugin GitHub - 0gsd/enough: a personal language system for planning, writing, and translation. GitHub - Kaelio/ktx: ktx is an executable context layer for data and analytics agents 🐙 Allow Claude Code, Codex, and any AI agent to query data accurately through MCP with skills, memory and a semantic layer GitHub - ThatXliner/xtras: Xliner's Claude Code Skills GitHub - flightdeckhq/flightdeck: Observability and control plane for AI agents. GitHub - search-router/simple-search: Open-source reference app on top of the Search Router API: FastAPI + Jinja metasearch service with pluggable backends, deterministic mocks (no API key needed), RTL UI, Redis cache, and a demo ads cabinet. CSP Radar GitHub - Light-Heart-Labs/DreamServer: Turn your PC, Mac, or Linux box into an AI server. LLM inference, chat UI, voice, agents, workflows, RAG, and image generation. GitHub - Diplomat-ai/diplomat-agent-ts: What can your TypeScript AI agent do to the real world? Scan your code. See which tool calls have zero checks Code Block Selector - Visual Studio Marketplace Prometheus dependency graph — interactive showcase | Riftmap Show HN: I made a vi-like modal keyboard plugin for Figma GitHub - run-llama/liteparse: A fast, helpful, and open-source document parser GitHub - dalemyers/Roar: A macOS CLI tool for notifications GitHub - district-solutions/open-agent-tools-coder: Enables small-to-large self-hosted ai models to use local source code when running tool-calling agentic workloads. We actively data mine 20,900+ (2+ TB) popular github repos using large and small ai models to create reuseable: json, markdown and parquet files for local-first tool-calling models. GitHub - progapandist/stripeek: A local TUI proxy for real-time Stripe API debugging, built for navigating complex payloads fast. GitHub - sir1st/hermes-desktop: All-in-one cross-platform desktop app for Hermes Agent — bundles Python + hermes-agent + hermes-web-ui GitHub - astefanutti/shaderbang: Shebang for Shaders Show HN: Generate Claude Code Workflows using Spec Driven Development approach GitHub - nixys/nxs-universal-chart: The Helm chart you can use to install any of your applications into Kubernetes/OpenShift Show HN: AI agents for UK GDAD PCF roles and their skills The Two Pillars: Mixer Mode and Meta-Software in the Reorganization of Software Work After AI GitHub - JaiCode08/teleport-env What 1,000+ Harness Experiments Taught Me About Self-Improving Agents Show HN: Liiists, a Markdown-first, iOS and CLI list app SwiperTab – Get this Extension for 🦊 Firefox (en-US) GitHub - kouhxp/fftext: Summarize, explain, fact-check, or translate any text, URL, or file. No GPU. No cloud. One command GitHub - sweetpad-dev/sweetpad: Develop Swift/iOS projects using VSCode GitHub - dogmaticdev/IRON: IRON a.k.a. Intermediate Representation Object Notation is a Interpreter/Database that is used to create Programming Languages. GitHub - sjhalani7/vaen: Package your AI coding harness into a portable .agent file, and share it across repos, teams, & the community without ever having to copy-paste instructions, skills, MCP config, or secrets. Show HN: Gandalf the Grader Show HN: Citadeld – replay any CI failure locally from a single file GitHub - tdortman/cuSBF: High-Performance GPU Super Bloom Filter coral-ai/claude-code-token-xray at main · Coral-Bricks-AI/coral-ai GitHub - ulyssestenn/funes: Funes is a Git-based framework for LLM-managed knowledge work: an AI Librarian ingests raw sources, builds an interlinked Markdown knowledge base, and uses it to produce cited reports, analyses, and other outputs. GitHub - ThatXliner/gah: Git Add Hunk, built for agents to use GitHub - harmont-dev/harmont-cli: Command-line client for the Harmont CI platform GitHub - brooksmcmillin/mcp-authflow: OAuth 2.0 Authorization Server framework for MCP servers GitHub - javaid-codes/audit-supply-chain-agents GitHub - amorey/gochan: A small library of common channel architectures for Go, inspired by Rust GitHub - arifozgun/OpenGem: Free, Open-Source AI API Gateway with Gemini, OpenAI & Anthropic Compatibility in 1 file GitHub - Pranesh950/BioPetals: 🌸 Run BIOxAI models at home, BitTorrent-style. Fine-tuning and inference up to 10x faster than offloading GitHub - cnguyen14/bounty-doctor: Diagnose a GitHub bounty issue before you waste hours: detects honeypot scam repos, AI-bot attempt swarms, and stale contests. Show HN: CoreMCP – MCP Server for On-Prem DBs Show HN: KittyHTML – Render HTML/CSS as an inline image in your terminal GitHub - bingud/filemat: Web-based file manager Show HN: TruthLens – Free multi-signal deepfake image detector GitHub - apexlocal-jz/claude-usage-tray: Windows system-tray app showing your Claude Code rate-limit usage at a glance. Zero deps, ~300 lines of PowerShell. Cross-IDE (works regardless of VS Code, Cursor, plain terminal). Release v0.1.2.1 · kouhxp/yapsnap GitHub - noopolis/moltnet: Self-hostable chat network for AI agents. Pre-built bridges for Claude Code, Codex, and the Claws. Rooms, DMs, history. No Slack bots, no Matrix, no glue code. GitHub - tamerh/enju: Coordinating Humans, AI Agents, and Compute as Peers on a Shared Workflow Graph Show HN: Continuity-auth – Respect-weighted rate limits for the open web GitHub - luml-ai/luml: AI lifecycle platform where engineers and agents track experiments, train models, and ship to production. GitHub - mrdanielcasper/CoreTex: A UNIX-inspired, biomimetic, flat-file AI harness and knowledge engine. GitHub - clemg/pierre-github: Pierre's diffs.com and trees.software for Github GitHub - lyriks-io/unspaghettit: Behavior-driven AI development without prompt spaghetti. GitHub - sofumel/claude-handoff-revive: Resume Claude Code work after rate/usage/context limits without replaying the prior transcript. Auto-saves at 90%/95% usage. Plugin-installable, 10 languages. GitHub - dotexorg/saferpc: Typed, end-to-end encrypted RPC over any bidirectional channel. GitHub - BeeZeeAgent/beezee: Agent harness orchestration Legato Next.js Boilerplate for Internal Tools · CoreUI GitHub - clark-labs-inc/clark-hash: Clark Hash, 32x smaller searchable sketches for embeddings GitHub - ZeroPointRepo/youtube-mcp: The fastest YouTube transcript + YouTube search MCP for AI agents. Try for free. Typing Mastery — climb toward 100+ WPM, deliberately GitHub - Andebugulin/Awareen GitHub - fayzan123/claude-workflow-composer: Visual desktop app for composing multi-agent coding workflows. Drag agents, attach skills and MCPs, wire handoffs, export to .claude/ GitHub - StackOneHQ/stack-nudge We hardened an LLM agent. Each defense we added made it more exploitable. GitHub - alkait/WhatsKept: Agent-queryable WhatsApp history from an iOS backup — a single Go binary. GitHub - octelium/cordium: Open-source, general-purpose sandbox platform for devs and AI agents that provides identity-based secure access to infrastructure without credentials. GitHub - scosman/videowright: Build animated explainer videos with your coding agent GitHub - dipankar/dscode: The code editor you can take apart. GitHub - zoharbabin/web-researcher-mcp: MCP server (Go) for AI assistants: web search, content extraction, academic/patent/news research. Multi-provider routing, 4-tier scraping, search lenses. Works with Claude, Cursor, and any MCP client. GitHub - scanaislop/aislop: Catch the slop AI coding agents leave in your code: narrative comments, swallowed exceptions, as-any casts, dead code, oversized functions. 50+ rules across 7 languages (TypeScript, JavaScript, Python, Go, Rust, Ruby, PHP). Sub-second, deterministic, no LLM at runtime. MIT-licensed. GitHub - kouhxp/cheap-im: CPU-only voice agent approximating Thinking Machines' Interaction Models demo GitHub - unprovable/OrchidMantis: Orchid Mantis — standalone framework for Zero-Knowledge Proofs of eXploit (ZKPoX). GitHub - TangibleResearch/Halgorithem: A Algo designed to detect AI Hallucitions GitHub - CarpseDeam/Aura-IDE: An AI coding harness that shaped itself - Planner/Worker agents, repo awareness, surgical edits, validation, recovery, and safe diff approvals. GitHub - chojs23/concord: A feature-rich TUI client for Discord GitHub - aerf-spec/aerf: Agent Evidence Receipt Format (AERF) — an open specification for tamper-evident, independently verifiable records of AI agent actions. GitHub - Jwrede/tokentoll: Catch LLM cost changes in code review. Infracost for LLM spend. GitHub - samchon/ttsc: A `typescript-go` toolchain for compiler-powered plugins and type-safe execution + 500x faster lint integrated into compiler GitHub - Higangssh/homebutler: 🏠 Manage your homelab from chat. Single binary, zero dependencies. GitHub - olalie/tapmap: See where your computer connects and what stands out on a live world map. GitHub - Diplomat-ai/diplomat-agent: What can your AI agent do to the real world? Scan your code. See which tool calls have zero checks GitHub - Bajusz15/beacon: Open-source agent for secure remote access, monitoring, and deploys across home-lab and self-hosted machines like Raspberry Pi, N100, or any Linux server. Open web based TTY or tunnel Home Assistant and other local services securely without opening ports. BigTech AI News - Chrome 应用商店 GitHub - vinhnx/VTCode: VT Code is an open-source coding agent with LLM-native code understanding and robust shell safety. Supports multiple LLM providers with automatic failover and efficient context management. GitHub - Lumen-Labs/brainapi2: BrainAPI is a knowledge graph–powered AI memory layer that transforms unstructured data into structured knowledge, enabling intelligent search, recommendations, and contextual memory for AI agents and applications. GitHub - familiar-software/familiar: Let AI watch you work. Familiar lets your AI update its memory, skills, and knowledge by watching your screen. make sidebar/address bar rounded corner toggleable
GitHub - ahmetvural79/Vitrus: your glass-box company brain — tells you what it doesn't know (deterministic gap analysis). MIT core · MCP · PGLite→Postgres.
ahvural · 2026-06-21 · via Show HN

Vitrus

your glass-box company brain

Search hands you raw pages. Vitrus hands you the answer + its sources + what it doesn't know — all in portable Markdown files you own.

License: Apache 2.0 tests MCP runtime

Live demo · Quickstart · Docs · Architecture · Cloud · Roadmap


✨ What you can do

One brain — read by humans and agents. It cites every claim, and admits what it doesn't know.

  • 🧠 Ask your company in plain language → a sourced answer plus an honest list of what isn't documented (see it).
  • 🔌 Make any API agent-native. Import an OpenAPI spec, retrieve the right endpoint for a task, and verify the call before it runs — no hallucinated endpoints or arguments. vitrus api import|search|verify|call.
  • 🎓 Onboard a new hire (or agent) on day one. A sourced, pedagogically-ordered learning path with who to ask and what's still undocumented, plus quizzes graded against the brain. vitrus onboard|quiz.
  • 🔎 Trust the ranking. --explain prints every score factor; graph-signal ranking promotes results that are connected to, or corroborated across, other sources.
  • Capture without friction. One-command notes, ingest from any REST endpoint, or drop files in a watched inbox folder. vitrus capture · vitrus ingest rest|inbox.
  • 📥 Bring the notes you already have. Import an Obsidian vault, a Notion export, or your ChatGPT/Claude history — or migrate from GBrain — straight into the same glass-box brain. vitrus import-obsidian|notion|chat|gbrain.
  • 🤖 30 MCP tools so Claude, Cursor and your own agents share the exact same trusted, permission-aware memory.

New since the last release — see What's new below.


What this looks like

$ vitrus think "how was the payment outage resolved"

The payment service returned 503s due to a gateway rate-limit breach.
Resolved by raising the limit from 500 to 1000 rps [1], per the
rate-limit decision [2].

Sources:
  [1] durable/runbooks/rate-limit
  [2] durable/decisions/d-007

⚠ What your brain doesn't know (1):
  · "durable/companies/acme" is referenced but undocumented (missing)

Confidence: 82% · oldest source: 12 days

That gap box is the point of the project. Every answer ships with its sources and an honest, deterministic list of what your knowledge base hasn't documented. There is no LLM in the gap detector, so it can't hallucinate a gap into existence — or out of it. A claim with no source is shown as a gap, never papered over.

What's new (2026-06)

  • Bring your existing notes. vitrus import-obsidian (vault + [[wikilinks]] → typed edges), vitrus import-notion (Notion markdown export), vitrus import-chat (ChatGPT/Claude conversations.json), vitrus import-gbrain (migrate from GBrain) — all map into the same glass-box brain.
  • 8 one-token connectors. Stripe · HubSpot · Salesforce · Asana · Microsoft Teams · Dropbox · Figma · Zoom — preset REST connectors: pick one, paste a token, it syncs. No bespoke code (built on the generic REST engine).
  • Self-maintaining dream loop. Nightly vitrus dream now also runs citation-fix (suggest a sourced match for every uncited node) and a contradiction digest (open contradictions + which side is newer); vitrus brief prints a deterministic morning briefing (attention + gaps + conflicts + fixable-uncited).
  • Schema packs. vitrus schema lint checks your taxonomy deterministically (unknown node/edge types, edge from→to violations against the vitrus-base pack); vitrus schema explain <type> documents any type and the edges it participates in. (MCP schema_lint / schema_explain_type.)
  • Agent-native API hub. Import an OpenAPI spec (vitrus api import <spec>), retrieve the right endpoint for a task (vitrus api search), and verify a call deterministically before running it (vitrus api verify → valid / missing_args / wrong_type / unknown_args / unknown_endpoint / deprecated) — the anti-hallucination gate. vitrus api call verifies, then executes. Also vitrus ingest rest --config <c.json> to pull any REST response into the brain. Visual API-integration drawer in the dashboard.
  • Day-one onboarding. vitrus onboard "<role>" builds a sourced, pedagogically-ordered learning path from the brain (who to ask + what's not documented yet); vitrus quiz "<topic>" generates recall questions graded deterministically by verify.
  • --explain ranking attribution. vitrus search "<q>" --explain prints each hit's score factors: vector/bm25/entity ranks + tier/cosine and the new graph-adjacency / cross-source boosts.
  • Graph-signal ranking. A deterministic, ACL-safe re-scoring after hybrid search: results connected to other top hits, or corroborated across sources, rise.
  • Native Voyage + ZeroEntropy embedders (Matryoshka-fit to the frozen vector(1536) schema — no migration).
  • MCP surface 13 → 30 tools (entities, graph_query, get_node, chunks, attention, conflicts, api_search/api_verify/api_call, onboarding_path, quiz, schema_lint/schema_explain_type, briefing, …; content tools are ACL fail-closed).
  • One-command capture. vitrus capture "<note>" (arg/file/stdin) + a watched inbox folder (vitrus ingest inbox <dir>) for mobile capture.
  • 12 prebuilt skills. vitrus skills list|install — a validated SKILL.md library that teaches agents how to use Vitrus.

Three design rules hold everywhere:

  • Glass-box. Every answer is known / unknown (gap) / sourced.
  • Ownable. The source of truth is Markdown + a typed-edge sidecar in git. The index is disposable and rebuildable; delete it and your knowledge loses nothing.
  • Agent-native. The same brain serves humans (CLI, dashboard) and agents (MCP, Agent Skills) from one permission-aware memory.

Install

Pick your entry point:

# 1) Zero-setup local brain (PGLite, no database server)
bunx @vitrus/core init --pglite     # creates ./.vitrus
vitrus import ./brain               # ingest markdown (embeds + self-linking graph)
vitrus think "how was the outage resolved"

# 2) Wire it into Claude Code / Cursor / OpenClaw / Hermes as MCP — two commands
git clone https://github.com/ahmetvural79/Vitrus && cd Vitrus/packages/core && bun install && bun link
claude mcp add vitrus -- bunx @vitrus/mcp

# 3) Team scale: same engine on Postgres + pgvector
bun add pg
VITRUS_PG_URL=postgres://user@host/db vitrus import ./brain

vitrus doctor prints backend, providers and health (it never leaks secrets).

Two ways to query your brain

vitrus search "rate limit"     # hybrid retrieval: vector + BM25 + entity → RRF-fused hits
vitrus think  "what is the payment rate limit and why"   # synthesized answer + sources + gap box + confidence

search gives you ranked nodes; think gives you the answer with provenance. Both respect ACLs and both are honest about what isn't there.

And two that most tools don't have:

vitrus watch    # proactive: stale knowledge, unresolved incidents, aging gaps — what needs attention
vitrus verify "the rate limit for payments is 500 rps"
# → STALE — supported by decisions/d-007, but superseded during the outage (now 1000 rps)

verify returns one of four deterministic verdicts — grounded · stale · contradicted · unsupported — with supporting sources and conflicts. No LLM judge; it's hybrid search + gap analysis over your own record. Also available programmatically (@vitrus/core/verify) and as an MCP tool, so agents can fact-check themselves before acting.

How to get data in

Markdown is canonical — anything that becomes Markdown becomes knowledge:

vitrus import ./brain                   # a folder of .md files (+ optional .edges.json sidecars)
vitrus import-obsidian ./vault          # an Obsidian vault ([[wikilinks]] → typed edges)
vitrus import-notion ./export           # a Notion markdown export
vitrus import-chat conversations.json   # a ChatGPT or Claude export
vitrus import-gbrain ./gbrain           # migrate from GBrain

The connector framework is in the core (Apache-2.0): one interface (fetch() → records with content + ACL), idempotent ingest, incremental prune, and permission capture on every sync — remove someone from a channel and their access is revoked on the next sync, automatically.

Seven first-class live connectors over one injectable, mock-testable HTTP layer (5 pagination styles — REST-Link · GET-cursor · POST-cursor · GraphQL · offset · pageToken): GitHub · Slack · Notion · Linear · Jira · Drive · Gmail. Incremental sync (--since, prune-safe), webhook → live delta (GitHub direct; Slack triggers a re-sync), and a durable, crash-recovery sync queue with a cron scheduler. Plus offline adapters: Email (participants become the ACL) · Calendar · a generic Docs adapter · an MCP-source bridge (any MCP server becomes a source). And eight one-token presets on the generic REST engine — Stripe · HubSpot · Salesforce · Asana · Teams · Dropbox · Figma · Zoom — pick one, paste a token, it syncs (no bespoke code). Everything funnels into one brain, so the same alice mentioned in Slack and authoring a PR fuses into a single graph node.

GITHUB_TOKEN=… vitrus ingest github --live --repo owner/name              # pull (incremental with --since)
vitrus ingest slack --live --channel C0… --queue                          # enqueue a durable sync job

Capabilities

  • Gap analysis — five deterministic kinds: missing (referenced but undocumented), contradiction (conflicting edges), stale (superseded), single-point (bus-factor risk), uncited (event with no source). Derived from graph structure and explicit text signals only.
  • Proactive attentionvitrus watch makes gap analysis temporal: stale knowledge, unresolved incidents and aging gaps surfaced without being asked. Deterministic, no LLM. Nightly vitrus dream consolidates (dedup, salience, citation-fix for uncited nodes, contradiction digest) and vitrus brief prints a morning briefing — a standing, self-maintaining radar over your memory.
  • Ops-mapvitrus ops (MCP ops_report) reads the company as a system and flags operational inefficiencies: unowned services, bus-factor (single-person) risk, bottlenecks (overloaded hubs), broken handoffs (depending on superseded ground), and redundant tools (embedding-similar services). Severity-ranked, each finding cites real nodes — evidence, not a consultant's guess.
  • Conflict resolutionvitrus conflicts / vitrus resolve (MCP resolve_conflict) detects contradictions and shows both sides; resolve by choosing the winner — the loser is superseded (marked stale) and the conflict closes. Nothing overwritten in silence.
  • Write-back loop — agents read before they act and write after they decide: MCP record_decision / capture_session + vitrus decide + vitrus hooks install (Claude/Cursor/Codex). Decisions persist with their sources, so the brain stays live; a decision that contradicts an existing one is flagged back to the agent.
  • Self-linking graph[[type::slug]] typed edges, extracted without an LLM; bi-temporalvitrus dashboard --graph --asof <ISO> (and getConnections/graphSnapshot) answer "what did we believe in March?" (time-travel on the edge graph; correct from real created_at/expired_at).
  • Schema packs — a loadable taxonomy (vitrus-base): vitrus schema lint flags nodes/edges that violate the type model (unknown types, illegal edge endpoints); vitrus schema explain <type> documents a type and the edges it can participate in. Keeps a large brain's taxonomy honest.
  • Hybrid retrieval — vector + BM25 + entity match, RRF-fused; optional reranker.
  • Provenance everywhere — every claim traces to node → chunk → source URI.
  • ACL, fail-closed — enforced at the index layer; unauthorized content never appears in results.
  • Confidence + freshness — every answer carries a confidence score and oldest-source age.
  • Durable job queuevitrus agent run "…" && vitrus agent work && vitrus jobs (crash-recovering).

Providers (BYO-LLM)

Offline-deterministic by default — no API key needed. Production providers are env-driven, one interface:

Providers Env
Embedder OpenAI · Gemini · Cohere · offline hashing (default) VITRUS_EMBED_PROVIDER
Synthesizer OpenAI · Anthropic · Gemini · Ollama (local) · offline extractive VITRUS_SYNTH_PROVIDER
Reranker Cohere · Voyage · ZeroEntropy · lexical (default off) VITRUS_RERANK_PROVIDER

With a production embedder the brain is multilingual: ask in one language, retrieve sources written in another.

Agents (MCP)

Serve the brain to any agent over the Model Context Protocol — stdio + Streamable HTTP, with OAuth 2.1 Resource Server support:

claude mcp add vitrus -- bunx @vitrus/mcp     # stdio, one line
vitrus-mcp --http 3000                        # or Streamable HTTP on :3000/mcp

Agents read before they act and write after they decide. Read tools: search · think · gap_report · ops_report · provenance · verify. Write tools: record_decision · capture_session · resolve_conflict (remember / forget / improve too). One command wires the loop into Claude Code / Cursor / Codex: vitrus hooks install. Markdown sources are exposed as vitrus://node/<slug> resources. Agents see only what the token's user is allowed to see — ACL is enforced at the index layer, fail-closed. The output of an import can also be an executable Agent Skill (SKILL.md) wired live to MCP.

Architecture

Four layers, each depending only on the one below:

source of truth   markdown (+ .edges.json sidecar) in git   ← you own this
      ↓
engine            PGLite / Postgres+pgvector · hybrid search (vector + BM25 + entity → RRF)
      ↓                                       · self-linking graph ([[type::slug]], LLM-free) · bi-temporal edges
trust surface     gap analysis · provenance · verify · confidence · attention
      ↓
presentation      CLI · MCP (stdio + HTTP) · SKILL.md export · web dashboard (cloud)

Two engines, one contract: PGLite (WASM, zero-setup) for personal brains, Postgres+pgvector for teams — same SQL, same engine, same answers. Invariants: Markdown is canonical (reset index → rebuild → answer unchanged). The graph is LLM-free. Gaps are deterministic. ACL is fail-closed.

Testing & gates

Runs on Bun (no build step). Four CI gates, all green:

bun run typecheck      # strict tsc
bun run test           # 200+ tests (node:test runner)
bun run eval           # source-hit ≥90% + gap recall/precision 100%
bun run leak-test      # unauthorized access = 0 (ACL fail-closed)

Troubleshooting

Symptom Fix
vitrus: command not found cd packages/core && bun link (or use bunx @vitrus/core)
Answers feel weak in non-English Set a production embedder: VITRUS_EMBED_PROVIDER=openai + key (default hashing embedder is language-naive)
pg errors on import Team scale needs bun add pg and a reachable VITRUS_PG_URL (PGLite needs neither)
MCP server not showing tools Check claude mcp list; for HTTP, the endpoint is /mcp and auth is Authorization: Bearer <token>
"is my index stale?" The index is disposable: vitrus reset && vitrus import ./brain rebuilds everything from Markdown
Anything else vitrus doctor first — it reports backend, providers and health without leaking secrets

Docs

Guide What's inside
Quickstart From zero to a queried brain in 60 seconds.
Architecture The layers, hybrid search, the self-linking graph, invariants.
CLI reference Every vitrus command, grouped by what it does.
Providers Offline-default; plug in OpenAI/Ollama embedders, synthesizers, rerankers.
Scaling PGLite → Postgres+pgvector, migrations, the job queue, multi-tenant RLS.
MCP Serve the brain to agents (stdio + HTTP); the tool set.
Examples Six runnable recipes — graph, gaps, verify, MCP, Postgres.

Repository layout

packages/
  core/     @vitrus/core — engine, hybrid search, gap analysis, CLI, connectors (Apache-2.0)
    src/        the engine and CLI source (Bun runs TS directly, no build)
    brain/      a sample brain you can `vitrus import`
    migrations/ schema + row-level security
    test/       the test + eval + leak-test suites
  mcp/      @vitrus/mcp — the Model Context Protocol server (Apache-2.0)
docs/       the guides linked above
examples/   runnable recipes
assets/     logo + icon

This repo is the open core: everything above is Apache-2.0 licensed and self-hostable end-to-end, with no feature flags and no fake "community edition". Gap analysis is never gated.

Benchmarks

Gap detection has no public benchmark — so we built Gap-Eval (open corpus + harness, in this repo) and publish the numbers with their methodology:

vitrus bench gapeval --determinism    # or: bun run gapeval
metric v0 result
Recall / precision (overall, 18 gold-labeled cases, 5 gap kinds) 100% / 100%
False positives on clean brains (negative control) 0
Determinism (same brain → byte-identical gaps, twice) PASS

Honest framing: v0 is a controlled synthetic corpus (hand-authored brains with known gaps that exercise the engine's real mechanisms — dangling wikilinks, contradicts/supersedes edges, provenance-less events). It proves the detector does exactly what it documents, deterministically, with zero fabricated gaps; it does not claim real-world generalization. The corpus lives at packages/core/src/eval/gapeval/corpus — adding a harder case is a one-directory PR. Retrieval benchmarks (LongMemEval/LoCoMo format, BYO dataset) run via bun run bench.

Vitrus Cloud

There is also a hosted version at app.vitrus.dev — the same Apache-2.0 engine in this repo, deployed multi-tenant, for teams that don't want to run their own. What it adds is operations, not capability:

  • Web dashboard — Ask, Gap Explorer, knowledge Graph, Entities, Verify, and trace-to-source on every answer.

  • Managed connectors — a gallery of 13 sources with stored credentials, scheduled sync and per-sync permission capture. Live sync: Slack, GitHub, Notion, Linear, Google Drive, Jira, Confluence, GitLab, Discord, and an MCP bridge (any MCP server's resources become a source); plus real-time WhatsApp webhook ingest and staged Email/Calendar imports.

  • A per-org MCP endpointhttps://api.vitrus.dev/t/<org>/mcp with bearer auth, so your agents read the same brain your team does. Claude Code, Codex, Cursor, OpenClaw, Hermes — any MCP client over Streamable HTTP (copy-paste setup per agent on the dashboard's Agent access page):

    claude mcp add --transport http vitrus \
      https://api.vitrus.dev/t/<org>/mcp \
      --header "Authorization: Bearer <token>"
    
    openclaw mcp add vitrus --url https://api.vitrus.dev/t/<org>/mcp \
      --transport streamable-http --header "Authorization: Bearer <token>"
  • Team & ACL management — roles (admin/member/viewer), seat-based membership, and an audit log of who asked what.

  • Account & support — self-serve workspace administration and a built-in support desk (available on every account, including free ones).

Signing up is free — the Free plan includes the full dashboard with 1 brain · 1 seat · 2 connectors · 5k nodes; Pro ($25/seat/mo or $249/seat/yr) adds seats and scale. Either way there is no lock-in by design: your knowledge stays portable Markdown, and leaving the cloud means vitrus import on your own machine.

Contributing

Issues and PRs welcome — the roadmap is real deferred work, openly tracked. See CONTRIBUTING.md and the security policy. The fastest way to help: try the quickstart, and file an issue for anything that didn't take 60 seconds.

License + credit

@vitrus/core and @vitrus/mcp are Apache-2.0 (see LICENSE). The cloud apps (dashboard, multi-tenant API) live in a separate non-public repo.

Vitrus draws on ideas explored by GBrain — Markdown-canonical memory and an LLM-free typed graph — implemented independently here with its own engine and a different emphasis: the gap box. If GBrain's shape fits you better, use it; honest memory winning in any form is the point.