Open Knowledge CLI Documentation
Frontmatter2 fields
okf_version
0.2
okf_bundle_title
Open Knowledge CLI Documentation

Open Knowledge CLI

Flexible knowledge bases in Markdown that your agents can create, retrieve, maintain, validate, and publish.

Get started

curl -fsSL https://openknowledge.sh/install | bash
okn setup

This documentation uses okn as the preferred command. The full openknowledge command remains available.

The published documentation is at openknowledge.sh/wiki. It is the exported version of this OKF wiki.

Workflows

Start here

Use setup to create a knowledge base. Use validate to verify it. Use search to retrieve knowledge. Use view to browse the knowledge base.

Trust and govern

Use the trusted intent when you need source, evidence, lifecycle, and conflict controls. Use audit, claims, and evidence to apply these controls. Use eval and quality to measure results.

Query and interchange

Use query for explicit semantic queries. Use export to create portable output.

Publish and operate

Use mcp to serve MCP tools. Use connect and registry to manage sources. Use automation for managed processes.

Knowledge CI and the production runtime are optional. See the Knowledge CI Golden Path when you need these capabilities.

Advanced internals

Use agent to run an agent task. Use get and list for direct inspection. Other tools include scaffold, prompt, ast, and spec.

Reference

Powered by OpenKnowledge.sh