Module nano_agent

Module nano_agent 

Source
Expand description

Nano-agent system for ultra-low-latency agent orchestration

This module implements deterministic nano-agents that run in sub-microsecond loops with explicit time budgets, zero allocations, and lock-free communication.

Re-exports§

pub use bus::NanoBus;
pub use bus::Message;
pub use scheduler::NanoScheduler;
pub use scheduler::SchedulerConfig;
pub use budget::Budget;
pub use budget::BudgetGuard;
pub use critic::CriticReflector;
pub use critic::PolicyUpdate;

Modules§

agents
Example nano-agents
budget
Budget enforcement for nano-agents
bus
Lock-free message bus for nano-agents
critic
Critic-reflector system for nano-agent policy updates
optimization
SIMD optimizations and cache-aligned data structures for nano-agents
scheduler
Nano-agent scheduler with budget enforcement

Structs§

AlignedState
Cache-line aligned agent state for optimal performance
NanoMetrics
Metrics for nano-agent performance tracking
TickResult
Result of a nano-agent tick

Enums§

SchedulerTopology
Topology for agent scheduling

Traits§

NanoAgent
Core trait for nano-agents

Functions§

rdtsc
spin
Spin loop hint for busy waiting