zero-core-budget

v1.0.0
io.github.meltingpixelsai/zero-core-budget Checked 2 hours ago Published 7 months ago

Agent spending mgmt, budget tracking, ROI.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_tools

List all available Harvey Budget tools with pricing and input requirements. Use this for discovery.

health

Check Harvey Budget server status, uptime, and payment network configuration.

register_agent

Register an agent with daily and weekly budget limits, or update them. The agent_id belongs to the wallet that pays for this call: call check_spend, report_spend and get_spending_report from the same wallet.

ParameterTypeDescription
agent_id *stringYour agent's name. It belongs to the wallet you pay from: only calls paid from that wallet can read or change it
daily_limit_usd *numberMaximum daily spending in USD
weekly_limit_usd *numberMaximum weekly spending in USD
category_limitsobjectOptional per-category weekly limits (e.g. {security: 1.0, content: 2.0})

check_spend

Pre-spend budget approval check. Verifies daily/weekly/category limits, estimates ROI from your own past spends with this service, and suggests cheaper alternatives you have used. Call this BEFORE paying for any service.

ParameterTypeDescription
agent_id *stringYour agent's name. It belongs to the wallet you pay from: only calls paid from that wallet can read or change it (register it first)
amount_usd *numberAmount you're about to spend in USD
category *stringSpending category
service_id *stringService you want to pay for (e.g. 'harvey-tools/scrape_url')

report_spend

Record a completed spend with optional outcome tracking. Call this AFTER paying for a service to track spending and build ROI history.

ParameterTypeDescription
agent_id *stringYour agent's name. It belongs to the wallet you pay from: only calls paid from that wallet can read or change it
amount_usd *numberAmount spent in USD
category *stringSpending category
service_id *stringService that was used
outcome_successbooleanWhether the service call succeeded
value_receivedstringDescription of value received

get_spending_report

Detailed spending analytics report. Returns total spent, category breakdown, top services with ROI, and optimization recommendations. Use to understand spending patterns and find inefficiencies.

ParameterTypeDescription
agent_id *stringYour agent's name. It belongs to the wallet you pay from: only calls paid from that wallet can read or change it
period *stringReport period