ai-agent 0.13.4

Idiomatic agent sdk inspired by the claude code source leak
Documentation
1
2
3
4
5
6
7
8
9
10
11
use std::sync::atomic::{AtomicBool, Ordering};

static SINK_KILLSWITCH: AtomicBool = AtomicBool::new(false);

pub fn is_sink_killswitch_active() -> bool {
    SINK_KILLSWITCH.load(Ordering::SeqCst)
}

pub fn set_sink_killswitch(_active: bool) {
    SINK_KILLSWITCH.store(_active, Ordering::SeqCst);
}