Onde Inference CLI

io.github.ondeinference由 GitHub 帳號 ondeinference 發布v0.4.1更新於 Oct 27, 2026

Manage your Onde Inference account and models: apps, model catalog, fine-tuned GGUF deploys.

已驗證STDIO僅桌面開發者工具AI 與機器學習

概覽

AI 產生的概覽

Onde Inference CLI 以本機 MCP 伺服器方式執行,讓助理管理 Onde 帳戶、應用程式與模型目錄,並搜尋 Hugging Face 模型。

可以做什麼
  • 登入並檢視帳戶資訊(login、me)
  • 列出、建立與重新命名應用程式
  • 列出與註冊模型,並將模型指派給應用程式
  • 在 Hugging Face 上搜尋模型
  • 透過 stdio 回傳結構化 JSON,重複使用 TUI 登入取得的權杖
適用情境
適合希望助理不必離開對話就能管理 Onde Inference 應用程式與模型目錄項目,或查詢模型的情境。它只是帳戶與目錄用戶端,並不為助理提供微調或推論能力。
執行需求
以 stdio 在本機執行,透過 Onde CLI 的 onde --mcp 指令啟動(npm 套件 @ondeinference/cli 可用 npx,或 NuGet 套件 Onde.Cli 用 dnx)。需要 Onde 帳戶,以及來自 TUI 登入或 login 工具的現有登入權杖。僅支援桌面端。
安裝前請注意
相關工具會建立與重新命名應用程式、註冊或指派模型,因此會變更帳戶狀態。伺服器會重複使用已儲存的登入權杖,應視為敏感憑證。此 CLI 也會下載模型並在本機進行微調,會佔用磁碟空間與運算資源。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Onde Inference CLI,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

[Onde Inference]

Onde Inference CLI

Command-line interface for Onde Inference.

[Website] [App Store] [npm] [PyPI] [pub.dev] [NuGet] [Crates.io]

Swift · Flutter · React Native · Rust · Website


Manage your Onde Inference account, fine-tune local models, and export them to GGUF, all from the terminal.

Install

Install onde-cli with your favorite tool. For package docs and the full install matrix, see https://ondeinference.com/cli.

npm

sh
npm install -g @ondeinference/cli

Homebrew

sh
brew tap ondeinference/homebrew-tap && brew trust --tap ondeinference/homebrew-tapbrew install onde

pip / uv / uvx

sh
pip install onde-cli# oruv tool install onde-cliuv run onde --tui# or withuvx --from onde-cli onde --tui

.NET tool

sh
dotnet tool install --global Onde.Cli

Dart pub global

sh
dart pub global activate onde_cli

The Dart package is a thin launcher. On first run it downloads the right native binary into ~/.onde/cli, then reuses the local copy.

Pre-built binary

Download a release from GitHub Releases:

sh
# macOS Apple Siliconcurl -Lo onde https://github.com/ondeinference/onde-cli/releases/latest/download/onde-macos-arm64chmod +x onde && mv onde /usr/local/bin/onde
PlatformFile
macOS Apple Silicononde-macos-arm64
macOS Intelonde-macos-amd64
Linux x64onde-linux-amd64
Linux arm64onde-linux-arm64
Windows x64onde-win-amd64.exe
Windows arm64onde-win-arm64.exe

Usage

sh
onde --tui

This opens the TUI. Plain onde prints usage and exits. You can sign up or sign in right there.

KeyWhat it does
TabMove between fields
EnterSubmit or sign out
Ctrl+LGo to the sign-in screen
Ctrl+NGo to the new account screen
Ctrl+CQuit

MCP server

Run onde as a Model Context Protocol server over stdio instead of the TUI:

sh
onde --mcp

This exposes Onde account and model-catalog operations as MCP tools — login, me, apps_list, app_create, app_rename, models_list, model_register, model_assign, hf_search — returning structured JSON. stdout is the JSON-RPC channel; tools run non-interactively and reuse the token from a TUI sign-in (or the login tool). Point any MCP client at the command onde --mcp.


Fine-tuning

onde includes a LoRA fine-tuning pipeline for Qwen2, Qwen2.5, and Qwen3 models. It runs locally: Metal on Apple Silicon, CPU elsewhere. No cloud setup. No Python environment.

The flow is straightforward: download a safetensors base model, fine-tune it with LoRA, merge the adapter back into the base weights, then export to GGUF for use in the Onde SDK.

If you want a quick refresher on what the model is actually doing at inference time, Onde has a short note on the forward pass.

Training data format

Each line should be one complete conversation in Qwen's chat template:

jsonl
{"text": "<|im_start|>system\nYou are a helpful assistant.<|im_end|>\n<|im_start|>user\nWhat is LoRA?<|im_end|>\n<|im_start|>assistant\nLoRA adds small trainable matrices to frozen layers, letting you fine-tune large models without updating all the weights.<|im_end|>"}

Save the file wherever you want. The TUI lets you point to it directly.

Running it

onde --tui  → Models tab (Tab from Apps)  → Select a safetensors model (↑↓, Enter)  → Press f

Only safetensors models can be fine-tuned. GGUF models are already quantized, so their weights are not differentiable.

Configure the run:

FieldDefaultNotes
Training data~/.onde/finetune/train.jsonlPath to your JSONL file
LoRA rank8Higher means more capacity and more memory use
Epochs3Full passes over the dataset
Learning rate0.0001AdamW default

Press Enter to start. In a healthy run, loss usually starts dropping by epoch 2. If it stays flat, try 0.0003.

After training

For rank 8 on a 0.6B model, the adapter is about 1.5 MB. From the fine-tune complete screen:

  • m to merge the adapter into the base model
  • g to export the merged model to GGUF

The resulting GGUF loads directly in the Onde SDK for on-device AI inference.

Supported base models

ModelSizeNotes
Qwen/Qwen3-0.6B~1.2 GBSmallest and quickest to train
Qwen/Qwen2.5-1.5B-Instruct~3.0 GBGood default for instruction tuning
Qwen/Qwen3-1.7B~3.4 GBNewer small Qwen3 model
Qwen/Qwen3-4B~8.0 GBBest quality, better suited to macOS

You can search for any of these from the Models tab with /.


Debug

Logs are written to ~/.cache/onde/debug.log.

If you installed through pub.dev, the launcher cache lives under ~/.onde/cli.


License

Dual-licensed under MIT and Apache 2.0.

Copyright

© 2026 Splitfire AB (Onde Inference).

來源:README.md,提交 be1e376

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.4.1最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分