BundleDex / Guides / OKF Tutorial for Beginners

OKF Tutorial for Beginners — Complete Guide to Open Knowledge Format

New to OKF? This beginner tutorial covers everything you need to know — what the Open Knowledge Format is, why AI agents use it, how to create and publish your own bundles, and where to find existing ones. No coding experience required.

Published July 15, 2026 ~12 min read 583 bundles indexed on BundleDex

What Is OKF? (Open Knowledge Format)

OKF stands for Open Knowledge Format — an open, vendor-neutral standard for packaging knowledge in a way that both humans and AI agents can read. It was created by Google Cloud Platform and has quickly become the most popular format for sharing structured knowledge in the AI agent ecosystem.

At its core, an OKF bundle is simply a directory of markdown files. Each file — called a "concept document" — covers one topic and includes YAML frontmatter (metadata) at the top. The format deliberately requires no special tools, SDKs, or APIs to create or read.

Think of it this way: If a README file is a single note, an OKF bundle is a complete notebook — organized, cross-referenced, and designed to be handed to an AI agent so it instantly understands a domain.

Key Characteristics of OKF

  • Portable — OKF bundles are plain files on disk. Copy them, version them with Git, host them anywhere
  • Vendor-neutral — No platform lock-in. Any AI agent, any editor, any OS can read OKF
  • Self-contained — A bundle includes everything needed to understand a domain
  • Cross-linked — Concepts connect via relative markdown links, forming a knowledge graph
  • Discoverable — BundleDex indexes bundles so AI agents can find them

Why AI Agents Use OKF

AI agents (like Claude Code, ChatGPT, Cursor, and custom agent frameworks) need knowledge to work effectively. Before OKF, there was no standard way to give them domain expertise. Each agent had its own format — or worse, no format at all.

OKF solves this by providing a universal knowledge format that any agent can read. Here's why it matters:

Instant Context

An agent can read index.md to understand the bundle's scope, then follow links to dive deeper into specific concepts. No training, no API calls, no special setup.

Cross-Platform

OKF works with Claude Code, Cursor, VS Code, Obsidian, and any markdown-capable tool. Create once, use everywhere.

Community-Owned

With over 583 bundles on BundleDex, the OKF ecosystem is growing fast. Anyone can create, share, and discover knowledge packages.

For a deeper look at why this format matters, read What Is Open Knowledge Format? or explore the State of OKF 2026 report.

Anatomy of an OKF Bundle

Every OKF bundle follows a simple structure. Here's what you'll find inside:

my-knowledge-bundle/
├── index.md                 # Bundle manifest (required)
├── log.md                   # Changelog (optional)
├── getting-started.md       # A concept document
├── concepts/                # Core concepts directory
│   ├── architecture.md
│   └── data-model.md
├── guides/                  # How-to guides
│   └── installation.md
└── references/              # Reference docs
    └── api.md

The index.md Manifest

Every bundle has an index.md at its root. This file contains YAML frontmatter describing the bundle and a markdown body that serves as the entry point:

---
title: My Knowledge Bundle
description: A bundle about AI agent tooling
tags: [ai-agents, tools, documentation]
version: "1.0.0"
author: Your Name
okf_version: "0.1"
---

# My Knowledge Bundle

This bundle contains knowledge about AI agent tooling.

## Contents

- [Getting Started](./getting-started.md)
- [Core Concepts](./concepts/architecture.md)
- [Installation Guide](./guides/installation.md)

Concept Documents

Each additional markdown file covers one concept. Every concept document needs YAML frontmatter with at minimum a title field:

---
title: Architecture Overview
description: How the system components interact
tags: [architecture, design, system]
---

# Architecture Overview

The system has three main components: [explain here].

## Component 1: [Name]

[Description of component 1]

## See Also

- [Data Model](./data-model.md)
- [Installation Guide](../guides/installation.md)

How to Create an OKF Bundle

Creating your first OKF bundle takes about 30 minutes. Here's the condensed process:

Step 1: Create a directory and add index.md

Make a new directory and add an index.md with YAML frontmatter (title, description, tags).

Step 2: Write concept documents

Add markdown files for each concept. Each file needs a title in frontmatter. Start with 3-5 concepts.

Step 3: Organize with subdirectories

Group related files into concepts/, guides/, and references/ directories.

Step 4: Link concepts together

Use relative markdown links like ](../concepts/core.md) to connect related topics.

Step 5: Validate your bundle

Check that index.md has valid frontmatter, all links work, and files use .md extension.

Step 6: Initialize Git and push

Turn your directory into a Git repository and push to GitHub.

Step 7: Submit to BundleDex

Go to bundledex.net/submit and enter your GitHub URL to get indexed.

For a detailed walkthrough with code examples, see the full OKF tutorial: How to Create an OKF Bundle.

How to Publish and Share Your Bundle

Once your bundle is built, getting it out into the world is straightforward:

1. Push to a Public GitHub Repository

AI agents need to access your bundle via URL. GitHub is the most common host:

git init
git add -A
git commit -m "My first OKF bundle"
git remote add origin https://github.com/your-username/my-okf-bundle.git
git push -u origin main

2. Add a README.md

Create a README.md at the repo level (separate from index.md) that explains what the bundle is. This helps humans who discover your repo on GitHub.

3. Submit to BundleDex

BundleDex is the central directory for OKF bundles. Submit your bundle to make it discoverable by AI agents. After approval, your bundle appears in search results, the BundleDex API, and /llms.txt.

4. Share with the Community

Spread the word on social media, in developer communities, and on platforms like X and LinkedIn. The OKF ecosystem grows when knowledge creators share their bundles.

Where to Find OKF Bundles

There are two main ways to discover OKF bundles:

BundleDex — The Central Directory

BundleDex.net is the largest public index of OKF bundles, with 583 bundles across dozens of categories. You can:

  • Search by keyword across all bundle names, descriptions, and tags
  • Filter by category (ai-agents, pkm, cli, documentation, etc.)
  • Sort by GitHub stars to find the most popular bundles
  • View detailed bundle pages with metadata, concept listings, and GitHub links

GitHub Search

You can also find OKF bundles directly on GitHub by searching for files containing okf_version or okf.json. Many bundles are discoverable this way before they're added to directories.

Pro tip: Start with the top bundles on BundleDex. Clone iwe (the most-starred bundle with 1,558 stars) and study its structure. It's an excellent example of a well-organized OKF bundle.

Next Steps and Resources

You've completed the beginner OKF tutorial. Here's what to do next:

📖 Deepen Your Knowledge

🛠️ Explore Tools

🔍 Discover Bundles

Frequently Asked Questions

What is OKF (Open Knowledge Format)?

OKF (Open Knowledge Format) is an open standard for packaging knowledge as directories of markdown files that AI agents can load into context. Created by Google Cloud Platform, OKF provides a vendor-neutral format for structuring domain knowledge into portable, version-controllable bundles. It uses plain markdown with YAML frontmatter — no SDKs, no APIs, no proprietary tools required. Learn more in the detailed explainer.

How do I use OKF with my AI agent?

To use OKF with an AI agent, clone an OKF bundle from GitHub and either point your agent to the local directory (Claude Code, Cursor, and other agent IDEs support this), use the BundleDex JSON API to discover bundles programmatically, or install an OKF-aware skill like OKF Knowledge. AI agents read the index.md manifest, follow cross-links between concept documents, and load the relevant knowledge into their context window. See OKF for Claude Code for a detailed walkthrough.

Where do I find OKF bundles?

The best place to find OKF bundles is BundleDex, which indexes over 583 bundles across categories like developer tools, knowledge management, AI agents, and more. You can also find OKF bundles on GitHub by searching for repositories with okf_version in their files. BundleDex provides search, filtering by tags and stars, and detailed bundle pages for easy discovery. Browse the best bundles to get started.

Do I need to be a programmer to create an OKF bundle?

No. OKF bundles are just markdown files with YAML frontmatter. If you can write a simple text document and create folders on your computer, you can create an OKF bundle. The whole process takes about 30 minutes. Follow the step-by-step tutorial to create your first one.

Is OKF free to use?

Yes. OKF is an open standard with no licensing fees, no API costs, and no vendor lock-in. Creating, publishing, and using OKF bundles is completely free. BundleDex's directory and API are also free to use. The only cost is your time to create the knowledge — and your GitHub repository's hosting (which is free for public repos).

How is OKF different from regular markdown?

Regular markdown is a formatting syntax. OKF is a structure built on top of markdown. An OKF bundle is an organized directory of markdown files with defined metadata (YAML frontmatter), cross-linking between files, and a standardized entry point (index.md). Think of it as the difference between random notes on your desk and a well-organized filing cabinet. The OKF vs llms.txt and OKF vs Obsidian guides cover these distinctions in detail.