{"repo":"dheerapat/pi-kb","free":true,"listed":false,"github":"https://github.com/dheerapat/pi-kb","clone":"git clone https://github.com/dheerapat/pi-kb.git","description":"A pi extension that compiles documents into a structured, interlinked wiki using your LLM","language":"TypeScript","stars":21,"topics":["agent","knowledge-base","pi"],"license":"MIT","category":"productivity","readme_excerpt":"pi-kb — pi-native Knowledge Base A pi extension that compiles markdown documents into a structured, interlinked wiki using your LLM. Inspired by OpenKB (which also inspired by Andrej Karparthy) but built entirely as a pi extension with no external dependencies beyond your LLM. Install Usage All commands accept -w to target a specific workspace: If no workspace is specified, commands operate on the default workspace at /.pi/agent/kb/ . Interrupted compilations & recovery When you run /kb-add , the source file is copied and registered immediately, but the wiki compilation (summary, concepts, index) runs asynchronously through the LLM. If the session is interrupted mid-compilation, the registry will list the document but the wiki will be incomplete. At most one document can be pending at a time. If you try to /kb-add a new document while another is still pending, pi shows a confirmation dialog: discard the pending document and add the new one, or keep the pending one (use /kb-repair to finish it). Pass -f to skip the dialog and force-discard: /kb-add -f new-file.md . Re-adding the same file or URL while it's pending triggers a re-compile — the dedup logic runs before the guard, so retrying the same document always works. Detection: /kb-status shows a ⚠ Pending compilation line. /kb-list marks them with ⚠[pending] . Recovery: Run /kb-repair to re-compile all pending documents: Re-adding the same file also triggers automatic recovery. Removal recovery: If a /kb-remove session is i","default_branch":null,"files":null,"tree":[],"storefront":"/r/dheerapat","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dheerapat/pi-kb/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."}