---
title: "Open Knowledge Format (OKF) bundle"
category: agent-readiness
status: optional
url: https://specification.website/spec/agent-readiness/okf-bundle/
updated: "2026-09-10T00:00:00.000Z"
sources:
  - title: "Open Knowledge Format (OKF) specification"
    url: "https://github.com/GoogleCloudPlatform/knowledge-catalog/blob/main/okf/SPEC.md"
    publisher: "Google"
  - title: "Open Knowledge Format — reference implementation and samples"
    url: "https://github.com/GoogleCloudPlatform/knowledge-catalog/tree/main/okf"
    publisher: "Google"
  - title: "Agentic Resource Discovery (ARD) specification"
    url: "https://agenticresourcediscovery.org/"
    publisher: "ARD Project (Linux Foundation)"
source_repo: https://github.com/jdevalk/specification.website
licence: CC-BY-4.0
---

# Open Knowledge Format (OKF) bundle

> Publish your whole knowledge base as an Open Knowledge Format bundle — a tree of Markdown concept files with typed front matter — so an agent can ingest the entire corpus in one fetch instead of scraping page by page. Now at v0.2, which moves provenance and citations into front matter.

## What it is

The Open Knowledge Format (OKF) is a convention for packaging a body of knowledge as a tree of Markdown files an agent can consume directly. Each file is a **concept**: a YAML front-matter block followed by Markdown prose. The only hard requirement is a non-empty `type` field; the format leans on a small set of recommended fields (`title`, `description`, `resource`, `tags`) and lets producers add their own keys, which consumers must preserve rather than reject.

`generated` records content production; `verified` records source checks. Trust tiers derive from verification events, not authorship. Omit unsupported provenance instead of assigning an author or reviewer to an entire corpus. `sources` lists supporting material with stable identifiers that body footnotes can reference.

Version 0.2 supersedes two shapes from 0.1: the flat `timestamp` field, now `generated.at`, and the body-level `# Citations` list, now the front-matter `sources` list. Both are compatibility breaks in the writing direction only — a consumer is told to fall back to the 0.1 fields when the 0.2 ones are absent, so old bundles keep parsing. A bundle declares which revision it targets with `okf_version` in its root `index.md`.

A bundle is otherwise plain files and folders. `index.md` files give progressive disclosure — a reader can list a directory without parsing every concept. A root `log.md` records change history newest-first. A `references/` directory mirrors external standards as first-class concepts so a check can cite them with a bundle-relative link. There is no manifest, no schema server, and no runtime: a bundle is the directory itself.

## Why it matters

- **One ingest, not N scrapes.** An agent that wants your whole corpus gets it in a single download instead of crawling every HTML page and stripping navigation.
- **Typed, predictable structure.** Every concept declares what it is. Front matter carries the metadata an agent would otherwise have to infer.
- **Graceful for consumers.** Conformance is deliberately loose — unknown types, extra keys, and missing optional fields must not cause rejection — so a bundle stays usable as it grows.

OKF deliberately leaves **serving and discovery out of scope**. A bundle on its own is undiscoverable; pair it with a discovery surface — an [AI Catalog entry](/spec/agent-readiness/agentic-resource-discovery/) and an [`llms.txt`](/spec/agent-readiness/llms-txt/) pointer — so agents can find it.

## How to implement

Generate the bundle from your existing source of truth; do not hand-maintain a second copy. For each item, emit `<path>.md` with a `type` and the recommended fields, reusing the same Markdown body you already serve. Record `generated` and `verified` only when you have evidence for those events, and list supporting material in `sources`. Emit an `index.md` per directory (no front matter, except the bundle root, which carries `okf_version`). Add a `log.md` from your change history. Mirror each cited standard once under `references/` and link checks to it. Offer the tree browsably and, optionally, as a single archive for "take everything" consumers. Then advertise it.

This site ships it: the bundle targets OKF 0.2, is generated from the same content collection as every other surface, and is served browsable at [`/okf/`](/okf/index.md), with the whole tree packaged as [`/okf.tar.gz`](/okf.tar.gz). Each check has a producer-defined `requirement` field, the corresponding RFC 2119 `conformance` keyword, `source_updated_at`, and a `sources` list linking to [`/okf/references/`](/okf/references/index.md). We omit `generated` and `verified` because the collection has no per-page authorship or verification records. OKF reserves `status` for lifecycle values (`draft`, `stable`, `deprecated`); published concepts use its default of `stable`. The bundle is advertised in our [AI Catalog](/spec/agent-readiness/agentic-resource-discovery/) and in [`/llms.txt`](/llms.txt). Its `mediaType` is interim and unregistered (`application/okf-bundle+gzip`) pending a blessed OKF media type.

## Common mistakes

- Hand-authoring the bundle so it drifts from the source. Generate it.
- Putting front matter in `index.md` files — only the bundle-root `index.md` may carry it.
- Shipping the bundle with no way to find it. OKF solves packaging, not discovery; advertise it separately.
- Claiming a registered media type the artefact does not have. Until OKF has one, declare an honest interim type.
- Declaring an `okf_version` the concepts do not match. The version is a promise about the shape a consumer will find; a bundle that says `0.2` while still emitting `timestamp` and `# Citations` is worse than one that honestly says `0.1`.
- Inferring authorship or verification from maintainer approval. Record the actual event and actor, or omit the optional field.
- Putting requirement levels such as `recommended` in OKF's lifecycle `status` field. Use a separate producer-defined key.

## Verification

- Every non-index, non-log `.md` parses as YAML front matter with a non-empty `type`.
- `index.md` files carry no front matter (except the root's `okf_version`), and that version matches the field shapes the concepts actually use.
- Concept count matches your source corpus; the tree round-trips cleanly from the archive.
- The bundle is reachable from at least one discovery surface (AI Catalog entry, `llms.txt`, or a `Link` header).
