io.github.mdfifty50-boop/agent-costcenter
Multi-agent billing and cost allocation tracking
Versions
0.1.3latestTools 9
health_check Returns server health, uptime, version, and usage stats
register_agent Register an agent with optional team, project, model, and budget cap. Must be called before logging costs.
log_llm_call Log an LLM API call with token counts. Auto-calculates cost from built-in pricing table, or use cost_override_usd.
log_tool_call Log a tool or API call cost for an agent, with duration and optional cost.
get_cost_report Get cost breakdown by agent, team, project, or across all agents. Includes per-model breakdowns and percentages.
set_budget_alert Set a spending threshold for an agent. When exceeded, either warn or block further calls.
check_budget Check if an agent is within its budget. Returns spend, remaining budget, and percentage used.
get_cost_anomalies Find agents with unusual spending patterns. Flags agents whose recent per-call average is 2x+ above their historical average.
compare_models Compare cost efficiency across all models used. Shows cost per 1K tokens, total spend, cheapest and most expensive.
Permissions 1
env_vars low