← Blog

OKF

OKF + Git: Version-Controlled Knowledge Graphs as Markdown

June 27, 2026 · 5 min read

OKF is just Markdown — so it lives in Git natively. Diffable, reviewable, and auditable knowledge graphs.

One of the quietly powerful things about Open Knowledge Format is that it is plain Markdown with YAML frontmatter. That means an OKF knowledge graph is not trapped in a database — it lives in Git, like code.

Why Git is the right home for a knowledge graph

When your knowledge is Markdown files in a repository, you inherit everything Git already does well: full history, diffs, branches, pull-request review, and blame. You can see exactly what changed in your knowledge graph, when, and why — without building any of that machinery yourself.

  • Diffable — every change to an entity shows up as a readable line-by-line diff
  • Reviewable — knowledge updates can go through the same PR review as code
  • Auditable — the commit history is a tamper-evident record of how the graph evolved
  • Portable — clone the repo and you own the data; no vendor API required to read it

Continuous sync vs. point-in-time bundles

CATAAM’s OKF Context Engine supports both delivery models. You can continuously sync your compliance graph to your own Git repository, so it tracks your posture in near real time — or download an on-demand, Ed25519-signed bundle as a verifiable point-in-time snapshot. Either way the output is yours.

What this unlocks

A Git-delivered OKF graph means your AI agents, your auditors, and your engineers all read from the same versioned source of truth. An auditor can verify a signed snapshot offline. An agent can be pointed at a specific commit. And because it is an open format, none of it depends on staying with one vendor.

Next, see how a Git-delivered OKF graph is consumed by agents over the Model Context Protocol, or why agents benefit from OKF context in the first place.

Sync your compliance graph to your own Git repo

See OKF delivery options

Frequently asked questions

How does OKF work with Git?
OKF is plain Markdown with YAML frontmatter, so an OKF knowledge graph is a set of files that live natively in a Git repository. You get diffs, history, branches, and pull-request review for your knowledge graph for free — the same workflow you already use for code.
Can I sync an OKF bundle to GitHub?
Yes. CATAAM’s OKF Context Engine can continuously sync your compliance graph to your own Git repository (including GitHub), or produce on-demand signed bundles. You own the output either way.
Why deliver a knowledge graph as Markdown instead of a database?
Markdown in Git is portable, human-readable, diffable, and auditable, with no proprietary database or API needed to read it. That removes vendor lock-in and gives you a tamper-evident history of how the graph changed over time.