KnowledgeOS is an agent operating system for knowledge and development work.
Its product doctrine is:
small kernel + pluggable modules + optional apps + project-level strictness + mandatory checkpoint reporting
The kernel owns the minimum lifecycle required for safe agent work:
- boot and health checks;
- task intake;
- route selection;
- write guarding;
- run envelopes;
- evaluation evidence;
- completion gates;
- receipt, handoff, and sync evidence.
The kernel should stay small. New product abilities should become modules unless they are required to prevent unsafe or unverifiable work.
Modules extend the kernel only when a project enables them or a task invokes them.
Examples:
- spec alignment;
- capability orchestration;
- legacy migration;
- archive management;
- harness audit and repair;
- external adapters.
Modules must record command evidence when they affect a run. They must not silently replace kernel gates.
Apps are observation and operation surfaces. They are not the kernel.
The Workbench may read KnowledgeOS state, explain the current run, and suggest commands. By default it must not bypass route guards, write guards, eval gates, or completion gates.
Different projects need different levels of governance.
KnowledgeOS should support stricter profiles for release, research, and long-running work without forcing every small project to load every module.
The default path should be safe and observable, not heavy.
Every meaningful run should expose four evidence lanes:
| Lane | File | Marker | Meaning |
|---|---|---|---|
| Public Operational Trace | .agent-os/runs/<RUN_ID>/step-events.ndjson |
TRACE_OK |
User-visible operating trace. |
| Lifecycle Checkpoints | .agent-os/runs/<RUN_ID>/phases.ndjson |
CHECKPOINT_OK |
Six-phase lifecycle evidence. |
| Capability Visibility | .agent-os/runs/<RUN_ID>/capability-events.ndjson |
CAPABILITY_OK |
Visible MCP, skill, subagent, orchestrator, script, shell, or file-read use. |
| Completion And Sync | .agent-os/runs/<RUN_ID>/postflight.md |
SYNC_OK |
Completion and postflight sync evidence. |
No command evidence, no success claim.
A complete substantial task follows this operating chain:
User Intent
-> Load Rules
-> Doctor Gate
-> Task Intake
-> Spec Alignment
-> Route Guard
-> Dispatch Plan
-> Write Guard
-> Run Envelope
-> Context Pack
-> Plan Task
-> Execution
-> Capability Visibility
-> Phase Checkpoints
-> Eval
-> Verify
-> Complete
-> Sync
The exact module set can vary by project profile, but completion must remain evidence-bound.
doctor is diagnostic. It reports whether the control plane is healthy.
Repair tools are separate:
harness-audit --repair;init-os;init-project;migrate-legacy-project;archive-legacy-project;reset-project.
This separation keeps health checks predictable and prevents hidden repair work.
KnowledgeOS is not:
- a replacement for the host operating system;
- a generic chat UI;
- a hidden auto-mutation engine;
- a tool launcher that bypasses project rules;
- a single giant hook that loads every module for every project.
KnowledgeOS is the operating contract that lets agents work visibly, safely, and repeatably.