macOS
brew install cailocal Homebrew formula metadata
brew
CLI tool for prompting LLMs. Version 0.13.0 via Homebrew; verified from local package data.
install
brew install cailocal Homebrew formula metadata
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 | cli | global executable |
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 |
| Package manager page | https://formulae.brew.sh/formula/cai |
| Homepage | https://github.com/ad-si/cai |
| Repository | https://github.com/ad-si/cai |
| Upstream docs | https://github.com/ad-si/cai#readme |
| License | ISC |
| Source archive | https://github.com/ad-si/cai/archive/refs/tags/v0.13.0.tar.gz |
| Build dependencies | pkgconf, rust |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | cai |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source 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.