OpenLoreDocumentationGitHub ↗v0.8.0
Browse documentation
StartOpenLore / Manual

Quickstart

On this page

Install OpenLore, set up a knowledge repository, and connect an agent.

Install

Every installation ships two binaries: openlore, the server, and lore, the client that signs in to a server and syncs knowledge into it.

macOS and Linux: Homebrew

brew install --cask aakarim/tap/lore

The cask installs openlore and lore together.

Linux release

Download and install the latest x86-64 release:

curl -L https://github.com/aakarim/OpenLore/releases/latest/download/openlore_linux_amd64.tar.gz | tar xz
sudo install openlore lore /usr/local/bin

Arm64 archives are published as openlore_linux_arm64.tar.gz.

Windows release

Download and extract the latest 64-bit release from PowerShell:

Invoke-WebRequest `
  -Uri https://github.com/aakarim/OpenLore/releases/latest/download/openlore_windows_amd64.zip `
  -OutFile openlore.zip
Expand-Archive openlore.zip -DestinationPath .
.\openlore.exe version

The archive also contains lore.exe; keep both on your PATH.

Build from source

See Building from source. Build the web UI before the binary. go install and a plain go build produce a binary without the dashboard.

Which installations include the dashboard

InstallationDashboard (/dashboard/)
Homebrew, Linux and Windows releases, containers, GitHub ActionIncluded
make distribution from sourceIncluded
go install, go build from a clean checkoutNot included; /dashboard/ returns 404

SSH, MCP, the JSON API, and published file links work in every installation. The startup banner’s Dashboard: line shows whether your binary includes it.

To run a hosted server instead, see Deploy a shared server.

Set up your knowledge repository

Create a folder for your team’s knowledge and server settings:

lore init my-knowledge
cd my-knowledge

lore init creates the folder and an openlore.yml with default server settings. To initialise the current folder instead, run lore init without a directory. It never overwrites an existing openlore.yml.

Put your Markdown in a docs/ folder inside the repository. For identities, access controls and tracking settings in Git, see Create a knowledge repository.

Serve a folder

From your knowledge repository, start the server:

openlore ./docs

SSH runs on port 2222. The web view and MCP share port 8080. The contents of ./docs appear at /.

Connect an agent

# Claude Code
claude mcp add --transport http openlore http://localhost:8080/mcp

# Codex
codex mcp add openlore --url http://localhost:8080/mcp

# Anything with a shell
ssh -p 2222 localhost "grep -r 'retry' /"

Claude Code also needs the OpenLore tools allowed before the first call. Claude Code reviews every tool call, and OpenLore looks like a filesystem, so a search such as grep -r "retry" / can be mistaken for a scan of your local disk and prompted for or blocked. Allow the server once in ~/.claude/settings.json or the project’s .claude/settings.json:

{
  "permissions": {
    "allow": ["mcp__openlore"]
  }
}

Then tell your agents when to use it:

ssh -p 2222 localhost agents >> AGENTS.md

The section also tells Claude that / is the documentation root, not your machine, so keep it in CLAUDE.md too. See Claude Code with OpenLore for the details.

Next steps

Edit this page on GitHub ↗Source: docs/start/quickstart.md

Search the manual

Search the project documentation. No external service.