Markdown Edit

Open Knowledge Format (OKF)

The Open Knowledge Format (OKF) is an open, vendor-neutral specification for structuring persistent knowledge bases, metadata, and context for humans and AI agents.

Overview

Originated by Google Cloud, OKF defines a minimal, file-based architecture where a Knowledge Bundle is represented as a directory hierarchy of standard CommonMark Markdown files with structured YAML frontmatter. It is designed to be authored by humans, maintained and synthesized by AI agents, and version-controlled via Git without requiring proprietary SDKs, databases, or runtime dependencies.

Identifier Conventions

OKF relies on standard filesystem paths and string conventions rather than centralized ID registries:

1. Concept IDs

2. Source IDs (sources[].id)

3. Actor IDs

Document Structure & Frontmatter

Every concept document consists of YAML frontmatter delimited by --- and a Markdown body.

Frontmatter Schema

Reserved Files & Directory Layout

To support progressive disclosure and bundle management, the following filenames have special meaning:

File Purpose Frontmatter Required
index.md Auto-generated or static directory listing for progressive disclosure. No
log.md Chronological ledger of bundle changes and agent updates. No
README.md Human-facing landing page rendered by Git hosts. No

References