Description:
Access large language models from the command-line
|
|
Type: Formula
|
Tracked Since: Dec 28, 2025
|
|
Links:
Homepage |
formulae.brew.sh
|
|
Category: Ai ml
|
|
Tags:
ai
llm
cli
openai
anthropic
automation
|
|
Install:
brew install llm
|
About:
LLM is a command-line tool and Python library for interacting with large language models. It allows you to prompt models, store conversations, and manage prompts and templates directly from your terminal. Its main value is providing a unified, scriptable interface to various AI providers.
|
Key Features:
- Support for multiple AI providers (OpenAI, Anthropic, Gemini, local models)
- Store and replay conversation threads
- Define and use reusable prompt templates
- Python library for integrating LLMs into your own applications
|
Use Cases:
- Quickly testing prompts across different models from the terminal
- Automating content generation or data extraction via shell scripts
- Building simple RAG (Retrieval-Augmented Generation) workflows with plugins
|
Alternatives:
-
OpenAI CLI
– LLM is provider-agnostic, whereas OpenAI CLI is specific to OpenAI models.
-
curl
– LLM handles authentication, streaming, and response parsing automatically.
|
| Detected |
Version |
Rev |
Change |
Commit |
| Sep 16, 2025 7:04am |
|
0 |
VERSION_BUMP |
cc48b45f |
| Nov 17, 2024 10:35pm |
|
0 |
VERSION_BUMP |
25c6b876 |
| Nov 17, 2024 9:49pm |
|
0 |
VERSION_BUMP |
9d1d9062 |
| Oct 29, 2024 3:53am |
|
0 |
VERSION_BUMP |
d15b7346 |
| Oct 12, 2024 10:10pm |
|
0 |
VERSION_BUMP |
51396377 |
| Sep 13, 2024 2:58am |
|
0 |
VERSION_BUMP |
a20b12a1 |
| Sep 11, 2024 2:02am |
|
0 |
VERSION_BUMP |
c418d1d9 |
| May 4, 2024 8:12am |
|
2 |
VERSION_BUMP |
27f19aec |
| Jan 26, 2024 10:36pm |
|
0 |
VERSION_BUMP |
a4b939c8 |
| Nov 20, 2023 7:11pm |
|
0 |
VERSION_BUMP |
be5cfaa8 |
| Oct 17, 2023 11:47pm |
|
1 |
VERSION_BUMP |
f47f26e7 |
| Oct 6, 2023 3:08am |
|
0 |
VERSION_BUMP |
8057a32b |
| Oct 5, 2023 11:34pm |
|
0 |
VERSION_BUMP |
c29f341e |
| Sep 4, 2023 2:32pm |
|
0 |
VERSION_BUMP |
66cc92d8 |
| Sep 1, 2023 7:25am |
|
0 |
VERSION_BUMP |
e9c6d4af |
| Sep 1, 2023 12:13am |
|
0 |
VERSION_BUMP |
b664fb52 |
| Aug 19, 2023 5:39pm |
|
0 |
VERSION_BUMP |
b4481b57 |
|