LLM is a Python CLI tool and library by Simon Willison for accessing OpenAI, Anthropic Claude, Google Gemini, Meta Llama, and dozens of other language models from the terminal. It supports API-based and local models via plugins, conversation logging to SQLite, templates, embeddings, and tool use.
36 stars
0 votes
0 copies
1 view
Added June 8, 2026
ai-agentspythongosqlgitapisecurity
Works with
terminal
cli
api
Security analysis
A92/100
mediumInstalls packages at runtime which could introduce malicious dependencies
Installs into .claude/skills of the current project.
Are you the author of Llm Command Line Interface Large Language Models?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/agentskillexchange-llm-command-line-interface-large-language-models)
---
name: "LLM Command-Line Interface for Large Language Models"
slug: "llm-command-line-interface-large-language-models"
description: "LLM is a Python CLI tool and library by Simon Willison for accessing OpenAI, Anthropic Claude, Google Gemini, Meta Llama, and dozens of other language models from the terminal. It supports API-based and local models via plugins, conversation logging to SQLite, templates, embeddings, and tool use."
github_stars: 11508
verification: "security_reviewed"
source: "https://github.com/simonw/llm"
category: "Developer Tools"
framework: "Multi-Framework"
tool_ecosystem:
github_repo: "simonw/llm"
github_stars: 11508
---
# LLM Command-Line Interface for Large Language Models
LLM is a Python CLI tool and library by Simon Willison for accessing OpenAI, Anthropic Claude, Google Gemini, Meta Llama, and dozens of other language models from the terminal. It supports API-based and local models via plugins, conversation logging to SQLite, templates, embeddings, and tool use.
## Installation
Use the upstream install or setup path that matches your environment:
- pip install llm
- brew install llm
- pipx install llm
- uv tool install llm
Requirements and caveats from upstream:
- A CLI tool and Python library for interacting with **OpenAI**, **Anthropic’s Claude**, **Google’s Gemini**, **Meta’s Llama** and dozens of other Large Language Models, both via remote APIs and with models that can be...
- [Using embeddings from Python](https://llm.datasette.io/en/stable/embeddings/python-api.html)
- [Working with collections](https://llm.datasette.io/en/stable/embeddings/python-api.html#working-with-collections)
Basic usage or getting-started notes:
- # Run: sphinx-build -M markdown ./docs ./tmpdir
- subprocess.run([
- [Run prompts from the command-line](https://llm.datasette.io/en/stable/usage.html#usage-executing-prompts)
- Source: https://github.com/simonw/llm
- Extracted from upstream docs: https://raw.githubusercontent.com/simonw/llm/HEAD/README.md
## Source
- [Agent Skill Exchange](https://agentskillexchange.com/skills/llm-command-line-interface-large-language-models/)