Lorebase: git-style branch/merge for agent knowledge bases, no more silent overwrites

aantenore · reddit · 2026-11-13

A developer shares Lorebase (open source, prealpha, largely vibe coded): an attempt to drive agent behavior from a customizable, traceable knowledge base — swap domains by swapping knowledge, not code. Core problem solved: when multiple agents share facts, you can't tell which revision an agent saw, and conflicting sources silently overwrite each other. Knowledge is typed schema + records edited on branches and merged: an analyst's supplier risk score of 80 vs an ERP feed's 45 becomes an explicit conflict to resolve. Reads go through MCP/REST with no LLM in the path and every answer cites its revision; writes go through operations, with human-approved proposals on protected branches; plain Postgres underneath. The merge demo runs in-memory in about a second. Author seeks feedback on whether this branch/merge case actually occurs in practice.

Original post →

More from coding & agent

coding & agent channel →