forge-guardrails 0.1.2

Foundation types for an LLM-agent workflow framework
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Context tracking and compaction strategies.

/// Hardware memory context and token limits probing.
pub mod hardware;
/// Memory budget manager and compaction orchestration.
pub mod manager;
/// Token budget compaction strategies.
pub mod strategies;

pub use hardware::{detect_hardware, HardwareProfile, MemoryKind};
pub use manager::{default_context_warning, CompactEvent, ContextManager};
pub use strategies::{CompactStrategy, NoCompact, SlidingWindowCompact, TieredCompact};