ai-agent 0.13.4

Idiomatic agent sdk inspired by the claude code source leak
Documentation
1
2
3
4
5
pub const MEMORY_TYPES: &[&str] = &["user", "feedback", "project", "reference"];

pub fn parse_memory_type(raw: &str) -> Option<&'static str> {
    MEMORY_TYPES.iter().find(|&&t| t == raw).copied()
}