aakarim/OpenLore
A virtual filesystem for shared, access-controlled agent knowledge
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
OpenLore is a Go service that exposes ordinary Markdown through a shared virtual filesystem. Wish handles SSH transport; the server resolves the caller's identity, mounts the docsets that identity can access, and executes commands against that view. SSH, SFTP/SSHFS, MCP, and the web view expose the same knowledge surface. The Go MCP SDK is a direct dependency, and lore_bash exposes the shell-style interface over MCP.
The shell interprets supported commands in Go rather than launching host processes. A normal session has neither arbitrary process execution nor ambient network access; spawn is a separate capability for explicitly trusted identities. Plugins extend grants, metadata, validation, read/write middleware, and post-commit processing without changing the filesystem interface clients use.
Key Capabilities & Differentiators
The server is read-only by default. Docset-level ro, publish, and rw grants separate readers, scoped contributors, and editors. Path aliases and private homes let different identities see different layouts. Authorized changes enter one whole-file write path: plugins can validate or defer a change before an atomic commit, and compare-and-swap rejects stale edits by default. OAuth delegates cannot exceed the principal's authority and are recorded separately in write provenance.
Retrieval is inspectable as file and shell operations rather than hidden behind a ranking API. Agents can search with grep and find, while lore meta emits frontmatter as NDJSON for downstream tools such as jq. Open Knowledge Format bundles and Agent Skills can be validated near the write path. Release v0.8.0 adds selective import of agent memory and repository knowledge without moving original files or giving the server private Git credentials.
Trade-offs & Limitations
For one agent in one repository, keeping Markdown in Git avoids another service and leaves review in the existing pull-request workflow. OpenLore earns its operational cost when several repositories or agents need the same current files but not the same write permissions. Compared with an embedding-backed knowledge base, it removes indexing and embedding infrastructure and makes retrieval easy to inspect. The trade-off is that search quality depends on document structure, vocabulary, and the caller's ability to navigate the corpus; it does not provide semantic ranking out of the box.
The virtual shell limits what ordinary sessions can do, but it is not a general POSIX environment. Workflows that assume host tools or network calls will need to stay outside it. Atomic writes address stale updates, not editorial quality or approval: use publish-only inboxes if agent output needs maintainer review. For a larger corpus, test representative recursive searches and parallel sessions, and budget for identity administration, policy, and persistent storage.
Hardware & Deployment Guide
A local trial uses lore init and openlore ./docs; the quickstart serves SSH on 2222 and web/MCP on 8080. Building from source uses the Go 1.26.2 version declared in go.mod, with make dashboard-build optional for embedding the web UI. The file-serving runtime does not require model inference, a GPU, or a vector database. For offline distribution, documentation embedded under assets/lore/ is served read-only at /docs when the binary runs without a directory argument.
For a shared deployment, pin the release image, provision persistent /var/lib/openlore storage, and provide openlore.yml and lore.json in its config directory before starting ./out --config /var/lib/openlore/config/openlore.yml. The image does not supply deployment policy. Plan for HTTPS and authentication on /mcp as well as SSH reachability if agents use it; public port mapping is provider-dependent. Keep server-side policy and file edits across upgrades. Release v0.7.5 improved dashboard navigation and passkey sign-in; v0.8.0 adds selective knowledge import.
cat, grep, and find against identity-scoped files over SSH or MCP's lore_bash.ro, publish, and rw grants with path aliases and private homes.lore meta and validate OKF bundles or Agent Skills near the write path.Teams sharing current Markdown runbooks, architecture notes, or reusable skills across agents and CI, with separate permissions for reading, publishing, and editing.
An existing Git workflow already serves one repository, or the main requirement is semantic retrieval over a corpus that users cannot reliably navigate by path or keyword.
Quick Start & Installation
brew install --cask aakarim/tap/lore lore init my-knowledge cd my-knowledge
Comparison vs. Top RAG, Data & Memory Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| OpenLore ★ | 2k | +31 | Go | Apache-2.0 | A virtual filesystem for shared, access-controlled agent knowledge |
| OpenViking | 43.2k | +255 | Python | AGPL-3.0 | A directory-scoped RAG database for inspectable agent knowledge and memory |
| Memori | 17.9k | +337 | Python | — | An SDK-based agent memory layer for persistent state across sessions. |
| memvid | 17.4k | +14 | Rust | Apache-2.0 | Embedded Rust memory for AI agents, with retrieval indexes in one portable file |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/aakarim/OpenLore.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about OpenLore
How do I connect an agent without duplicating the knowledge store?
/mcp endpoint and grant its resolved identity access to the required docsets. A shell-based client or CI job can use SSH instead. Both routes operate on the same virtual filesystem; no embedding pipeline or custom retrieval SDK is needed.Does OpenLore need a GPU, and what should I measure for sizing?
Can a company self-host or redistribute OpenLore?
When should I choose OpenLore over Git-hosted Markdown or vector search?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy