Expand description
Strange Loop - Ultra-low-latency agent framework
Strange Loop is a Rust-based agent framework designed for nanosecond-precision coordination and ultra-low-latency systems. It provides deterministic agent execution with sub-microsecond timing guarantees.
§Features
- Nano-agent system: Deterministic agents with budget enforcement
- Temporal prediction: Computing solutions before data arrives
- Lock-free communication: High-performance message passing
- SIMD optimizations: Cache-aligned data structures
- Nanosecond precision: TSC-based timing for accuracy
§Quick Start
use strange_loop::nano_agent::{NanoScheduler, SchedulerConfig, SchedulerTopology};
let config = SchedulerConfig {
topology: SchedulerTopology::Mesh,
run_duration_ns: 100_000_000, // 100ms
tick_duration_ns: 50_000, // 50μs
max_agents: 10,
bus_capacity: 1000,
enable_tracing: false,
};
let mut scheduler = NanoScheduler::new(config);
// Add agents and run...§Performance
- Sub-microsecond execution: Agents execute in <1μs
- 20,000+ Hz coordination: Multi-agent synchronization
- Zero allocations: Lock-free, allocation-free hot paths
- SIMD acceleration: AVX2-optimized vector operations
§Architecture
Strange Loop implements a hierarchical agent system where nano-agents operate with strict timing budgets and communicate through lock-free message buses. The system is designed for real-time applications requiring deterministic behavior.
Re-exports§
pub use error::LoopError;pub use error::Result;pub use nano_agent::NanoAgent;pub use nano_agent::NanoScheduler;pub use nano_agent::SchedulerConfig;pub use nano_agent::SchedulerTopology;pub use nano_agent::TickResult;pub use temporal_lead::TemporalLeadPredictor;pub use types::Context;pub use types::LoopConfig;pub use types::Policy;pub use types::ScalarReasoner;pub use types::SimpleCritic;pub use types::SafeReflector;pub use types::StrangeLoop;pub use vector3d::Vector3D;
Modules§
- consciousness
- Consciousness emergence patterns and metrics
- error
- Error types for the strange-loop crate
- lipschitz_
loop - Lipschitz-continuous strange loops implementation
- nano_
agent - Nano-agent system for ultra-low-latency agent orchestration
- quantum_
container - Quantum-classical hybrid computing containers
- retrocausal
- Retrocausal feedback loops - future states influence past computation
- self_
modifying - Self-modifying strange loops that evolve their own parameters
- strange_
attractor - Temporal strange attractors with nanosecond precision
- temporal_
consciousness - Temporal consciousness implementation combining all components
- temporal_
lead - Temporal computational lead - solve before data arrives
- types
- Core types and traits for strange loop implementation
- vector3d
- Custom Vector3D implementation for strange-loop examples
Constants§
- BUILD_
INFO - Build information
- BUILD_
TIME - Build timestamp
- GIT_SHA
- Git commit hash
- VERSION
- Version information