ai-agent 0.13.4

Idiomatic agent sdk inspired by the claude code source leak
Documentation
1
2
3
4
5
6
7
use crate::constants::env::ai;

pub fn is_agent_swarms_enabled() -> bool {
    std::env::var(ai::USER_TYPE)
        .map(|v| v == "ant")
        .unwrap_or(false)
}