The open press for agent-ready knowledge

Turn any website into a book your agents can read.

okf-kit crawls a site into a portable Open Knowledge Format bundle — a folder of plain markdown your agents, tools, and teammates can all read. No LLM. No browser. No cloud. Install in seconds; build your first book in one command.

bash

  
No LLM required 🪶 No browser, installs in seconds 📦 Just markdown + git 🔌 Chats fully offline ⚖️ Apache-2.0
Why okf-kit

Knowledge that installs in seconds, not a cloud account.

Most "AI knowledge" tools want a model key, a vector database, and a service to call. okf-kit wants a URL.

Biggest win
01

No LLM required

The entire build path — crawl, structure, validate — runs with zero API keys and zero model calls. An LLM is optional, only if you want chat or enrichment.

02

Lightweight to a fault

No headless browser, no heavyweight ML stack. pip install okf-kit and you're crawling in seconds.

03

Portable & lock-in free

A bundle is a folder of markdown + YAML. Commit it, diff it, zip it. Readable by humans, agents, Obsidian, MkDocs — anything.

04

Built to be consumed

Chat with any provider or fully offline via Ollama, serve to Claude Code & Cursor over MCP, or explore it visually.

The workflow

Five commands, one folder of knowledge.

Build it, keep it fresh, talk to it, see it, and publish it for others — each is a single command.

1

Build

okf build <url>

Crawl a site into a conformant OKF bundle. No key needed.

2

Sync

okf sync my-book

Re-crawl; only changed pages update. Tiny git diffs.

3

Chat

okf chat my-book

Ask questions — OpenAI, Ollama, or zero-key retrieval.

4

Visualize

okf visualize my-book

A readable explorer of every concept & its links.

5

Publish

okf zip my-book

Share it, or add it to the community registry.

awesome-okf-kit · live

Community bundles, ready to pull.

Every book in the registry, loaded live from GitHub. Add yours and it appears here automatically — no site edit required.

Loading the registry…
okf-desktop · new

Prefer a window to a terminal? Get the app.

okf desktop is a free, open-source app built on okf-kit — browse the registry, install books, read them like a book, and chat with cited answers, fully offline. Download and run; no Python or install needed.

okf desktop — Library, Discover, Read, Chat, Settings

Free & open source (AGPL-3.0). Builds are unsigned — approve the first launch (macOS: right-click → Open · Windows: SmartScreen → More info → Run anyway). Linux needs system GTK 3 + WebKit2GTK.

okf-kit & Google OKF

Same format. Different mission.

Open Knowledge Format is a Google-authored spec. okf-kit is an independent, lightweight implementation of it — and the two interoperate.

okf-kitGoogle reference agent
SourceAny websiteBigQuery / Dataplex catalog
ProducerDeterministic crawler — no keyLLM agent (Gemini + GCP auth)
Footprintpip install, seconds, no browserCloud SDKs, google-adk, BigQuery
Consumechat (offline too), MCP, explorer, registryCytoscape viewer
SyncIncremental re-crawl
LicenseApache-2.0Apache-2.0
They interoperate. okf-kit validates and renders Google's own sample bundles — same spec, byte-compatible. Produce with one, consume with the other.
Questions

Frequently asked

What is okf-kit?

okf-kit is a lightweight, open-source Python library and CLI that turns any website into a portable Open Knowledge Format (OKF) bundle — a folder of plain markdown files that AI agents, tools, and people can all read. It runs a deterministic crawler (no LLM required), then lets you chat with the result offline, serve it to coding agents over MCP, and keep it in sync as the site changes.

Does okf-kit require an LLM or API key?

No. The entire build path — crawl, structure, validate — runs with zero API keys and zero model calls. An LLM is optional: you only need one for synthesized okf chat answers (use Ollama for fully offline), or the optional --enrich step. With no model configured at all, okf chat still answers from a zero-key retrieval fallback, with citations.

What is the Open Knowledge Format (OKF)?

OKF is an open, vendor-neutral specification for representing knowledge as plain markdown files with a small set of YAML frontmatter fields (type, title, description, resource, tags, timestamp). It was introduced by Google as part of its Knowledge Catalog work. okf-kit is an independent, unofficial implementation of the spec — and it interoperates: okf-kit validates and renders Google's own reference bundles unchanged.

How is okf-kit different from Google's OKF tools?

Google's reference implementation targets BigQuery / data-catalog metadata using an LLM enrichment agent. okf-kit targets any website with a deterministic crawler that needs no LLM, no cloud, and no API key — and adds incremental sync, offline chat, an MCP server for coding agents, and a community registry. Same format, complementary mission; the two interoperate.

Can I use okf-kit with Claude Code, Cursor, or other MCP clients?

Yes. okf serve-mcp <bundle> runs a stdio MCP server exposing list_bundles, list_directory, read_concept, and search_bundle, so Claude Code, Cursor, or any MCP client can read a project's up-to-date docs locally. There's also a Docker image for running it as a container.

Does okf-kit work offline?

Yes. Building a bundle only needs network access to crawl the site once; after that it's all local files. okf chat works fully offline with a local model via Ollama, and even with no model configured it answers from a zero-key retrieval fallback.

What websites can okf-kit crawl?

Any static or server-rendered HTML site — documentation sites, wikis, blogs. It respects robots.txt and scopes the crawl to the seed's path by default. JavaScript-rendered single-page apps need the optional [js] extra, which uses a real browser. Extraction quality varies by site.

Is okf-kit free and open source?

Yes — okf-kit is free and open source under the Apache-2.0 license. Install it with pip install okf-kit. The source is on GitHub, and there's a community registry of ready-made bundles you can pull with okf get <name>.

Start now

Build your first book in the next two minutes.

Point it at any docs site. No account, no key, no waiting on a model. Then publish it to the registry so the next person can just okf get it.

get started
$ pip install okf-kit
$ okf build https://your-docs.example.com -o my-book
✓ 48 pages → my-book  (CONFORMANT)
$ okf chat my-book            # or --provider ollama, fully offline