OnDeckLLM — AI Model Lineup Manager
Prerequisites
CODEBLOCK0
Verify: ondeckllm --help or check install with npm list -g ondeckllm.
What It Does
OnDeckLLM is a localhost web dashboard that:
- - Auto-discovers LLM providers from OpenClaw config (
~/.openclaw/openclaw.json) - Manages a batting-order priority list for model routing (primary + fallbacks)
- Tests provider health and latency
- Syncs model lineup back to OpenClaw config with one click
- Tracks session costs (JSONL usage log + Chart.js)
- Supports Anthropic, OpenAI, Google AI, Groq, xAI/Grok, Ollama (local + remote), Mistral, DeepSeek, Together, OpenRouter
Starting the Dashboard
CODEBLOCK1
The dashboard runs at http://localhost:3900 (or custom port).
As a Background Service
Use the helper script to check status or start OnDeckLLM:
CODEBLOCK2
Output: JSON with running (bool), port, url, and pid if active.
Agent Workflow
Check if OnDeckLLM is running
CODEBLOCK3
Open the dashboard for the user
Direct them to http://localhost:3900 (or the configured port/URL).
Provider management
OnDeckLLM reads provider config from ~/.openclaw/openclaw.json automatically.
Changes made in the dashboard sync back to OpenClaw config.
No separate API or CLI commands needed — it's a web UI tool.
Configuration
OnDeckLLM stores its data in ~/.ondeckllm/:
- -
config.json — provider settings, port, Ollama URL - INLINECODE12 — cost tracking log
- INLINECODE13 — saved batting-order profiles
Remote Ollama
To connect to a remote Ollama instance, configure in the dashboard UI:
Settings → Ollama → Remote URL (e.g., http://192.168.55.80:11434)
Links
OnDeckLLM — AI模型阵容管理器
前置条件
bash
npm install -g ondeckllm
验证:ondeckllm --help 或通过 npm list -g ondeckllm 检查安装。
功能概述
OnDeckLLM 是一个本地主机网页仪表盘,具备以下功能:
- - 自动发现 OpenClaw 配置(~/.openclaw/openclaw.json)中的 LLM 提供商
- 管理 模型路由的击球顺序优先级列表(主模型 + 备用模型)
- 测试 提供商的健康状态和延迟
- 一键同步 模型阵容回写至 OpenClaw 配置
- 追踪 会话成本(JSONL 使用日志 + Chart.js 图表)
- 支持 Anthropic、OpenAI、Google AI、Groq、xAI/Grok、Ollama(本地+远程)、Mistral、DeepSeek、Together、OpenRouter
启动仪表盘
bash
默认端口 3900
ondeckllm
自定义端口
PORT=3901 ondeckllm
仪表盘运行在 http://localhost:3900(或自定义端口)。
作为后台服务运行
使用辅助脚本检查状态或启动 OnDeckLLM:
bash
node scripts/status.js
输出:包含 running(布尔值)、port、url 和 pid(如果运行中)的 JSON 数据。
代理工作流程
检查 OnDeckLLM 是否运行
bash
node scripts/status.js
为用户打开仪表盘
引导用户访问 http://localhost:3900(或配置的端口/URL)。
提供商管理
OnDeckLLM 自动从 ~/.openclaw/openclaw.json 读取提供商配置。
在仪表盘中所做的更改会同步回 OpenClaw 配置。
无需单独的 API 或 CLI 命令——它是一个网页 UI 工具。
配置
OnDeckLLM 将数据存储在 ~/.ondeckllm/ 目录中:
- - config.json — 提供商设置、端口、Ollama URL
- usage.jsonl — 成本追踪日志
- profiles/ — 保存的击球顺序配置文件
远程 Ollama
要连接到远程 Ollama 实例,请在仪表盘 UI 中进行配置:
设置 → Ollama → 远程 URL(例如 http://192.168.55.80:11434)
链接