Open Knowledge Format (OKF): What It Is and How to Adopt It
Open Knowledge Format (OKF) is Google Cloud's open, vendor-neutral draft specification for packaging organizational knowledge as linked Markdown files with YAML metadata. It gives people and AI agents one portable body of context they can read without a proprietary SDK. As of 12 July 2026, the current version is OKF v0.1 Draft.
That definition needs two guardrails. This OKF is not the Open Knowledge Foundation, which shares the acronym. And it is not a new database, model, retrieval engine, agent protocol, or confirmed Google ranking signal. It is a deliberately small interchange format: a common envelope for the knowledge those systems use.
Need to make scattered company knowledge usable by AI agents?
Plan an OKF PilotWhat problem does OKF solve?
Most companies do not have a knowledge shortage. They have a context assembly problem. The definition of active customer sits in a BI dashboard; the calculation lives in SQL; the exception is buried in Slack; the API contract is in OpenAPI; the incident procedure is in Confluence; and the reason behind all of it still lives in one senior engineer's head.
An agent can search these systems, but every integration returns a different shape. Each new assistant rebuilds the same connectors, chunking, metadata mapping, and permissions logic. When a team changes catalog or model vendor, the curated knowledge is often trapped in the old surface. Google Cloud introduced OKF on 12 June 2026 to formalize the recurring “LLM wiki” pattern: a shared Markdown library that humans and agents can maintain together. The Google Cloud announcement describes the missing layer as a format rather than another service.
How does Open Knowledge Format work?
An OKF knowledge bundle is a directory tree. Each durable unit of knowledge is a concept, stored as one UTF-8 Markdown file. Its path without the .md suffix is its concept ID. Standard Markdown links connect concepts into a graph, while folders provide a browsable hierarchy.
company-knowledge/
├── index.md
├── log.md
├── metrics/
│ ├── index.md
│ └── monthly-recurring-revenue.md
├── systems/
│ └── billing-api.md
└── playbooks/
└── failed-payment.mdA concept combines small, queryable metadata with human-readable detail:
---
type: Metric
title: Monthly Recurring Revenue
description: Contracted recurring revenue normalized to one month.
resource: https://analytics.example.com/mrr
tags: [finance, saas, board]
timestamp: 2026-07-12T09:00:00Z
---
# Definition
MRR includes active subscriptions and excludes one-off services.
Refund logic is defined in the [billing playbook](/playbooks/refunds.md).
# Citations
[1] [Finance policy](https://docs.example.com/finance/mrr)Only type is required. title, description, resource, tags, and timestamp are recommended. Producers may add their own keys; consumers should preserve fields they do not understand. That loose contract is the core design choice in the official OKF v0.1 specification.
What are the three rules for an OKF v0.1 bundle?
- Every non-reserved Markdown file has parseable YAML frontmatter.
- Every frontmatter block contains a non-empty
type. There is no central registry of types. - Reserved files follow their defined structure when present.
index.mdlists a directory for progressive navigation;log.mdrecords dated changes. Both are optional.
Almost everything else is soft guidance. A conforming consumer should tolerate missing optional fields, unknown types, producer-specific keys, broken cross-links, and missing index files. This is intentional: a partially generated, moving knowledge base should degrade gracefully instead of becoming unreadable.
What is OKF—and what is it not?
| OKF is | OKF is not |
|---|---|
| A portable format for exchanging curated knowledge | A hosted knowledge-management product |
| Markdown files plus YAML frontmatter and links | A database, vector store, or graph database |
| A producer/consumer contract | A retrieval algorithm or context-ranking system |
| Readable by people, Git, search tools, and agents | A permissions model, data-loss prevention layer, or audit system |
| Extensible through arbitrary metadata and body sections | A fixed enterprise taxonomy or ontology |
| An open v0.1 draft under Apache 2.0 | A mature standard with proven broad adoption |
OKF vs RAG vs MCP vs OpenAPI vs llms.txt
These are layers, not substitutes. The clean architecture is often OKF with retrieval and tools, not OKF instead of them.
| Layer | Question it answers | What it does well | What it does not do |
|---|---|---|---|
| OKF | How should portable knowledge be packaged? | Human-readable context, metadata, links, versioning, exchange | Retrieve, execute tools, or enforce access |
| RAG | Which passages should enter this model request? | Search, ranking, chunk retrieval, grounding at query time | Define a portable authoring format |
| MCP | How can an agent discover and call tools or resources? | Runtime capabilities, typed operations, live system access | Standardize the knowledge stored behind those tools |
| OpenAPI | How does this HTTP API behave? | Formal endpoints, parameters, schemas, client generation | Capture broad organizational context and decisions |
| llms.txt | Where should an LLM start on this website? | Public-site discovery and curated navigation | Specify a complete internal knowledge bundle |
| Knowledge graph | Which entities and typed relationships exist? | Formal semantics, graph queries, inference | Stay effortless to author as plain prose |
One practical stack is: domain owners edit OKF in Git; CI validates it; a RAG pipeline indexes the bundle; an MCP server exposes search plus live systems; the agent retrieves a small set of concepts and follows links when it needs depth. OKF becomes the durable source, RAG the selection mechanism, and MCP the runtime doorway.

"OKF does not solve retrieval or governance. It solves a quieter problem first: whether your knowledge survives the tool that created it and remains readable to the next human or agent."
Where does OKF create real business value?
- Agent context that survives vendor changes. A move from one model, vector database, catalog, or agent framework does not require rewriting the curated knowledge.
- Knowledge reviewed like code. Pull requests, diffs, blame, CODEOWNERS, release tags, and rollback work without buying a new governance UI.
- Faster onboarding and incident response. The same linked concepts can feed an assistant, render as documentation, and remain directly readable during an outage.
- A common export target. Data catalogs, wikis, repositories, and internal tools can each produce OKF instead of every consumer integrating with every source.
- Progressive context loading. An agent can read an
index.md, select a concept, then follow links. It does not need the entire wiki in its context window.
The business case is strongest when multiple agents or systems need the same curated context, knowledge changes often, and lock-in or auditability matters. If you have one static FAQ and one chatbot, a normal documentation site plus good search may be enough.
What should you put in an OKF bundle?
Start with high-value, durable concepts—not a bulk dump of everything employees ever wrote. Good first candidates are:
- business metrics, definitions, owners, calculation rules, and exceptions;
- systems, APIs, datasets, tables, event schemas, and dependencies;
- product rules, architectural decisions, runbooks, and escalation paths;
- compliance controls, evidence locations, policies, and review dates;
- customer-support playbooks with clear boundaries for automated action.
Avoid copying secrets, personal data, raw support conversations, contracts, or unrestricted credentials into a Git-readable bundle. “Plain files” is an interoperability advantage and a data-leak advantage. The bundle needs the same classification, least-privilege, retention, and review discipline as any other knowledge system.
How do you implement OKF in an enterprise?
- Choose one decision-heavy domain. A revenue metric, customer-support process, or production service is a better pilot than “all company knowledge.”
- Inventory sources and owners. Record the authoritative source, accountable owner, sensitivity, update trigger, and downstream consumers for each concept.
- Define a small local profile. OKF leaves types open. Agree on perhaps 5–10 types, required local fields, naming conventions, and body templates without pretending they are part of the base spec.
- Generate a first bundle, then curate it. Exporters and LLMs are good at drafting. Domain owners must resolve contradictions, remove secrets, and approve claims.
- Validate in CI. Check YAML, required
type, reserved files, duplicate resources, broken internal links, timestamps, sensitive patterns, and owner presence. - Connect one consumer. Index the bundle for RAG or expose it through an agent resource. Measure answer correctness, source traceability, retrieval precision, and time to update—not just demo quality.
- Set an operating model. Decide who reviews changes, what makes a concept stale, how access maps to bundle boundaries, and how deletions propagate to indexes and caches.
What does OKF leave unsolved?
The minimalism is both its advantage and its bill:
- Permissions: the spec does not define document- or field-level access control.
- Identity and lifecycle: a path is the concept ID, so renames and moves need redirect or migration conventions outside v0.1.
- Validation depth: conformance proves three structural rules, not truth, freshness, completeness, or safety.
- Relationship semantics: links are directed but untyped; “depends on,” “owned by,” and “replaces” live in prose unless your profile adds structure.
- Concurrency and scale: Git is excellent for review but awkward for high-frequency, multi-writer operational state.
- Discovery: a bundle must still be delivered to or exposed for a consumer. OKF does not make agents on the public internet find it automatically.
That is why we would pilot OKF as a curated knowledge layer, not declare it the new system of record. Operational data stays in operational systems; OKF documents what it means, how it connects, and how people and agents should use it.
Will OKF improve SEO or make LLMs cite your website?
Not automatically. Neither the Google Cloud announcement nor v0.1 specification defines OKF as a web-crawling, ranking, or citation signal. Publishing an /okf/ directory may make content easier for a consumer that already knows where to look, but there is no basis for promising higher Google rankings, AI Overview inclusion, or ChatGPT citations.
For public visibility, keep doing the proven work: indexable HTML, clear answer-first sections, stable URLs, named authors, primary-source citations, structured data, internal links, and genuinely useful original analysis. OKF can be an additional machine-readable export. It should not replace the website. This article itself follows that discipline, including direct claims, comparison tables, visible FAQs, and links to the canonical sources.
Should your company adopt OKF now?
| Pilot OKF now when… | Wait or keep it simpler when… |
|---|---|
| Several agents need the same curated knowledge | You have one small, stable documentation set |
| Knowledge is trapped across catalogs and wikis | Your immediate problem is search quality, not portability |
| Git review and vendor independence matter | Non-technical editors cannot work through the chosen interface |
| You can assign domain owners and governance | Nobody owns freshness or access decisions |
| You accept v0.1 migration risk | You require a finalized standard and certified tooling |
Our recommendation in July 2026: run a bounded, reversible pilot. Pick 20–50 concepts, one owner group, one agent use case, and one measurable workflow. Keep the source material intact. If the format changes, Markdown and YAML are cheap to migrate; if the pilot fails, the curated documents still have value.
Frequently Asked Questions
What is Open Knowledge Format (OKF)?
Which field is required in an OKF concept?
type is required in each concept document's YAML frontmatter. title, description, resource, tags, and timestamp are recommended but optional.Does OKF replace RAG or MCP?
Does OKF improve SEO or AI citations?
Is OKF production-ready?
Is OKF related to the Open Knowledge Foundation?
Primary sources
- Google Cloud: Introducing the Open Knowledge Format — announcement, motivation, design principles, and reference implementations.
- Official Open Knowledge Format v0.1 specification — terminology, required fields, links, reserved files, conformance, and versioning.
- GoogleCloudPlatform/knowledge-catalog OKF repository — reference producer, visualizer, tests, and project status.
- Official sample OKF bundles — GA4, Stack Overflow, and Bitcoin examples.
- Andrej Karpathy's LLM wiki pattern — the workflow OKF formalizes.
- OKF Apache 2.0 license — the license covering the published specification and reference materials.
Status checked 12 July 2026. OKF is moving quickly; verify the version and open issues before committing a long-lived enterprise profile.
Final thoughts
Open Knowledge Format is compelling because it standardizes very little. One required field, familiar files, normal links, and a permissive consumer contract are enough to make curated knowledge portable between people, agents, catalogs, and model stacks. That is valuable precisely because it does not ask you to bet the company on a new platform.
But v0.1 is a draft, not magic. OKF will not choose the right context, enforce permissions, guarantee freshness, or earn AI citations by itself. Treat it as the durable knowledge layer beneath retrieval and tools. Pilot it where knowledge portability already hurts, measure whether answers and updates improve, and build governance before the bundle becomes another forgotten wiki.
Want a bounded OKF pilot instead of another knowledge-platform migration?
Assess Your Knowledge Architecture