{"repo":"penfieldlabs/pengram","free":true,"listed":false,"github":"https://github.com/penfieldlabs/pengram","clone":"git clone https://github.com/penfieldlabs/pengram.git","description":"🧠 PENgram takes raw content - code, documents, YouTube channels, PDFs, audio, images - extracts entities and typed relationships, and outputs a structured knowledge graph ready for Penfield, Obsidian, or any graph-aware tool.","language":"Python","stars":10,"topics":["ai","graph","knowledge-base","knowledge-graph","obsidian","penfield","pkm"],"license":"MIT","category":"productivity","readme_excerpt":"PENgram Parse. Extract. Normalize. PENgram takes raw content — code, documents, YouTube channels, PDFs, audio, images — extracts entities and typed relationships, and outputs a structured knowledge graph ready for Penfield, Obsidian, or any graph-aware tool. PENgram is a personal knowledge-management tool. It is not intended for bulk scraping or republication of copyrighted material. When using the YouTube pipeline, you are responsible for complying with YouTube's Terms of Service. How it works PENgram uses a three-pass architecture: 1. Deterministic — tree-sitter extracts classes, functions, imports, and call graphs from code. No model inference, no tokens burnt. 2. Local — faster-whisper transcribes audio and video on CPU or GPU. No API calls required. 3. LLM — a small model (Claude Haiku / GPT-4o-mini by default) extracts entities and topics per document; a larger model synthesizes taxonomy; and a typing pass assigns one of the 24 Penfield semantic relationship types to every inferred edge. All extractions are content-hashed (SHA256) and cached on disk, so re-runs only reprocess what changed. Per-document and per-entity LLM calls are written to disk as they complete, so a crash resumes cleanly. Idempotent vs reproducible. Re-running PENgram on unchanged input produces identical output (idempotent). But the pipeline is not byte-reproducible across machines or model versions — LLM responses are inherently non-deterministic, so a fresh extraction of the same content may produ","default_branch":null,"files":null,"tree":[],"storefront":"/r/penfieldlabs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/penfieldlabs/pengram/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}