Open protocol · Experimental

Knowledge Context Protocol

Compile human knowledge into structured, portable, agent-ready context.

KCP transforms human-oriented files — PDFs, books, articles, manuals, notes and transcripts — into AI-native knowledge packages optimized for retrieval, reasoning, memory and autonomous agents.

step 1
Human File
PDF · DOC · TXT · MD
step 2
KCP Compiler
Semantic extraction
step 3
.kcp Package
Structured context
step 4
AI Agents
RAG · Memory · Agents
The Problem

Human knowledge was not designed for AI agents.

Most knowledge still lives in formats created for humans: books, PDFs, slides, articles, videos and long documents. These formats are readable, but they are not optimized for agentic systems.

Linear documents

Documents are written for sequential human reading, not dynamic retrieval and reasoning.

Implicit knowledge

Important relationships, assumptions and exceptions are buried inside prose.

Flat chunks

Most RAG systems split text into chunks, losing causal, procedural and conceptual structure.

Agent context gap

Agents need operational knowledge, not just text fragments.

The Solution

KCP turns content into structured cognition.

KCP is a portable knowledge representation format that converts human content into a structured package of entities, concepts, relationships, rules, heuristics, procedures, patterns, anti-patterns, retrieval chunks, atomic embedding units and agent instructions.

Human File
  • Narrative
  • Long text
  • Implicit meaning
  • Linear chapters
  • Hard to query
  • Human-friendly
KCP File
  • Structured context
  • Explicit relations
  • Modular knowledge
  • Retrieval-ready chunks
  • Agent instructions
  • Machine-friendly

KCP does not summarize documents. It compiles them.

Context

Why now?

The rise of AI agents changes the role of knowledge. In a world where software systems can read, plan and act, knowledge must become more than readable. It must become structured, traceable and operational.

  • LLMs made natural language programmable.
  • RAG made external knowledge usable.
  • Agents now require persistent, structured context.
  • Existing documents are not enough.
  • KCP proposes a portable layer between human knowledge and agent cognition.

KCP vs Traditional RAG

Traditional RAG
  • Split documents into chunks.
  • Embed chunks.
  • Retrieve by similarity.
  • Inject into prompt.
  • Often loses structure.
KCP-enhanced RAG
  • Extracts entities, rules and concepts.
  • Preserves causal and procedural relationships.
  • Creates standalone retrieval chunks.
  • Adds source traceability and confidence.
  • Gives agents behavioral instructions.
  • Supports graph and memory systems.

KCP is not a replacement for RAG. It is a better input layer for RAG.

Future

Toward a market for agent-ready knowledge

As agents become more capable, people and organizations may want to publish not only human-readable content, but also agent-usable knowledge assets. A book may have a PDF version for humans and a KCP companion for AI systems.

A teacher publishes a course with a KCP tutoring package.
A consultant sells a KCP strategy playbook.
A company creates internal KCP memory packages.
A researcher publishes a paper with a KCP artifact.
An author releases a book plus an agent-ready knowledge companion.

KCP packages should preserve attribution, licensing, source traceability and creator rights.

Compile knowledge.
Empower agents.