Browse / LLM wiki / braindb

braindb

dimknaf

An "LLM wiki" upgraded to a real database — typed entities, graph relations, HTTP API, and a built-in natural-language agent.

Open dimknaf/braindb → Does not match the four rules.

agentknowledge-graphllmllm-agentllm-memoryllm-wiki

Built for one agent

ships CLAUDE.md and nothing for other agents.

In its own words

README.mddimknaf/braindb

▶ Watch the walkthrough: youtu.be/AJ7iMOj4vvA — Karpathy's LLM wiki idea, on a SQL database, driven by REST APIs.

A memory database and REST API for LLM agents. Store and retrieve thoughts, facts, sources, documents, and behavioral rules — with fuzzy + semantic keyword search, graph traversal up to 3 hops, temporal decay, and always-on rule injection. Built to be driven externally by an LLM via HTTP calls.

It also ships with its own internal agent (OpenAI Agents SDK + LiteLLM with pluggable providers — DeepInfra is the recommended default, with NIM / local vLLM / others available via config) so external callers can talk to BrainDB in plain English via a single endpoint instead of orchestrating individual API calls.

Why BrainDB?

Inspired by Karpathy's LLM wiki idea — give an LLM a persistent external memory it can read and write. BrainDB takes that further by adding structure, retrieval, and a graph on top of the "plain markdown files" baseline.

Quoting 6% of the README. Read the rest on GitHub ↗

Read from the repository's git tree on 2026-08-17.