# TheKnowledge

A personal knowledge base that stores markdown and YAML sources on disk and answers queries with ranked, cited context blocks, following a documented pattern for grounding AI assistants in a person's own notes.

TheKnowledge keeps sources as markdown and YAML files on the local filesystem and builds a citation graph over them, following what its documentation calls the LLM Wiki pattern. A ranked retrieval command returns bounded, cited context blocks for a query, and separate synthesis pages hold longer answers built from that retrieved context.

The project has three layers over the same data: the wiki itself, which is canonical; NotebookLM, used for heavier synthesis and linked back into the vault; and Obsidian, used to visualize the citation graph. It is meant to be used both interactively, through a command-line tool and documented operations, and by coding or MCP agents, which are pointed at a control-surface document and a status command before making changes.

Website: https://github.com/badwally/TheKnowledge
