Fireworks AI CLI
$ firectl 官方出品 中风险Fireworks AI CLI(firectl)用于管理 Fireworks AI 上的无服务器与专用模型部署、微调任务、数据集及 API Key。支持 -o json / --output json、AIP-160 --filter 过滤、--no-paginate 以及通过 --api-key 或 ~/.fireworks/auth.ini 进行无头鉴权。
brew install fw-ai-external/firectl/firectl firectl 是 Fireworks AI 控制面官方 CLI,原生支持 --output json 管理部署、数据集与微调任务。
Agent 友好度体检单
当前为静态评估(本机尚未安装或尚未运行探针)。可在本地运行 npm run data:probe 并提交 data/probes/ 升级为实测证据。
FCRS-1.0 六维评分拆解
列表命令支持 -o json / --output json、--filter、--search、--no-paginate 与 --api-key,但首次 firectl signin 需交互式浏览器 OAuth。
--output json(-o json),--filter, and--no-paginateacross list commands- Headless auth via
--api-keyand-a/--account-id
支持 -p / --profile 多配置隔离,但 create 与 delete 会直接变更付费云资源。
- Named
-p/--profileseparation; live GPU deployment billing risks
在 macOS 与 Linux 上可通过 Homebrew tap(fw-ai-external/firectl)或直链 .gz 官方二进制轻松安装。
- Single binary via Homebrew tap or GCS static download
全生命周期管理 Fireworks 模型、数据集、微调任务与专用 GPU 部署。
- Covers
model,dataset,deployment,fine-tuning-job, andapi-key
Fireworks AI 官方发布,通过 fw-ai-external/firectl 分发专有二进制包。
- Official Fireworks AI CLI distributed via proprietary binaries
docs.fireworks.ai 文档详尽,各子命令 --help 结构清晰。
- Official docs at docs.fireworks.ai/tools-sdks/firectl/firectl
安全边界、鉴权与放权指南
firectl signin 将 OAuth/API 凭据保存在 ~/.fireworks/auth.ini;无头调用支持传入 --api-key 与 -a / --account-id。
官方免费 CLI;专用 GPU 部署、推理与微调任务均按 Fireworks AI 账户用量计费。
# Fireworks AI CLI (firectl) Agent Rules - Always pass `--output json` (`-o json`) and verify `~/.fireworks/auth.ini` or `--api-key` + `-a` before running commands. - Never run `firectl deployment create` or `firectl fine-tuning-job create` without explicit approval, as dedicated GPUs and training incur billing.
Agent 高频安全命令配方
只读查询(安全推荐)
firectl model list --output json
以 JSON 格式返回可用 Fireworks 模型及其部署兼容性。
firectl deployment list --output json
以 JSON 列出当前活跃专用部署及副本运行状态。
受控写入与预演
firectl dataset create my-dataset ./train.jsonl --output json
上传训练 JSONL 数据集至 Fireworks AI(尚未启动付费微调任务)。
核心优势
- + 支持
--output json、AIP-160--filter表达式与--no-paginate,便于脚本自动化。 - + 支持
-a多账号与-p多配置文件切换。
注意事项与踩坑点
- ! 若未预先配置
--api-key或auth.ini,首次firectl signin需交互式浏览器 OAuth。 - ! 以专有闭源二进制分发,且不直接提供原生 Windows 安装包。