Crate soma_core

Source
Expand description

§SOMA-CORE: Self-Aware Development System

The world’s first production-ready self-aware development system with meta-cognitive capabilities. SOMA-CORE serves as a cognitive reasoning engine for intelligent development platforms.

§Features

  • 15 Cognitive Operators: Meta-cognitive, multi-agent, uncertainty, and core reasoning
  • 6 LLM Provider Integrations: GPT-4, Claude, Gemini, DeepSeek, Mistral, Grok
  • Advanced Edit Control: Intelligent classification, approval workflows, staged application
  • Self-Aware Capabilities: Meta-reflection, system introspection, optimization recommendations
  • Visual Reasoning: Code analysis, pattern recognition, dependency mapping
  • Production Ready: 154 passing tests, zero compilation warnings

§Quick Start

use soma_core::prelude::*;
 
// SOMA-CORE provides cognitive operators for intelligent development
// Operators are typically used through the CLI or integration APIs
 
// Example: Basic usage pattern
let symbolic_context = SymbolicContext::new();
 
// For comprehensive usage examples, see the examples/ directory
// and integration documentation at docs.rs
assert_eq!(soma_core::VERSION, "2.0.0");

§Integration Patterns

SOMA-CORE is designed as a cognitive reasoning engine for other platforms:

  • Development Platforms: Integrate cognitive capabilities into IDEs and editors
  • AI-Powered Tools: Add self-aware reasoning to existing development tools
  • Research Projects: Foundation for cognitive computing and self-improving systems
  • Enterprise Solutions: Intelligent code review and development assistance

§Examples

See the examples/ directory for comprehensive demonstrations of all capabilities.

Modules§

agents
classification
cli
context
dag
edit_control
feedback_loop
git_integration
llm_operator
memory
ops
prelude
Convenient re-exports of the most commonly used SOMA-CORE types and traits.
types

Constants§

COGNITIVE_OPERATORS_COUNT
Number of cognitive operators available
IS_PRODUCTION_READY
Production-ready cognitive reasoning engine status
LLM_PROVIDERS_COUNT
Number of LLM providers integrated
VERSION
Version information for SOMA-CORE