macOS
brew install cailocal Homebrew formula metadata
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für cai in AI-Agent-Workflows.
Installation
brew install cailocal Homebrew formula metadata
Überblick
CLI tool for prompting LLMs
Verlauf
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.
Sicherheitslage
narrow executable package without higher-risk signals.
grün Risiko · niedrig Konfidenz · appliance
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
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
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
cai | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
Installationsmetadaten
| Paketschlüssel | brew:cai |
|---|---|
| Version | 0.13.0 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/cai |
| Homepage | https://github.com/ad-si/cai |
| Repository | https://github.com/ad-si/cai |
| Upstream-Dokumentation | https://github.com/ad-si/cai#readme |
| Lizenz | ISC |
| Quellarchiv | https://github.com/ad-si/cai/archive/refs/tags/v0.13.0.tar.gz |
| Build-Abhängigkeiten | pkgconf, rust |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| 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 |
|
Quellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.