# Personal External Brain Knowledge Graph

> Self-hosted, open-source personal knowledge graph for notes, web pages, PDFs, audio/video with topic-isolated recall and source citations — refuses ungrounded answers.

- **Category:** Knowledge Management
- **Licence:** MIT
- **Open source:** oss
- **Languages:** Typescript, Python
- **Platforms:** Docker Compose, Build from Source
- **Tags:** Knowledge Management, Privacy First, Local First, Rag, Knowledge Graph, Graph Database, React, Python, Self Hosted, Vector Database, Note Taking, Personal Knowledge Management, Spaced repetition, Knowledge Graphs, Decision Tracking

## Description

This local-first application constructs a personal knowledge graph from varied inputs such as notes, web pages, Markdown files, PDFs, audio recordings, and video. It pulls out claims with exact source references, filters ingestion by topic relevance, and delivers topic-isolated recall where every retrieved fact gets a confidence score. The system deliberately declines to answer when evidence is lacking, making refusal rate a quality measure. It includes decision tracking with outcome logging, learning loops with spaced repetition and misconception tracking, and a three-panel workbench interface. The stack uses Kuzu for graph storage, LanceDB for vector search, a FastAPI backend, and a Next.js/React frontend. You can deploy via Docker Compose or locally with Node.js 18+ and Python 3.11/3.12. The project is in early alpha with a strict design constitution that prioritizes evidence-backed answers over fluent but ungrounded generation.

## Links

- [Homepage](https://github.com/chenkanglin198904/personal_external_brain)
- [GitHub Repository](https://github.com/chenkanglin198904/Personal_External_Brain)

---
Source: https://selfhost.directory/project/personal-external-brain