@agentfare/cli
v0.1.28
Published
Command-line interface for AgentFare cost optimization
Readme
@agentfare/cli
AgentFare 命令行工具。
安装
npm install -g @agentfare/cli
# 或
pnpm add -g @agentfare/cli命令
agentfare init
检测已安装的 CLI 工具(Claude、Codex)并配置环境。
agentfare cost
查看成本报告。
agentfare cost # 最近 30 天
agentfare cost --last 7d # 最近 7 天
agentfare cost --json # JSON 输出agentfare config
管理配置项。
agentfare config set routing.strategy tiered
agentfare config get routing.strategyagentfare models
模型管理。
agentfare models list # 列出所有模型
agentfare models list --provider openai # 按 provider 过滤
agentfare models update # 拉取最新模型数据agentfare optimize
运行路由优化。
License
MIT
