Schema

Anatomy of a KCP Package

Every .kcp package is a structured collection of cognitive blocks. Each block is independently useful and can be consumed by retrieval systems, agents, knowledge graphs or fine-tuning pipelines.

01

Metadata

Identity, version, source, language and quality scores for the package.

02

Core Intent

The primary purpose, intended user, intended agent use and transformation goal of the source.

03

Domain Map

Main domain, subdomains, adjacent domains and explicitly excluded domains.

04

Entity Graph

People, roles, tools, concepts, metrics, states and objects extracted from the source.

05

Concept Graph

Key ideas as connected semantic nodes with dependencies, contradictions and supporting relationships.

06

Principles

Foundational statements with conditions of application and rationale.

07

Heuristics

Tacit expertise turned into practical rules of thumb for agent reasoning.

08

Decision Rules

Conditional decisions with required context, output actions and failure modes.

09

Procedures

Step-by-step processes with inputs, outputs, success and failure criteria.

10

Patterns

Recurring situations, signals, mechanisms and response strategies.

11

Anti-patterns

Failure modes with warning signals and replacement behavior.

12

Causal Chains

Cause, mechanism, effect, secondary effects and intervention points.

13

Contextual Triggers

When-then activations: signals that should make agents recall specific knowledge.

14

IF-THEN Rules

Compact conditional logic with rationale and confidence.

15

Exceptions

Edge cases that override general rules with modified actions and explanations.

16

Mental Models

Reusable frames of reasoning, with usage and non-usage conditions.

17

Operational Playbooks

End-to-end agent runbooks: objective, steps, tone, tools and failure modes.

18

Agent Q&A

Reference question/answer pairs for evaluation, tutoring and onboarding.

19

Retrieval Chunks

Standalone, dense, context-rich units optimized for semantic search.

20

Atomic Units

One-idea statements suitable for embeddings, evaluation and memory systems.

21

Agent Instructions

Behavior, reasoning, response, forbidden actions and tool guidance.

22

Knowledge Limits

Missing context, weakly supported claims, biases and items needing human review.

23

Source Traceability

Links every generated item back to its original source location and excerpt.

Comparison

The same knowledge, two formats

A human writes a paragraph. A .kcp package turns the same content into typed cognitive blocks an agent can query.

Good for humans

Good for humans

To approve a refund above $500, the support agent should first check the customer's order history. If the customer is loyal and the issue is clearly our fault, escalate to a manager — but never before confirming the product was actually shipped. In edge cases involving fraud signals, hold the refund and open a review.

.kcp · Structured for agents

.kcp · Structured for agents

entity
rule
procedure
heuristic
exception
atomic_unit
entity: support_agent, customer, refund, manager
rule:
if: refund.amount > 500 AND fault = internal
then: escalate(manager)
requires: order.shipped = true
procedure:
- check(customer.order_history)
- verify(product.shipped)
- escalate_if(fault = internal)
heuristic: loyal customers tolerate slow refunds, not silence
exception:
when: fraud_signal detected
action: hold_refund AND open_review
atomic_unit: refunds above 500 require manager approval