Skip to main content

Crate clawft_core

Crate clawft_core 

Source
Expand description

§clawft-core

Core engine for the clawft AI assistant framework.

Contains the agent loop, message bus, session management, tool registry, context builder, memory store, and the 6-stage pipeline system.

Modules§

agent
Agent subsystem: loop, context, memory, skills, agent definitions, sandbox.
agent_bus
Inter-agent communication bus.
agent_routing
Agent routing engine.
bootstrap
Application bootstrap and dependency wiring.
bus
Message bus for async channel-agent communication.
clawft_md
CLAWFT.md loading with import resolution.
complexity
Task complexity analysis for model routing.
config_merge
JSON deep merge and key normalization utilities.
embeddings
Embedding trait definitions and implementations.
intelligent_router
3-tier intelligent routing with complexity scoring (ADR-026).
json_repair
JSON repair for malformed LLM output.
memory_bootstrap
Memory bootstrap: index existing MEMORY.md into a vector store.
pipeline
6-stage pluggable pipeline system.
planning
Planning strategies with guard rails.
policy_kernel
POLICY_KERNEL – persistent routing policy store (H2.5).
routing_validation
Routing configuration validation.
runtime
Async runtime abstraction.
scoring
Quality scoring for LLM responses.
security
Security boundary validation functions.
session
Session management for conversation persistence.
session_indexer
Semantic indexing for conversation turns.
tools
Tool system: registry, trait, execution.
vector_store
In-memory vector store with cosine similarity search.
workspace
Workspace discovery, lifecycle management, and merged config loading.