OKF definition

What is Open Knowledge Format? Meaning, Structure, and v0.2 Spec

OKF means Open Knowledge Format. It uses Markdown and YAML metadata to package knowledge. It is different from Open Knowledge Foundation.

OKF meaning

In this guide, OKF means Open Knowledge Format. It is a draft approach for describing knowledge as readable Markdown files with structured YAML frontmatter at the top of each file.

The goal is not to replace documentation, databases, MCP, or RAG. The goal is to give humans and AI agents a cleaner way to inspect what a piece of knowledge is about before loading deeper context.

OKF definition

Open Knowledge Format is a file-based knowledge packaging format. A basic OKF document combines a YAML metadata block with a Markdown body so a concept can carry a type, title, description, resource link, tags, timestamp, and human-readable explanation.

A useful OKF bundle usually contains many small concept files plus an index file. Each concept should describe one durable item, such as a website page, API endpoint, data table, product rule, support playbook, or documentation topic.

OKF file example

The smallest useful OKF file starts with frontmatter, then continues as normal Markdown. Keep the concept narrow and point `resource` to the canonical page, asset, or stable identifier it describes.

Minimal OKF file example
---
type: Website Page
title: Open Knowledge Format Validator
description: A browser-only tool that checks basic OKF frontmatter fields.
resource: https://openknowledgeformat.online/okf-validator/
tags: [okf, validator, markdown]
timestamp: 2026-06-21T00:00:00Z
---

# Purpose

This page helps users test whether a Markdown document includes the fields expected by this guide.

Is OKF related to Google?

Public OKF draft materials are available from GoogleCloudPlatform sources, but this website is an unofficial learning site. It explains the draft, adds practical templates, and provides browser-only validation helpers. It is not a Google product page or official Google documentation.

OKF vs Open Knowledge Foundation

Open Knowledge Format and Open Knowledge Foundation can both be abbreviated as OKF, but they are not the same thing. On this website, OKF always refers to Open Knowledge Format unless a section explicitly says otherwise.

What an OKF document contains

What changed in v0.2

This guide treats `generated`, `verified`, `status`, `stale_after`, and `sources` as optional review fields. They can record how a file was produced or reviewed, but they do not prove a claim is true, current, official, or suitable for every tool.

OKF v0.2 specification: trust and provenance

The OKF v0.2 specification expands frontmatter attributes to support trust boundaries, provenance tracking, freshness controls, and source attestations before context is indexed or consumed by AI agents.

Visual overview

This video is visual background only. It is not used as proof of the OKF definition, version status, or any official claim.

Watch video

Load the embedded video only when needed.

Visual background only; not used as factual verification. Watch the OKF visual overview on YouTube

Start from these OKF resources

Evidence and limits

This site is an unofficial guide. Public Google Cloud and GoogleCloudPlatform materials are useful references, but this site does not certify official OKF conformance or guarantee AI search visibility.

FAQ

What is OKF in simple words?

OKF is a way to package knowledge as Markdown files with YAML metadata so people and AI agents can understand what each file represents.

Is OKF a database?

No. OKF is a file format and bundle pattern, not a database, vector store, or hosted service.

Is OKF official Google documentation?

No. This website is unofficial. It uses public draft references and adds practical examples for learning.

What should I create first?

Start with one small OKF file for a website page, API endpoint, documentation topic, or data table, then validate the frontmatter.

Source boundary

This guide is unofficial. It uses public draft references for orientation and adds practical examples for learning.