Transforming chaos into governed knowledge.
KAOS (Knowledge Acquisition Operating System) is an AI-assisted framework for transforming fragmented information into governed, structured knowledge through repeatable acquisition workflows, human approval gates, provenance tracking, and canonical data modeling.
This repository contains KAOS v1.0.0, the approved public release package prepared for controlled publication.
KAOS is a general knowledge engineering methodology for teams that need to turn fragmented source material into structured, governed knowledge. It defines lifecycle stages, skill contracts, artifacts, approval gates, status and decision models, provenance expectations, and validation boundaries.
KAOS can prepare governed knowledge for:
- RAG
- search
- analytics
- APIs
- knowledge graphs
- recommendation systems
- structured data products
- internal knowledge bases
- AI applications
Knowledge work often starts with inconsistent source surfaces, duplicate records, conflicting claims, unclear ownership, and undocumented transformations. KAOS creates a repeatable path for discovering knowledge objects, reconciling them against a governed baseline, deciding what should become canonical, preserving provenance, and validating structured outputs.
KAOS follows eight design principles:
- AI accelerates; humans decide.
- Canonical knowledge is governed.
- Provenance is preserved.
- Source conflict is preserved, not silently flattened.
- Acquisition is repeatable.
- Approval boundaries are explicit.
- Downstream outputs must be reproducible.
- The framework is implementation-agnostic.
See docs/DESIGN_PRINCIPLES.md.
The explanatory architecture narrative is:
Acquire -> Understand -> Govern -> Plan -> Authorize -> Implement -> Verify -> Certify -> Close
The formal KAOS lifecycle remains the 12-stage sequence documented in docs/KNOWLEDGE_ACQUISITION_LIFECYCLE.md.
- Source Boundary Audit
- Acquisition Strategy
- Knowledge Inventory
- Baseline Reconciliation
- Editorial Triage
- Canonical Readiness Review
- Implementation Planning
- Implementation Approval
- Structured Data Implementation
- Post-Implementation Review
- Source Certification
- Source Completion
Frozen skill files live in skills/. They are 1.0.0 and Approved.
- Source boundary: the controlled scope of source material.
- Knowledge object: a source-discovered item that may require classification.
- Canonical entity: a governed structured object approved for downstream use.
- Non-canonical source record: a retained source record that supports traceability without canonical inclusion.
- Provenance: the preserved origin, relationship, transformation, conflict, and decision history.
- Retrieval exposure: whether structured knowledge may be visible to downstream retrieval systems.
KAOS produces auditable artifacts, source manifests, canonical entity decisions, provenance records, validation results, certification outcomes, and final completion records. It does not require a specific database, model, vector store, programming language, cloud provider, or orchestration platform.
The fictional Northstar Knowledge Catalog demonstrates a small, public-safe acquisition scenario with product, policy, course, service, and research records from five fictional source surfaces. It includes duplicate handling, alias preservation, variant handling, canonical proposals, approved canonical entities, non-canonical source records, provenance, conflicts, retrieval-exposure decisions, and downstream readiness notes. See examples/northstar-knowledge-catalog/.
The example demonstrates readiness for downstream indexing or retrieval. It does not implement a working RAG system, search engine, database, or orchestrator.
core/ KAOS Core specification
skills/ Approved KAOS skill contracts
docs/ Public framework documentation
artifact-templates/ Deferred artifact templates
source-profiles/ Generic profile template and fictional source profile
orchestrator/ Orchestrator boundary documentation
examples/ Fictional public examples
schemas/ KAOS validation schemas
scripts/ KAOS validation scripts
tests/ KAOS validation notes
Start with docs/KAOS_OVERVIEW.md, then read the lifecycle, skills, artifact catalog, and status model. Use the Northstar example to see how the concepts fit together.
KAOS validation scripts live in scripts/.
validate-skills.mjschecks the expected KAOS 1.0.0 skill set, metadata values, lifecycle routing, approval gates, status values, decision values, required sections, and artifact producer ownership. It is not a general-purpose YAML parser or JSON Schema validation engine.scan-forbidden-terms.mjschecks a maintained set of known private-reference and secret-like risks. It cannot guarantee the absence of all confidential, proprietary, or domain-specific content.validate-links.mjschecks local Markdown file links inside the workspace. It does not validate anchors, external URLs, generated files, or semantic correctness.
KAOS is AI-assisted, not fully automated. AI may help discover, compare, draft, classify, and validate. Human approval gates remain authoritative for governance decisions.
KAOS v1.0.0 is approved for controlled public repository migration. Publication remains a separate release workflow.
See ROADMAP.md for directional release planning.
See CONTRIBUTING.md.
Citation metadata is available in CITATION.cff.
SPDX-License-Identifier: Apache-2.0
KAOS is licensed under the Apache License 2.0. See LICENSE.