Why OKF
Every organization gets the same AI models. What sets their answers apart is the context they’re given: what only your organization knows, its definitions, its policies, and the way it does things. An assistant that can’t find that context guesses, and a guess sounds just as sure as a fact.
The Open Knowledge Format (OKF) is an open specification for keeping that context: plain markdown files with a short YAML header, in folders, in Git. Any person, tool, or AI assistant can read it. (Why OKForest says what OKForest adds.)
What AI needs from knowledge
Section titled “What AI needs from knowledge”Most of what an organization knows is written for people who already know it: wiki pages that drifted, slide decks, chat threads, documents that disagree with each other. A person reads around the gaps. An assistant can’t tell a current policy from last year’s draft, or an approved number from someone’s working guess. OKF gives it what it needs to tell:
- One concept, one page. Each page is about one thing (a metric, a
policy, a table, a decision), with a
type, a one-sentencedescription, andtags. An assistant finds the page that answers a question, reads just that, and cites it, rather than a 40-page document that mentions it somewhere. - Signals it can weigh. Every page carries who wrote it (
generated), who checked it and when (verified), whether it’s a draft or deprecated (status), and when it’s due for review (stale_after). OKF says how to read them as a trust tier and freshness, so an assistant can say “this was verified in July and is due for review in December”, or warn that a page is stale, rather than repeating it as fact. - Where it came from.
sourcesname what a page rests on, and footnotes tie its claims to them, so an answer can be checked against its source. - Numbers it can’t invent. An Attested Computation holds the approved query for a figure, with its parameters, so an assistant runs the sanctioned computation instead of writing its own.
- Structure to navigate. Folders, an
index.mdin each, and links between pages let an assistant read a tree a level at a time, and follow a concept to the ones it depends on, instead of loading everything at once. - A replacement, not a dead end. A deprecated page names the one that
replaces it (
superseded_by), so an assistant reads the current one.
Why plain files in Git
Section titled “Why plain files in Git”- Readable by people and AI alike. No SDK or query language stands between a reader and a page. A person reads the same page an assistant quotes, so everyone works from the same source.
- Reviewed like code. Every change is a commit: who changed what, when, and why, with diffs, history, and review, whether a person or an AI made it.
- Yours, and portable. A tree is a folder in your own repository, not data in someone’s service. Any tool can read it, now and later, and it outlives every tool that does.
- Checked automatically. Validators check a tree against the spec on
every change, such as the open-source OKForest CLI and
GitHub Action (their rules), so a
missing
type, a broken link, or a stale page shows up before an assistant leans on it. - Extensible. Your own types, with schemas, and your own
fields (
x-owner), beside the ones OKF defines.
The curated layer
Section titled “The curated layer”OKF doesn’t replace your wiki or your shared drives. It’s the curated layer on top: the definitions, policies, and decisions you want your people and your AI to rely on, kept small enough to keep right. Its pages link to documents wherever they live, and PDFs and images can sit beside them in the tree.
Keeping that layer is work, so it pays to start where wrong answers cost the most: the numbers people report, the policies they’re asked about, and the questions your team answers every week. Best practices says how to write it well, and Scaling says how to grow it across teams.
- Why OKForest: making OKF usable and manageable by everyone, people and AI alike.
- Start a tree with
npx okforest init, or from the company template.