Skip to content

dale 1.0.0

Choose a tag to compare

@manuelgscom manuelgscom released this 24 Oct 13:08
· 9 commits to main since this release

dale 1.0.0

Natural language to Linux commands. 100% offline. One native binary.

This is the first public release of dale.

$ dale "find the files over 200 MB in this folder"

  ❯ find . -type f -size +200M -exec ls -lh {} +
    Recursively finds files larger than 200 MB in the current
    directory and lists them with human-readable sizes.

  ● safe  ·  Run it? [Y/n/e(dit)/c(opy)]

dale turns a request in English or Spanish into one bash command and explains it. A deterministic risk verifier written in C++ rates every command as safe, caution or danger, and the command runs only if you confirm. Dangerous commands run only after you type run (ejecutar in Spanish). Three modes: suggest (never runs), confirm (the default) and auto (runs safe commands directly, asks for everything else).

Everything happens on your machine: after the model download there are no network requests, no accounts and no telemetry.

Install

curl -LO https://github.com/manuelgscom/dale/releases/download/v1.0.0/dale-linux-x86_64
curl -LO https://github.com/manuelgscom/dale/releases/download/v1.0.0/SHA256SUMS
sha256sum -c --ignore-missing SHA256SUMS     # must print: dale-linux-x86_64: OK
chmod +x dale-linux-x86_64 && mkdir -p ~/.local/bin && mv dale-linux-x86_64 ~/.local/bin/dale
dale "list the files bigger than 200 MB"

If you get dale: command not found, open a new terminal, or add ~/.local/bin to your PATH. The README has step-by-step instructions, including how to build from source.

Requirements

  • Linux on x86_64 with AVX2.
  • glibc 2.29 or later.
  • curl or wget for the first model download.
  • No GPU needed. On Windows, use it through WSL 2.

The model

manuelgscom/dale-0.8b-GGUF is a full fine-tune of Qwen3.5-0.8B, quantized to Q4_K_M (529 MB).

  • On first use, dale asks before downloading it.
  • It verifies its SHA-256 (8738d2535680cf7b8227001013a0ba6e6b2a4c8e8f3d149fd181c17cb96e2d3d) and stores it in ~/.local/share/dale/models/ (or $XDG_DATA_HOME/dale/models/).
  • The download URL is pinned to a fixed revision and compiled into the binary.
  • After that, dale makes no network requests at all.
  • To use a local GGUF file instead: dale --model PATH <request…>.

Accuracy and speed

  • 79.4 % (374/471) on the public test set manuelgscom/dale-bash-test-v2, versus 62.8 % for Qwen3.5-9B and Gemma 4 E4B-it without fine-tuning.
  • 0 invalid JSON answers, and all 101 out-of-scope requests correctly refused.
  • About 1.7 s median per request on a mid-range 2020 laptop CPU (4 cores / 8 threads), with no GPU.

The model card describes the methodology in detail.

Release assets

File Description
dale-linux-x86_64 The binary. Static C++ runtime, depends only on glibc. SHA-256 3885ca552b2a3947af3c30cc95392c94d2064bce22cf01661994587dffa5a056
SHA256SUMS Checksums of the binary and the model
THIRD_PARTY_NOTICES Licenses of the code built into the binary

Limitations

  • bash on Linux only. No zsh, fish or macOS for now.
  • The model is wrong in about 1 of 5 cases on the test set, and a wrong command can look plausible. Always read the command before running it.
  • dale is not a security tool. Its safety comes from the deterministic verifier and the confirmations, not from the model.
  • Requests are capped in length: very long requests are rejected.

License

  • Code: MIT.
  • Model: Apache-2.0, the same license as its base model.
  • llama.cpp/ggml, nlohmann/json and the GCC runtime (under the GCC Runtime Library Exception) are built into the binary; see THIRD_PARTY_NOTICES.

Author: Manuel García Sanz