Show HN: Lore – build and monetize personal context Lore, a new open-source tool from developer Dipak Krishnan, lets users build a private memory library for AI agents on their own computer and optionally sell specific publications to other agents. The tool, available as version 0.1.0, installs via a script, integrates with Claude and Codex, and uses SQLite for full-text recall. It ensures private data is never exposed to buyers, with publishing as a separate approval step. Private memory for personal agents, with optional paid sharing. Lore keeps agent memory on your computer. You can use it privately, or approve specific publications for other agents to buy. Your private library is never exposed to buyers. Installed the Lore plugin first? Tell the agent “Onboard me to Lore.” It will explain the local runtime, ask permission, install it, and verify it for you. For a standalone install, inspect install.sh /dipakkrishnan/lore-mcp/blob/main/install.sh , then run the current release: curl -fsSL https://raw.githubusercontent.com/dipakkrishnan/lore-mcp/v0.1.0/install.sh | sh The installer bootstraps uv https://docs.astral.sh/uv/ and a compatible Python when needed, places Lore under ~/.local/share/lore , links the lore command into ~/.local/bin , and starts the guided setup. It never reads conversation transcripts during initial import. lore help show the end-user workflow lore setup import native memory; then onboard with an agent lore sync import new or changed memory files lore capture apply - validated private write path used by capture agents lore review keep private / discard lore review launch --status private revisit a prior decision lore search "failed launch" SQLite full-text recall lore price 0.50 advertise a fixed per-publication price lore status lore node deploy --wallet 0x… deploy at the configured price; rerun after price changes lore blueprint show see the shape of your lore, once captured The installer already copies Lore's owner-facing skills into Claude and Codex. To install the same workflows as a marketplace plugin instead, install Lore with the command above, then add this repository's marketplace. Claude Code: /plugin marketplace add dipakkrishnan/lore-mcp /plugin install lore@lore-marketplace /reload-plugins Codex CLI: codex plugin marketplace add dipakkrishnan/lore-mcp codex plugin add lore@lore-marketplace Restart the Codex app to browse Lore in its Plugins directory, or start a new Claude or Codex session after installation. The plugin packages only the four owner workflows; repository-maintenance skills are not included. The lore command remains the local, owner-controlled runtime. Set LORE HOME to use a location other than ~/.lore . Lore also respects CODEX HOME and CLAUDE HOME when discovering agent data. After lore setup , tell Claude or Codex “Onboard me to Lore.” The installed skill drafts a profile from your agent history, asks you to correct it, and sets up recurring synthesis. The selected agent turns imported memories into topic files and an INDEX.md index. Codex uses its local automation definition. Claude uses a macOS LaunchAgent that first runs lore sync , then invokes claude -p with the saved prompt and narrow permissions. Remote Claude routines cannot read local files. Keep the Mac awake when a local Claude task is scheduled. Tell Claude or Codex "Capture this in Lore" , then dictate, paste, point it at a local file, or drag in a PDF or image. The host agent reads the material and the lore-capture skill proposes bounded memories with private source references, lets you correct them, and saves only what you approve. Lore does not keep a copy of the file itself — only the memory text you approve, which may quote from it. It may then offer to draft a publication, but publishing remains a separate review and approval step. The validated lore capture apply - command owns local writes; the skill never edits SQLite directly or sends private captures to the paid MCP surface. The lore-onboard skill runs first-time setup in a Claude or Codex session: - Choose how you want Lore organized and how much detail it should keep. This becomes your blueprint; view it with lore blueprint show . - Correct the suggested synthesis profile, then choose the agent and schedule for recurring synthesis. When you are ready to charge for publications, the lore-enable-payments skill walks you through setting a payout address, deploying a node, and testing a payment. You can stop before enabling payments. The blueprint controls the shape of your library. The profile controls what the synthesis task looks for. Planned and in-flight work on Lore itself is tracked as a git-versioned backlog under docs/backlog/ , organized by component with per-item metadata priority, effort, status, blockers . See docs/backlog/README.md for the schema and how to manage it. lore sync imports supported agent memories into a local SQLite database.- A scheduled agent turns useful imports into topic-based memory files. - You review memories and decide what stays private or is discarded. - An agent may draft a publication, but only you can approve it. - A deployed node lists approved publications and accepts payment for them. Lore remains useful as a private memory library even if you never publish or charge for anything. buyer task ↓ marketplace search ↓ discover ───────→ full catalog of approved teasers ↓ choose zero, one, multiple, or all ids ↓ get id ──────────→ price quote for one publication ↓ ↓ local retrieval ←── verified payment ↓ owner-approved publication The public surface has two tools: discover — free; returns the full catalog of owner-approved teasers. get id — paid when policy requires it; returns exactly one publication. A buyer may choose zero, one, multiple, or every advertised id, calling get once per selection. Publication ids contain a checksum: a damaged copy is rejected before payment. Use ids from a current catalog; a publication revoked between discover and get can still be billed because settlement precedes lookup. The implemented server exposes those two tools using MCP protocol version 2025-11-25 : Local agent configuration newline-delimited stdio lore serve Stateless Streamable HTTP for local agents that prefer it lore serve --transport http --host 127.0.0.1 --port 8765 Register the local server with either supported agent: codex mcp add lore -- lore serve claude mcp add --scope user lore -- lore serve discover returns only owner-approved advertisement fields. get reads only active publications the owner explicitly approved; no memory is reachable over MCP, whatever its status. HTTP binds to loopback by default. Binding another interface requires --token or LORE MCP TOKEN . The paid deployment boundary is a Cloudflare Worker in the owner's own account, deployed with lore node deploy : buyer agent → owner's Worker x402 payment gate → owner-approved content The Worker source ships inside this package lore/node/ , so deploying never needs this repository. Lore owns local retrieval and disclosure policy; the Worker owns the payment exchange, verification, and settlement, and the owner's machine only ever pushes approved publications outward — no tunnel, no inbound path to the private library. The deployed node serves only the owner-approved publications lore push maintains in its edge database. Buying needs no Lore install and no Coinbase/CDP account — CDP is the seller's settlement facilitator, not the buyer's. A buyer runs bridge/ /dipakkrishnan/lore-mcp/blob/main/bridge/README.md , a local MCP server that fronts the seller's node and holds the paying key; the agent sees discover and get as ordinary tools and payment happens between them. Clone this repository, then: npm --prefix bridge install Claude Code claude mcp add lore-buyer -- npm --prefix /path/to/lore-mcp/bridge run start -- --node https://