Documentation
README
AI / LLM Tools
llm (Simon Willison)
# Quick prompt
llm "What is the capital of France?"
# Pipe text for processing
cat article.txt | llm "Summarize this in 3 bullet points"
git diff | llm "Write a commit message for these changes"
pbpaste | llm "Fix the grammar in this text"
# Interactive chat
llm chat
# Use specific model
llm -m claude-3.5-sonnet "Explain quantum computing"
llm -m gpt-4o "Review this code"
# List available models
llm models
# Install model plugins
llm install llm-claude-3
llm install llm-ollama # local models
# View prompt/response history
llm logs list
llm logs last
aichat
This is the opening of the README. Read the full README on GitHub.