This personal project brings together llmwiki, store and second-brain around a shared problem: keeping knowledge useful and traceable as people and AI agents read, write and revisit it. The design and implementation span source curation, knowledge modeling, backend services, retrieval and literature-processing workflows. The three components cover different parts of that work: a passage-level wiki, a shared knowledge store and a biomedical literature engine.
store provides the operating backend. Written in Go and self-hosted through Docker on a single VM, it exposes one REST API over PostgreSQL with Apache AGE for graph relationships and pgvector for embeddings. Account-owned nodes hold notes, papers and syntheses, connected by typed edges. Local embeddings support semantic search alongside graph traversal. Service-account Bearer tokens scope listing and search to an account; a node's UUID-based web view can be shared without a token. Batch operations, incremental sync and Markdown views support both human and agent clients.
llmwiki addresses source traceability and knowledge organization. Its core unit is a passage, roughly one source paragraph, holding an original quote and a faithful paraphrase. Four layers separate immutable raw sources, screening, deep-reading notes and finished wiki pages. Documents, passages, entities, concepts and syntheses link back to source passages. A shared ontology maps aliases to canonical concepts across domains, while passage embeddings support retrieval and link recommendations. Humans curate sources and ask questions; agents write and maintain notes. Ontology changes, major reorganizations and cross-domain links require user approval.
The second-brain engine extends the work to ongoing biomedical literature review. Snowball search gathers candidates from PubMed Central, preprint servers and Semantic Scholar's citation graph. Identifier checks remove known papers; abstract similarity with author and year overlap catches near-duplicates, with rules for preferring a journal version to its preprint. A fixed local-model pipeline writes one English reading note per paper, recording the processing version for provenance. Papers and notes become linked nodes with local embeddings in the shared graph store.
A synthesis cycle draws topic clusters into summaries, knowledge-gap maps, research questions and review drafts. It independently rechecks citations through scholarly interfaces, corrects source notes when discrepancies appear and keeps an audit trail. Problems it cannot correct pause the cycle for human intervention. These mechanisms support reviewable literature work; output quality still depends on the models, retrieved sources and verification methods. The workflow also includes MeSH tagging and ingestion of health newsletters and news items.
The store backend is self-operated, with backups, upgrades and monitoring remaining operational responsibilities. The wiki schema and research workflows continue to evolve as personal experiments. Literature processing works within a single-GPU budget, and external scholarly APIs impose availability and rate-limit constraints. The current scope does not include billing, external SSO or real-time collaboration. The project is pursued purely for intellectual exploration; the research workflows are not presented as a published benchmark.