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.