macOS
brew install cailocal Homebrew formula metadata
brew / rank 6498
CLI tool for prompting LLMs. Version 0.13.0 via Homebrew; verified from local package data. Also installable with nix: nix profile install nixpkgs#cai.
install
brew install cailocal Homebrew formula metadata
nix profile install nixpkgs#cainixpkgs package indexes · pkgs/by-name/ca/cai/package.nix · source: api.github.com
overview
CLI tool for prompting LLMs
history
cai is a Rust CLI for running LLM, image, OCR, speech, coding-context, and automation prompts from the terminal.
The public repository was created on 2024-03-28 and the changelog marks 0.1.0 as the initial release on the same date. Early releases added provider subcommands, proper clap-based argument handling, local Ollama support, stdin prompt input, Anthropic support, multi-model prompting through cai all, and markdown syntax highlighting.
Through 2024 and 2025 cai expanded from a simple prompt CLI into a multi-provider terminal assistant, adding JSON output, raw output, OCR, file renaming, changelog generation, programming-language context commands, DeepSeek, Cerebras, xAI, Google Gemini, image generation, transcription, rewrite, and shell-adjacent helper commands.
cai belongs to the wave of post-ChatGPT command-line LLM clients. Its official README positions it as a user-friendly CLI with providers including Anthropic, OpenAI, Google, Groq, Cerebras, DeepSeek, xAI, Ollama, and Llamafile, and it is distributed through Cargo and Homebrew.
Typical usage is short natural-language prompts, stdin pipelines, provider-specific model shortcuts, simultaneous prompting across providers, OCR, image generation, shell command generation, database querying, and coding-context prompts. The README documents API key setup on first run and support for local LLM servers.
cai is a good snapshot of how AI tooling entered package managers: a fast-moving Rust CLI that maps commercial and local model providers into Unix-style commands, stdin/stdout workflows, and package-manager installation.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
$XDG_CONFIG_HOME/cai/config.yaml~/.config/cai/config.yamlCredential-bearing paths to review before unattended agent runs.
$XDG_CONFIG_HOME/cai/secrets.yaml~/.config/cai/secrets.yamlexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
cai | executable | indexed executable | Discovered from the local executable index. |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:cai |
|---|---|
| Version | 0.13.0 |
| Package manager | Homebrew |
| Homepage | https://github.com/ad-si/cai |
| Repository | https://github.com/ad-si/cai |
| Bottle | not recorded |
| Service | none declared |
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
cai
nix profile install nixpkgs#caisource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.