18 releases (5 breaking)
Uses new Rust 2024
| 0.6.12 | Apr 17, 2026 |
|---|---|
| 0.6.11 | Apr 17, 2026 |
| 0.5.5 | Apr 10, 2026 |
| 0.4.3 | Apr 4, 2026 |
| 0.1.1 | Mar 31, 2026 |
#278 in Data formats
Used in weftos
5MB
106K
SLoC
WeftOS kernel layer for clawft.
This crate provides the kernel abstraction layer that sits between
the CLI/API surface and clawft-core. It introduces:
- Boot sequence (
boot::Kernel) -- lifecycle management wrappingAppContextwith structured startup/shutdown. - Process table (
process::ProcessTable) -- PID-based agent tracking with state machine transitions. - Service registry (
service::ServiceRegistry) -- named service lifecycle with health checks. - IPC (
ipc::KernelIpc) -- typed message envelopes over the existingMessageBus. - Capabilities (
capability::AgentCapabilities) -- permission model for agent processes. - Health monitoring (
health::HealthSystem) -- aggregated health checks across all services. - Console (
console) -- boot event types and output formatting for the interactive kernel terminal. - Configuration (
config::KernelConfig) -- kernel-specific settings embedded in the root config. - Containers (
container::ContainerManager) -- sidecar container lifecycle and health integration. - Applications (
app::AppManager) -- application manifest parsing, validation, and lifecycle state machine. - Cluster (
cluster::ClusterMembership) -- multi-node cluster membership, peer tracking, and health. - Environments (
environment::EnvironmentManager) -- governance-scoped dev/staging/prod environments. - Governance (
governance::GovernanceEngine) -- three-branch constitutional governance with effect algebra scoring. - Agency (
agency::Agency) -- agent-first architecture with roles, spawn permissions, and agent manifests.
Feature Flags
native(default) -- enables tokio runtime, native file I/O.wasm-sandbox-- enables WASM tool runner (Phase K3).containers-- enables container manager (Phase K4).ecc-- enables ECC cognitive substrate (Phase K3c).
Crate Ecosystem
WeftOS is built from these crates:
| Crate | Role |
|---|---|
weftos |
Product facade -- re-exports kernel, core, types |
clawft-kernel |
Kernel: processes, services, governance, mesh, ExoChain |
clawft-core |
Agent framework: pipeline, context, tools, skills |
clawft-types |
Shared type definitions |
clawft-platform |
Platform abstraction (native/WASM/browser) |
clawft-plugin |
Plugin SDK for tools, channels, and extensions |
clawft-llm |
LLM provider abstraction (11 providers + local) |
exo-resource-tree |
Hierarchical resource namespace with Merkle integrity |
Source: https://github.com/weave-logic-ai/weftos
Dependencies
~13–45MB
~715K SLoC