A disciplined, extensible, and verifiable platform for knowledge management. Built with architecture-first principles, evidence-driven governance, and a repeatable engineering process.
Every layer has a single responsibility. Dependencies flow in one direction.
Foundation components: EventBus, Error Hierarchy, Config, Logger, Context, Plugin Registry, Timer, Validation.
Persistence, Graph, Search & Indexing, Plugin System. Each depends only on the Kernel.
Contract Layer with 27 operations, 29 error codes, 8 lifecycle events, and contract-based validation.
Thin TypeScript binding with fluent API, version negotiation, discovery, and pagination.
Clone the repository, install dependencies, and run the demo.
# Clone and build
git clone https://github.com/aymanelmasryael/KnowledgeOS.git
cd KnowledgeOS
npm install
npm run build
# Run the quickstart demo
npm start
import { KnowledgeClient } from "@knowledgeos/sdk";
// Build the client
const client = KnowledgeClient.builder()
.endpoint("https://api.knowledgeos.dev")
.tokenAuth("your-api-token")
.fixedVersion("v1")
.build();
// Knowledge operations
const result = await client.knowledge().get("object-id");
// Graph operations
const node = await client.graph().getNode("node-id");
// Search
const results = await client.search().search({
query: "your search query",
graphId: "graph-id",
});
// Discover the platform
const platform = await client.discovery().describe();
console.log(platform.operations);
Note: @knowledgeos/sdk is not yet published to npm. The SDK code above requires cloning the repository and using workspace references. See the SDK example for a fully runnable version.
Everything you need to understand, build with, and contribute to KnowledgeOS.
Component guides, architecture overview, concepts, and FAQ.
Clone, install, build, and run your first KnowledgeOS application.
Complete TypeDoc-generated API documentation for all 7 workspaces.
8 runnable TypeScript examples covering every subsystem.
Source code, issues, discussions, and release history.
Version history, changelog, and release artifacts.
Report bugs, request features, track development progress.
Contribution guidelines, coding standards, and PR workflow.
The principles and governance that guide every decision.
MIT — open source, freely available for use and contribution.
The principles that govern every decision.