llm
CLICLI tool and Python library for interacting with LLMs.
0 views
Installation
pip
pip install llmHomebrew
brew install llmLinks
License
Apache-2.0AI Agent Notes
Universal CLI for LLMs — supports OpenAI, Anthropic, Ollama, and plugins
When to use
Quick LLM queries from the terminal, piping text to AI
Examples
llm 'Explain this error' < error.logcat README.md | llm 'Summarize in 3 bullets'llm logs # view conversation history
Proven Recipes
Ask a quick question🟢 98% success
llm 'What is the capital of France?'Pipe file content to LLM🟢 96% success
cat error.log | llm 'What is causing this error?'Use a specific model🟢 95% success
llm -m claude-3-5-sonnet 'Explain this code' < main.py