ai-agent 0.88.0

Idiomatic agent sdk inspired by the claude code source leak
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#![allow(dead_code)]

use std::collections::HashMap;

#[derive(Debug, Clone)]
pub struct CostEntry {
    pub timestamp: i64,
    pub input_tokens: u64,
    pub output_tokens: u64,
    pub model: String,
}

pub fn track_cost(entry: CostEntry) {}

pub fn get_total_cost() -> u64 {
    0
}