weftos 0.5.0

WeftOS: A portable AI kernel with process management, mesh networking, and cognitive substrate
Documentation

WeftOS: A portable AI kernel for any project.

Add WeftOS to your project to get process management, mesh networking, capability-based security, an append-only audit chain, and a cognitive substrate that learns your codebase.

Quick Start

use weftos::WeftOs;

#[tokio::main]
async fn main() {
    let os = WeftOs::boot_default().await.unwrap();
    println!("WeftOS running: {} services", os.service_count());
    os.shutdown().await.unwrap();
}

Feature Flags

  • native (default) -- Tokio runtime, native file I/O
  • exochain -- Append-only hash chain with Ed25519 + ML-DSA-65 signing
  • cluster -- Multi-node clustering via ruvector
  • mesh -- Encrypted peer-to-peer mesh networking
  • ecc -- Ephemeral Causal Cognition (causal DAG, HNSW, cognitive tick)
  • wasm-sandbox -- Wasmtime-based tool execution
  • containers -- Docker/Podman sidecar orchestration
  • os-patterns -- Self-healing, metrics, reliable IPC, timers
  • full -- Everything

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