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

推荐订阅源

WordPress大学
WordPress大学
L
LangChain Blog
D
Docker
G
Google Developers Blog
aimingoo的专栏
aimingoo的专栏
S
Secure Thoughts
AI
AI
T
The Blog of Author Tim Ferriss
月光博客
月光博客
U
Unit 42
M
MIT News - Artificial intelligence
P
Proofpoint News Feed
N
News and Events Feed by Topic
酷 壳 – CoolShell
酷 壳 – CoolShell
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
腾讯CDC
Last Week in AI
Last Week in AI
B
Blog
Stack Overflow Blog
Stack Overflow Blog
F
Full Disclosure
博客园 - 司徒正美
博客园 - 三生石上(FineUI控件)
H
Hacker News: Front Page
博客园 - 叶小钗
S
SegmentFault 最新的问题
S
Security @ Cisco Blogs
H
Help Net Security
Recorded Future
Recorded Future
MyScale Blog
MyScale Blog
大猫的无限游戏
大猫的无限游戏
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
P
Privacy & Cybersecurity Law Blog
阮一峰的网络日志
阮一峰的网络日志
Recent Commits to openclaw:main
Recent Commits to openclaw:main
T
Tenable Blog
Jina AI
Jina AI
云风的 BLOG
云风的 BLOG
P
Privacy International News Feed
T
Threat Research - Cisco Blogs
Cloudbric
Cloudbric
爱范儿
爱范儿
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
O
OpenAI News
SecWiki News
SecWiki News
Latest news
Latest news
T
Tor Project blog
The Cloudflare Blog
C
Cisco Blogs
Security Archives - TechRepublic
Security Archives - TechRepublic
L
Lohrmann on Cybersecurity

Hacker News: Show HN

PurrrrrFocus: Pomodoro Timer App - App Store Workflow Engine — Multi-Step Orchestration for Bun RapidPhoto: Pro Photo Editor App - App Store GitHub - DheerG/swarms: Achieve extraordinary results with claude code across a variety of tasks SPICE simulation → oscilloscope → verification with Claude Code — Lucas Gerads Show HN: VCoding – A 5 MB native Windows IDE with no dynamic dependencies Show HN: LLMs don't hallucinate because they're bad at math, it's the format GitHub - Agent-FM/agentfm-core: AgentFM is a peer-to-peer network that turns everyday computers into a decentralized AI supercomputer. AgentFM lets you run massive AI workloads directly across a global mesh of idle CPUs and GPUs. Show HN: Tracking Top US Science Olympiad Alumni over Last 25 Years GitHub - Potarix/agent-hub: One place to talk to all your agents Show HN: Runtime security for AI agents(injection,tool abuse, data exfiltration) GitHub - dubeyKartikay/lazyspotify: Terminal Spotify client for macOS and Linux GitHub - the-banana-tool/king-louie: Easy to use GUI Personal AI Assistant. Win/Linux/Mac. Show HN I made my vacation rental bookable by AI agents–no Airbnb, 0% commission GitHub - basteez/jsf-autoreload: maven plugin to enable hot reload on jsf projects uvm32/hosts/host-gdbstub at main · ringtailsoftware/uvm32 GitHub - labsai/EDDI: Config-driven engine that turns JSON into production-grade AI agents. Multi-agent orchestration, 12+ LLM providers, MCP/A2A protocols, RAG, persistent memory, and enterprise compliance (EU AI Act, GDPR, HIPAA). Built on Quarkus. GitHub - glitchnsec/fortyone-oss: AI Executive Assistant Platform Quickstart | Alien GitHub - muxshed/shed: One stream in, or many. Every destination, simultaneously. No cloud middleman, no per-channel fees, no limits. GitHub - ocrbase-hq/ocrbase: 📄 PDF/IMG ->.MD/JSON Document OCR API for PaddleOCR and GLMOCR. Self-hostable. GitHub - impactjo/home-memory: MCP server that lets your AI assistant remember everything about your home. GitHub - Sets88/dbcls: DbCls is a powerful terminal database client that supports various databases GitHub - neptun2000/heor-agent-mcp GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh RollQuation: Math Puzzles - Apps on Google Play GitHub - dropbox/witchcraft Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis GitHub - opentalon/opentalon: OpenTalon is an open-source platform built from the ground up in Go as a robust alternative to OpenClaw LinkedIn™ 职位抓取工具 - Chrome 应用商店 GitHub - EdoardoBambini/Agent-Armor-Iaga: AI agents are getting tool access — shell, file system, databases, APIs, secrets. But **nobody is governing what they actually do with it**. Frameworks like LangChain, CrewAI, AutoGen, and Claude Code give agents the power to execute. Agent Armor gives you the power to control, audit, and approve every single action before it happens. HN Vibes — Week 15, Apr 7–13 2026 GitHub - chojs23/ec: Easy terminal-native 3-way git mergetool vim-like workflow GitHub - SethPyle376/hiraeth: Local AWS emulator focused on fast integration testing, with SQS support, SQLite-backed state, and a debug-friendly web UI. GitHub - JakOb-dotcom/cloud-sandbox-security-analysis: Technical analysis and Proof of Concept (PoC) regarding environment variable exfiltration in containerized cloud sandboxes via side-channel data leaks. Springboards - Flint Alpha Show HN: A simpler coding agent harness GitHub - audiodude/sudomake-friends GitHub - 256thFission/mini-mythos: OSS clone of Anthropic’s Mythos harness to locate C/C++ memory vulnerabilities Show HN: OpenParallax: OS-level privilege separation for AI agent execution Hacker News Sorted - Chrome 应用商店 Show HN: How to Install Docker on Ubuntu 24.04 LTS: Complete 2026 Guide GitHub - himanshudongre/smriti GitHub - sverrirsig/claude-control: macOS desktop dashboard for monitoring and managing multiple Claude Code sessions GitHub - ory/dockertest: Write better integration tests! Dockertest helps you boot up ephermal docker images for your Go tests with minimal work. Chiral - Chrome 应用商店 Show HN: Two Claudes collaborating through shared memory on a $100 mini-PC GitHub - pmichaillat/latex-cv: Minimalist LaTeX template for academic CVs GitHub - oguzbilgic/posse: A web UI for Anthropic Managed Agents. GitHub - sshiraz/depsly: Dependency risk analysis tool for npm packages ABI Add safari/agent-harness — Safari browser automation via safari-mcp by achiya-automation · Pull Request #212 · HKUDS/CLI-Anything GitHub - Halfblood-Prince/trustcheck: Verify PyPI package attestations and improve Python supply-chain security GitHub - oguzbilgic/kern-ai: Agents that do the work and show it. GitHub - bruits/satteri: High-performance Markdown and MDX processing for the JavaScript ecosystem GitHub - tylergibbs1/feedstock: High-performance web crawler and scraper for TypeScript, powered by Bun and Playwright GitHub - Grimm67123/grimmbot: The self-improving sandboxed and open-source AI agent. With persistent memory and scheduling. GitHub - whitevanillaskies/whitebloom: Local whiteboard that blooms. GitHub - hwdsl2/docker-whisper: Docker image for a self-hosted Whisper speech-to-text server with speaker diarization and OpenAI-compatible transcription and translation APIs. Powered by faster-whisper. Supports all Whisper models, NVIDIA GPU (CUDA) acceleration, JSON/SRT/VTT output, SSE streaming, offline mode, and multi-arch (amd64, arm64). GitHub - yisding/reviewwiggum GitHub - MarwanAlsoltany/serrors: Structured errors for Go: sentinel hierarchies, typed data, custom formatting, and slog integration. GitHub - soatok/age-php GitHub - Luthiraa/markitme GitHub - stagas/rtdiff: realtime git diff gui and AI-assisted commits GitHub - tombedor/excalicharts GitHub - wh1le/excalidraw-edit: Open and edit .excalidraw files from the terminal. Offline, auto-saves to disk. MalExt Sentry - Malicious Extension Scanner - Chrome 应用商店 GitHub - syi0808/asciianimesvg: Generate animated ASCII art SVGs from text. CLI, Rust library, WASM, and web editor. GitHub - zaina-ml/ml_forge: A visual-based graph node editor for training computer vision models. GitHub - anakin87/llm-rl-environments-lil-course: 🌱 A little course on Reinforcement Learning Environments for evaluating and training Language Models GitHub - takaakit/superpowers-uml: Superpowers-UML modifies Superpowers to ensure a software development workflow in which AI agents design through UML modeling. AdriByte Studio - Sviluppo Web e Soluzioni Digitali GitHub - chouligi/angel-copilot: Your personalized Angel Investment Advisor Show HN: MoodSense AI (ML and FastAPI and Gradio, Deployed on Hugging Face) Moodsense Ai - a Hugging Face Space by aman179102 GitHub - agenteractai/lodmem: Level Of Detail Context Management for Agents GitHub - ostefani/subnetlens: A fast, concurrent network scanner with a TUI and plain-text CLI, built in Go. It discovers live hosts on your network, scans their open ports, resolves hostnames, and fingerprints operating systems—delivered. Cyber Pulse: Agentic Intel - Apps on Google Play Whisper API: Self-Hostable Speech to Text Transcription The Agent-Web Protocol Stack: A Research Thesis GitHub - msmarkgu/RelayFreeLLM: A restful API designed to route user prompts to various AI model providers. Show HN: Provepy – A Python decorator that proves your code using Lean and LLMs Show HN: Pardonned.com – A searchable database of US Pardons GitHub - patrickdappollonio/dux: Dux is a terminal UI that lets you run multiple AI coding agents side by side, each in its own git worktree, with full companion terminals, macros, commit generation, and a command palette that knows more tricks than you do. kMC Crystal Simulator Show HN: HyperFlow – A self-improving agent framework built on LangGraph GitHub - stef41/vibescore: 🎵 Grade your vibe-coded project. One command, instant letter grade across security, quality, dependencies, and testing. GitHub - stef41/lmscan: 🔍 Detect AI-generated text and fingerprint which LLM wrote it. Open-source GPTZero alternative. Zero dependencies, works offline. imgur.com GitHub - visionscaper/collabmem: Enabling long-term collaboration with Agentic AI - building up episodic and world model memory over time with in-context awareness 在 Steam 上购买 FriedrichAI: Offline AI 立省 10% GitHub - atripati/ark: AI Runtime Kernel — a context operating system for AI agents. Eliminates tool bloat, loads only what’s needed, and gives LLMs their reasoning space back. GitHub - nowork-studio/toprank: Open-source Claude Code skills for SEO, SEM, Google Ads GitHub - tacomanator/sash: Lightweight macOS menu bar app for reliably cycling through windows of the current application. Appents | Social Media Management for Product-First Teams GitHub - pnhoang/youtube-spam-blocker: Automatically detects and hides spam messages in YouTube Live chat. Set rate limits, keyword filters, and block repeat offenders. GitHub - decisionnode/DecisionNode: CLI + Local MCP - A shared structured memory store across Claude Code, Cursor, Windsurf, Antigravity, and every MCP client. Semantically queryable. GitHub - AvaCodeSolutions/django-email-learning: An open source Django app for creating email-based learning platforms with IMAP integration and React frontend components. The $100K Gap in Kubernetes Security Tooling Function Calling Harness: From 6.75% to 100%
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 Hacker News: 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.