diff --git a/README.md b/README.md index 8caf434..9f93ad9 100644 --- a/README.md +++ b/README.md @@ -5,8 +5,8 @@

Knowledge Compiler

- Compile messy slide decks, PDFs, Office docs, and coding-agent sessions into a verified, local-first OKF v0.3 knowledge graph
- Readable out of the box by generic OKF tools, AI coding agents, GitHub, Obsidian, and the built-in 60 FPS 3D WebGL workbench. + Give your AI coding agent persistent, inspectable memory saved across sessions.
+ Turn slide decks, PDFs, Office docs, and long working sessions into a clean, local-first Markdown library (OKF v0.3) with a built-in 60 FPS 3D WebGL graph viewer.

@@ -20,6 +20,7 @@

+ How It Works · 60-Second Demo · OKF v0.3 Interoperability · WebGL Workbench · @@ -35,15 +36,16 @@ --- -## Why Compiled OKF Beats Raw Prompting and RAG Chunking +## How It Helps in Day-to-Day Work -Most coding-agent knowledge setups fail in one of three ways: stuffing 100-page slide decks directly into context windows, slicing tables and diagrams into arbitrary 500-token RAG chunks, or trapping notes inside a proprietary format that external tools cannot read. +If you work with AI assistants on complex projects, you have probably hit the same walls: uploading 100-slide decks and PDFs into chat quickly hits context limits, details inside tables and diagrams get lost in chunking, and lessons you spent hours figuring out disappear the moment you open a new conversation. -**Knowledge Compiler** implements Google Cloud's [**Open Knowledge Format (`OKF v0.3`)**](https://github.com/open-knowledge-format/open-knowledge-format) (with full `OKF v0.2` backward compatibility) and Andrej Karpathy's compiled LLM-Wiki pattern as a pure-Python CLI and portable agent plugin: +**Knowledge Compiler** fixes that by giving your AI agent a structured, local Markdown memory that compounds from session to session: -- **Progressive Disclosure Instead of Context Saturation**: Agents scan a `~500`-token root `index.md` and follow 1-hop / 2-hop links to only the exact dossiers they need. -- **Structured Provenance Instead of Lossy Chunks**: Preserves Markdown tables, inline Mermaid architecture diagrams, footnote citations, verification freshness (`verified[].at >= generated.at`), and deprecation chains (`status: deprecated` + `superseded_by`). -- **Open Standards Instead of Lock-In**: Emits plain UTF-8 Markdown with RFC 3986 relative `.md` links, frontmatter-free `wiki/**/index.md` sub-indexes (§8), and namespaced `x-kc-*` epistemic extensions (§4.1), passing upstream `open-knowledge-format` `validate.py --strict` with **`0 errors, 0 warnings, 0 info`**. +- **Turn messy files and sessions into lasting memory**: Drop in slide decks, PDFs, Office docs, web pages, or notes from a working session. It compiles them into an organized library of linked Markdown notes right on your machine, so your AI assistant still knows your project context weeks later without re-uploading a single slide. +- **Solve hard problems once and reuse them**: Capture what worked during a deep dive or architecture review, automatically scrub private details, and share clean, reusable playbooks with your team. +- **Keep facts accurate without rewriting history**: When a requirement, target, or design changes mid-project, update the current truth across your notes while leaving original meeting notes and historical records completely untouched. +- **Stay 100% local and portable**: Everything stays on your computer in plain UTF-8 Markdown files built on Google Cloud's open [**Open Knowledge Format (`OKF v0.3`)**](https://github.com/open-knowledge-format/open-knowledge-format) with zero cloud backend or lock-in. It works out of the box across Antigravity, Gemini CLI, Claude Code, Codex, Cursor, GitHub, and Obsidian, and includes an interactive 3D graph viewer to explore how all your ideas connect. --- @@ -96,7 +98,7 @@ vault-hooks enable ## Compile Once, Consume Anywhere -Every vault compiled by **Knowledge Compiler** uses standard OKF v0.3 conventions so the exact same directory works across the entire OKF ecosystem without exporters or proprietary databases: +Under the hood, **Knowledge Compiler** implements Google Cloud's [**Open Knowledge Format (`OKF v0.3`)**](https://github.com/open-knowledge-format/open-knowledge-format) (with full `OKF v0.2` backward compatibility) and Andrej Karpathy's compiled LLM-Wiki pattern. Agents scan a `~500`-token root `index.md` and follow 1-hop / 2-hop links instead of saturating context windows, preserving Markdown tables, inline Mermaid diagrams, footnote citations, verification freshness (`verified[].at >= generated.at`), and deprecation chains (`status: deprecated` + `superseded_by`), while passing upstream `open-knowledge-format` `validate.py --strict` with **`0 errors, 0 warnings, 0 info`**: | Consumer | What Works Out of the Box | diff --git a/docs/index.html b/docs/index.html index 2a83dea..02accc3 100644 --- a/docs/index.html +++ b/docs/index.html @@ -18,10 +18,10 @@ - Knowledge Compiler — Open Knowledge Format (OKF v0.3) Compiler & 3D WebGL Workbench - - - + Knowledge Compiler: Persistent Memory & 3D Knowledge Graph for AI Coding Agents (OKF v0.3) + + + @@ -642,9 +642,9 @@

-

Compile documents and agent sessions into a verified OKF v0.3 knowledge graph.

+

Give your AI coding agent persistent memory across sessions.

- An open-source, local-first Python CLI and portable agent plugin that turns slide decks, PDFs, Office docs, and coding sessions into a standard Markdown wiki readable by generic OKF tools, AI coding agents, GitHub, Obsidian, and a built-in 60 FPS 3D WebGL workbench. + An open-source, local-first tool and agent plugin that turns slide decks, PDFs, Office docs, and past conversations into a linked Markdown library (OKF v0.3) that your AI assistant still knows weeks later. Works across Antigravity, Gemini CLI, Claude Code, Cursor, GitHub, and Obsidian, with a built-in 60 FPS 3D WebGL graph viewer.

Explore Live 3D Demo @@ -654,20 +654,20 @@

Compile documents and agent sessions into a verified OKF v0.3 knowledge grap
-
OKF v0.3 · 0 Errors
-
Passes upstream validate.py --strict
+
Persistent Memory
+
Linked Markdown saved across sessions
-
434 Relative .md Links
-
Visible to every OKF consumer
+
100% Local-First
+
Plain files, zero cloud backend or lock-in
10 Portable Skills
-
Antigravity, Gemini CLI & SKILL.md
+
Antigravity, Gemini CLI, Claude Code & Cursor
-
100% Local-First
-
Zero cloud backend, 127.0.0.1 only
+
OKF v0.3 · 0 Errors
+
Passes upstream validate.py --strict

diff --git a/plugin.json b/plugin.json index 0c81fc6..21a227a 100644 --- a/plugin.json +++ b/plugin.json @@ -3,7 +3,7 @@ "name": "knowledge-compiler", "displayName": "Knowledge Compiler", "version": "1.3.1", - "description": "Compile PDFs, slides, docs, and agent sessions into a local Open Knowledge Format (OKF v0.3) Markdown wiki with a 2D/3D WebGL graph and linter.", + "description": "Give AI coding agents persistent, local memory across sessions: compile decks, PDFs, docs, and chats into an OKF v0.3 Markdown wiki and 3D WebGL graph.", "logo": "assets/logo.svg", "author": { "name": "Google LLC" @@ -25,8 +25,8 @@ "google-cloud" ], "suggestedPrompts": [ - "Initialize an OKF v0.3 knowledge vault in ./vault and compile the current session into it", - "Ingest a PDF, slide deck, or markdown folder into my knowledge vault and update index.md", - "Audit my knowledge vault for broken wikilinks, frontmatter errors, and orphan notes" + "Set up a local knowledge vault in ./vault and save what we learned in this session", + "Turn a PDF, slide deck, or folder of docs into linked Markdown notes in my knowledge vault", + "Audit my knowledge vault for broken links, stale facts, and orphan notes" ] } diff --git a/pyproject.toml b/pyproject.toml index 6af1c07..2f82be4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta" [project] name = "knowledge-compiler" version = "1.3.1" -description = "Compile PDFs, slides, docs, and agent sessions into a local Open Knowledge Format (OKF v0.3) Markdown wiki with a 2D/3D WebGL graph and linter." +description = "Give AI coding agents persistent, local memory across sessions: compile decks, PDFs, docs, and chats into an OKF v0.3 Markdown wiki and 3D WebGL graph." readme = "README.md" license = {text = "Apache-2.0"} requires-python = ">=3.10"