Skip to content

Get started

Install Lore

Follow Install → Connect → Verify: install on the machine where you code, choose your coding agent, then check a recorded conversation in your local app. Have the agent installed and signed in before you begin; the hosted installer installs Lore, not your coding agent.

  1. Install
  2. Connect
  3. Verify
Install Lore · collapse this step when ready

Choose the machine where you code. Install once, then connect from your project.

Where will you run Lore?

Run in a terminal with Bash and curl. Downloads the standalone executable; Node.js is not required for this installer.

curl -fsSL https://withlore.ai/install | bash

Copy, then run in your terminal.

In PowerShell or Command Prompt, install with npm. Requires Node.js 22.16+ in the 22.x line, or 24+; Node.js 23 is excluded.

npm install -g @loreai/gateway

After installation, open a new terminal and run lore --version.

Already installed? Continue with your connection command below. npm and installation details

Choose your coding agent

Connect Claude Code

Run this from your project. Lore launches your installed Claude Code client with routing for this session.

lore run claude

Verify a recorded session

Send a message, open Lore’s printed Dashboard URL, and look in this project’s Sessions list.

Your observation is checked. Next, open the session and inspect its recorded messages.

This checklist does not inspect your local gateway or mark setup complete automatically.

Connect Codex CLI

Run this from your project. Lore launches Codex with per-session routing and your existing Codex authentication.

lore run codex

Verify a recorded session

Send a message, open Lore’s printed Dashboard URL, and look in this project’s Sessions list.

Your observation is checked. Next, open the session and inspect its recorded messages.

This checklist does not inspect your local gateway or mark setup complete automatically.

Connect Codex Desktop

Configure routing once, start the local gateway, then fully quit and reopen Codex Desktop. Setup backs up the settings it changes.

  1. Configure routing once.
    lore setup codex

  2. Start the local gateway.
    lore start --bg --local

  3. Restart Codex Desktop. Save your work, fully quit the app, then reopen it so it reads the routing settings.
  4. Verify recording. Open your project and send a message in a new conversation. Undo routing changes if needed.

Verify a recorded session

Send a message, open Lore’s printed Dashboard URL, and look in this project’s Sessions list.

Your observation is checked. Next, open the session and inspect its recorded messages.

This checklist does not inspect your local gateway or mark setup complete automatically.

Connect OpenCode

Run this from your project. The launcher supplies the Lore plugin configuration to your installed OpenCode client.

lore run opencode

Verify a recorded session

Send a message, open Lore’s printed Dashboard URL, and look in this project’s Sessions list.

Your observation is checked. Next, open the session and inspect its recorded messages.

This checklist does not inspect your local gateway or mark setup complete automatically.

Connect Pi

First add npm:@loreai/pi@latest to the packages array in Pi’s settings.json. The @loreai/pi extension handles routing and memory hooks; pi install installs the configured extension.

pi install
lore run pi

Verify a recorded session

Send a message, open Lore’s printed Dashboard URL, and look in this project’s Sessions list.

Your observation is checked. Next, open the session and inspect its recorded messages.

This checklist does not inspect your local gateway or mark setup complete automatically.

Connect Hermes

Run this from your project. Lore launches your installed Hermes Agent with routing for this session.

lore run hermes

Verify a recorded session

Send a message, open Lore’s printed Dashboard URL, and look in this project’s Sessions list.

Your observation is checked. Next, open the session and inspect its recorded messages.

This checklist does not inspect your local gateway or mark setup complete automatically.

Model requests use your configured providers and can incur charges. Local Lore runs on your machine; model-provider billing is separate. Production telemetry is on by default; set SENTRY_ENABLED=0 before starting Lore to opt out. Data and costs

If lore is missing after installation, open a new terminal and run lore --version. Check the installation if it still cannot be found. Knowledge curation happens later; a recorded session is enough to verify your connection.

For remote gateways or custom providers, use the setup reference and custom upstream guide.

The installer and uninstall reference lists paths, configuration effects, runtime options, and cleanup behavior.

The installer downloads the executable and may update your shell’s PATH. See the full path reference.

Preview the plan with lore uninstall --dry-run. Read preservation and cleanup details.

The Windows path above installs the lore command with npm and also works on macOS and Linux with a supported Node.js runtime. To try the default launch flow without a global install:

Terminal window
npx @loreai/gateway

Node.js 22.16+ in the 22.x line, or Node.js 24+, is required; Node.js 23 is excluded. This uses Lore’s default launch flow. Follow your agent’s connection instructions.

Read about optional local runtimes and remote embeddings.

Use lore import --dry-run to inspect available sources before importing. Read the import guide.