Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Awesome OKF Awesome

A curated list of resources for the Open Knowledge Format (OKF) — Google's open, vendor-neutral spec for representing knowledge as Markdown files with YAML frontmatter that AI agents can read without custom integrations. This list practices what it catalogs: it is itself published as a conformant OKF bundle (see below).

OKF was announced by Google Cloud in June 2026; v0.2 followed in July 2026. It formalizes the "LLM-wiki" pattern into a portable, interoperable format: knowledge lives as plain Markdown files with structured frontmatter (type, title, description, resource, tags, plus optional provenance, trust, and lifecycle fields) and cross-links that form a knowledge graph. No SDK, no runtime, no lock-in — just files you can ship in a tarball, host in Git, or mount on a filesystem.

Contents

OKF at a Glance

A bundle is a directory tree of Markdown files, and the directory structure is independent of the domain. The essentials from the v0.2 spec:

Aspect Rule
Concept One Markdown file: YAML frontmatter plus a free-form Markdown body.
Required field type — a non-empty string identifying the kind of concept.
Recommended fields title, description, resource (a URI for the underlying asset), tags.
Provenance & trust Optional sources (with per-source credibility signals), generated ({ by, at }; supersedes v0.1 timestamp), and verified — consumers derive trust tiers (unverified / machine-confirmed / human-reviewed).
Lifecycle Optional status (draft / stable / deprecated; absent means stable) and stale_after (an absolute date).
Attested computations A type: Attested Computation concept carries a sanctioned computation (runtime, parameters, executor, attester) so a consumer can confirm a value was produced the blessed way, not improvised.
Actors generated.by / verified[].by use <producer>/<version> for agents, human:<id> for people, process:<id> for processes.
Reserved filenames index.md (directory listing for progressive disclosure) and log.md (update history); every other .md is a concept. A bundle-root index.md may declare okf_version in frontmatter.
Links A link from concept A to B asserts a relationship; use bundle-relative paths (starting with /) or ordinary relative paths.
Conformance Every non-reserved .md file has parseable frontmatter with a non-empty type; reserved files follow their defined structure when present.
Consumer tolerance Consumers must tolerate missing optional fields (including every trust and provenance family), unknown type values, broken links, and a missing index.md.
Extensions Producers may add custom keys; consumers must preserve unknown fields.

This list is also published as a conformant OKF v0.2 bundle under bundle/, generated from this README by scripts/build-okf-bundle.mjs.

Specification

Official Tools & Reference Implementations

  • Reference Agent - Python implementation (built on Google's Agent Development Kit) that produces and visualizes OKF bundles: it drafts OKF documents from a BigQuery source, enriches them with web-crawled provenance (sources frontmatter with per-claim footnote attribution, since v0.2), and ships a viewer/generator.py that renders the bundle as a self-contained, interactive graph.
  • Knowledge Catalog Enrichment toolbox - A ready-to-use agent and customizable harness (TypeScript) to produce, evolve, and maintain metadata in Knowledge Catalog. Includes a server that exposes a Markdown fileset as an MCP server.
  • Knowledge Catalog mdcode - Manage metadata as source-code artifacts, with git-style pull/push sync between OKF Markdown and BigQuery / Dataplex / Knowledge Catalog.

Sample Bundles

Four conformant, ready-to-browse bundles from the home repository, each with a self-contained interactive viz.html graph viewer. The first three are built from public BigQuery datasets:

  • GA4 e-commerce - Google Analytics 4 e-commerce metadata.
  • Stack Overflow - Schema graph for the public Q&A dataset.
  • Bitcoin - On-chain concepts from the public Blockchain dataset.
  • ACME Retail - The v0.2 showcase: a fictional retailer's finance knowledge exercising Attested Computations (with a deterministic sql_equality.py attester), executor skills, and deprecated lifecycle states.

Community Tools

  • okft - Linter and MCP server for OKF bundles (pip install okft): okft lint validates spec conformance and hygiene (broken links, orphans, timestamps) with CI-friendly exit codes and JSON output; okft serve exposes a bundle to any MCP-capable agent as deterministic navigation tools. Apache-2.0.
  • BundleDex - Directory of 440+ OKF bundles with search, dedup, categorization, and a JSON API for agents.
  • OKF Bundle Generator - Free web tool by Suganthan Mohanadasan: paste a URL or sitemap, it crawls up to 100 pages, converts each into a clean OKF concept, links them into a graph, and outputs a downloadable v0.2 bundle (records generated and sources; verified is left to you).
  • SchemaCrawler Scribe - Generates structured database documentation directly from live schema metadata in Google Open Knowledge Format (OKF). See AI-Ready Database Docs You Can Keep in Git for a quick overview.
  • samemind - Personal memory for AI coding agents, stored as an OKF bundle: identity, an append-only work-ledger and a kanban board in plain Markdown. export/import speak the OKF v0.1 wire format directly; zero-dep CLI plus an MCP server, with a 12-engine instruction-file installer.
  • knowledge-mcp - Public MCP server that exposes an OKF bundle over search, read, list, and related tools; deployed on Cloudflare Workers with no auth. Points at any OKF v0.1 bundle so any MCP client (Claude Code, Cursor, etc.) can query it as a knowledge graph.
  • okf-gem - Ruby harness for a bundle's whole life: an agent skill authors and curates concepts, a CLI and library check them (validate for v0.1 conformance, lint as a separate non-blocking curation report, ranked search for retrieval), and okf server / okf render publish an interactive graph, live or as one self-contained HTML file. Runs fully locally; gem install okf or Docker; live demo. Apache-2.0.
  • okf-skills - OKF toolkit for Claude Code: a plugin, agent skills, and a GitHub Action to author, validate, and visualize bundles. Built on v0.2 — trust tiers, provenance, staleness, and attested computations. MIT.
  • EchoesVault - Persistent-memory plugin for OpenCode that stores its vault as an OKF-compliant bundle — one that doubles as a valid Obsidian vault. MIT.
  • claude-mega-brain - Claude Code plugin that injects an OKF knowledge base at session start, with an agentic benchmark against Obsidian-plus-MCP setups. MIT.
  • OWOX Model Canvas - Visual, Miro-like editor for data models that reads and writes OKF as its native format; the repo also publishes real bundles. Apache-2.0.

Articles & Guides

Background & Origins

  • LLM Wiki, by Andrej Karpathy - The "LLM-wiki" pattern that OKF formalizes. OKF's reserved index.md and log.md files and its raw-sources/wiki/schema layering trace directly back to this gist.
  • As We May Think, by Vannevar Bush (1945) - The Memex essay Karpathy cites as the deeper ancestor: a personal, curated knowledge store where the links between documents matter as much as the documents themselves.

Built on the LLM-Wiki Pattern

Community implementations of the LLM-wiki pattern that OKF formalizes. These are not OKF-native, but they share its "knowledge as interlinked Markdown that an agent maintains" philosophy.

  • AutoSci - Full-lifecycle AI research platform built on the LLM-wiki vision, with 28 agent skills (slash commands in Claude Code, with Codex and OpenCode adaptations) for ingesting and synthesizing papers.
  • karpathy-llm-wiki - Agent Skills-compatible LLM wiki for Claude Code, Cursor, and Codex that ingests sources, compiles wiki pages, answers with citations, and lints for consistency.
  • llmwiki - Open-source implementation: upload documents, connect Claude via MCP, and have the agent write and maintain the wiki.
  • Synto - Local-first wiki builder using a two-tier Ollama pipeline (small model extracts concepts, larger model writes cross-linked articles) on consumer hardware.
  • llm_wiki - Cross-platform desktop app that turns documents into an organized, interlinked knowledge base automatically.

Related Formats & Concepts

  • Agentic Resource Discovery (ARD) - Google-announced sister spec, published days after OKF: federated catalogs advertise resources — OKF bundles included — so agents can discover them. OKF packages knowledge; ARD finds it.
  • llms.txt - A proposed standard for a Markdown file that helps LLMs use a website's content.
  • Model Context Protocol (MCP) - An open protocol for connecting AI agents to tools and data sources.
  • AGENTS.md - A simple, open convention for giving coding agents project instructions.
  • Obsidian - Markdown vaults with backlinks; a close cousin of the OKF directory-of-notes model.
  • Dataview - Query language over Markdown frontmatter, useful for building dynamic views from OKF-style structured fields.
  • Marp - Markdown presentation ecosystem; turns Markdown knowledge files into slide decks.

Community

Contributing

Contributions are welcome! Please read the contribution guidelines first. The OKF ecosystem is brand new — if you build a producer, consumer, viewer, or bundle, add it here.

About

A curated list of resources for the Open Knowledge Format (OKF)

Topics

Resources

Code of conduct

Contributing

Stars

11 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages