The open format for AI-native documentation. Version your knowledge like code. Structured for LLMs, readable by humans.
$ kp init my-project-docs
✓ Created manifest.yaml
✓ Created docs/ directory
✓ Created index/
✓ Initialized git repository
$ kp validate
✓ Pack is valid!
$ kp ai suggest --type missing
⏳ Analyzing documentation...
📝 Suggestions: 3 missing topics found
Traditional documentation fails AI agents. Knowledge Pack fixes that.
Structured metadata and semantic hints that LLMs can understand and navigate, not just embed.
Plain text files. Full version history. Branch, merge, and collaborate like code.
Generate embeddings for your docs. Semantic search and RAG ready out of the box.
Mark docs as draft, review, stable, or deprecated. AIs know what to trust.
Define relationships between documents. Prerequisites, related topics, and dependencies.
No vendor lock-in. Export to JSON, HTML, PDF, or use as-is. Works offline.
One command. Cross-platform. No dependencies.
curl -fsSL https://kpack.dev/install.sh | bash
iwr -useb https://kpack.dev/install.ps1 | iex
Or install via package managers:
brew install knowledge-pack/tap/kp
cargo install kp-cli
npm i -g @knowledge-pack/cli
Everything you need to manage your documentation.
kp init
Create a new Knowledge Pack
kp validate
Validate structure and schemas
kp index
Generate topic and relation indices
kp ai suggest
Get AI-powered improvement suggestions
kp ai embed
Generate embeddings for semantic search
kp export
Export to JSON, HTML, or Markdown