ai-agent 0.13.4

Idiomatic agent sdk inspired by the claude code source leak
Documentation
pub async fn run_forked_agent(_config: ForkedAgentConfig) -> Result<ForkedAgentResult, String> {
    Err("Not implemented".to_string())
}

#[derive(Clone, Debug)]
pub struct ForkedAgentConfig {
    pub prompt: String,
    pub model: Option<String>,
    pub max_tokens: Option<u32>,
}

#[derive(Clone, Debug)]
pub struct ForkedAgentResult {
    pub output: String,
    pub tool_calls: Vec<serde_json::Value>,
    pub usage: Usage,
}

#[derive(Clone, Debug, Default)]
pub struct Usage {
    pub input_tokens: u32,
    pub output_tokens: u32,
}