OKF Builder Reference / Open Knowledge Format v0.2, explained for builders OKF v0.2
OKF OpenKnowledgeFormat

Comparison

OKF vs AGENTS.md

AGENTS.md tells coding agents how to work in a repository. OKF maps the knowledge inside and around a system.

Question
OKF
AGENTS.md
Primary job
Describes concepts, metrics, APIs, systems, operational knowledge, and how they connect.
Gives repository-specific instructions to coding agents.
Audience
Humans, AI agents, catalogs, search tools, and documentation teams.
Coding agents working inside a repo.
Durability
Portable bundle that can travel between repos and tools.
Repo-local working instructions.

When to use OKF

Use OKF when you want structured knowledge about a system or domain, especially where relationships between concepts matter.

When to use AGENTS.md

Use AGENTS.md when you want coding agents to follow local repo rules.

How they work together

AGENTS.md can tell agents how to work; OKF can explain what the product, systems, and metrics mean and how they relate.

Implementation example

What this looks like in a working system.

A repository can use AGENTS.md for test commands, code style, review rules, and directory-specific instructions. The same repository can keep product definitions, API concepts, metrics, and runbooks in an OKF folder that agents read when a task needs domain context.

Boundary

What this comparison does not claim.

AGENTS.md is intentionally instruction-focused and repository-scoped. OKF does not replace working rules for coding agents, and an OKF bundle should not be used to hide commands or safety constraints that belong in AGENTS.md.

Primary sources

Check both formats directly.

Comparison reviewed 2026-08-24.

Related comparisons

Keep the boundaries straight.

Mathias Onea

Mathias Onea

Senior Engineer, Product Builder, and Founder

Systems, product software, and practical execution for teams that need clear decisions, durable implementation, and agent-ready knowledge structures.

Focus
Knowledge systems, Laravel platforms, automation, and technical SEO infrastructure.
Related work
Founder-led software work through Craftwell and independent open-source projects.
Profile
mathiasonea.com