Your AI Agents Keep Forgetting Everything. Google Just Changed How They Remember.
Google Cloud introduced the Open Knowledge Format (OKF) v0.1, an open spec for representing business knowledge as plain markdown files with YAML frontmatter, eliminating the need for custom context pipelines per project OKF is built on three simple conformance rules: parseable YAML frontmatter, a non-empty type field, and reserved filenames following expected structure—deliberately low-barrier to encourage adoption The format uses one-file-per-concept, markdown links as an untyped knowledge grap
Analysis
TL;DR
- Google Cloud introduced the Open Knowledge Format (OKF) v0.1, an open spec for representing business knowledge as plain markdown files with YAML frontmatter, eliminating the need for custom context pipelines per project
- OKF is built on three simple conformance rules: parseable YAML frontmatter, a non-empty type field, and reserved filenames following expected structure—deliberately low-barrier to encourage adoption
- The format uses one-file-per-concept, markdown links as an untyped knowledge graph, and is designed to be git-native, tool-agnostic, and portable across agent frameworks
- Third-party tooling is already emerging, including okc (Postgres-to-OKF) and claude-okf (a slash command that auto-generates bundles from codebases using Claude)
- OKF v0.2 is already in progress, adding provenance, trust, lifecycle, and attestation as first-class concerns while maintaining backward compatibility
Why It Matters
The "Karpathy problem"—where wikis rot because humans neglect them—has long been a bottleneck for AI agent adoption, forcing every team to build fragile, framework-locked context pipelines. OKF offers a portable, human-readable standard that collapses custom ingestion layers into a single write-once, use-everywhere bundle, potentially becoming the shared knowledge layer that agent ecosystems have lacked. For practitioners, this means agent context can finally be decoupled from tooling choices and maintained alongside source code.
Technical Details
- Format structure: An OKF bundle is a directory of markdown files with YAML frontmatter; each file represents one concept (e.g., BigQuery table, API endpoint, metric, runbook). The only required frontmatter field is
type, used for routing and filtering. - Knowledge graph via markdown links: Relationships between concepts are expressed as standard markdown links (e.g.,
[deploy-rollback.md](/runbooks/deploy-rollback.md)). Graph-view consumers treat all links as directed, untyped edges; the relationship semantics live in the surrounding prose. - Conformance rules: Three hard rules—parseable YAML frontmatter, non-empty
typefield, reserved filenames (index.md,log.md) follow expected structure. Everything else is soft guidance; consumers must tolerate unknown types, missing optional fields, broken links, and extra keys. - Index and log files:
index.mdprovides progressive disclosure by listing directory contents;log.mdrecords dated, newest-first change history per directory so agents can detect recent changes without full diffing. - Reference implementations: The
knowledge-catalogrepository includes a reference agent for auto-generating bundles, a graph viewer, and worked samples (GA4 Google Merchandise Store, Stack Overflow schema, Bitcoin dataset). Third-party tools likeokc(Postgres schema → OKF bundle) andclaude-okf(slash command for Claude Code) are already built on the spec. - Versioning strategy: OKF v0.1 is a starting point; v0.2 adds provenance, trust, lifecycle, and attestation. Minor bumps are backward-compatible; major bumps may rename required fields or change reserved filenames.
Industry Insight
- End of per-project context pipelines: Teams should migrate from building custom parser-transform-agent chains to adopting OKF-style bundles, reducing engineering overhead and framework lock-in when switching agent runtimes.
- Knowledge as code: OKF treats business context as versioned, diffable, git-native artifacts—enabling agents to coexist with CI/CD workflows, code reviews, and collaborative editing rather than living in isolated, decaying wikis.
- Emerging ecosystem opportunity: With v0.2 adding trust and attestation, OKF is positioning itself as a foundational layer for enterprise agent deployments where provenance and data lineage matter; early adopters who build OKF tooling or migrate their knowledge bases now will have a first-mover advantage as the spec matures.
Disclaimer: The above content is generated by AI and is for reference only.