simonw/llm
Access large language models from the command-line observed · 2026-08-28
Health v2 · maintenance only
97/100
- Activity 99
- Release rhythm 99
- Longevity 89
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 16.5
- age_days: 1250
- days_rel: 11
- days_push: 11
- n_releases_24m: 25
Adoption not part of the score
12412 stars · 963 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A CLI tool and Python library for running prompts against large language models from OpenAI, Anthropic, Google, and many other providers, including locally installed models. It logs prompts and responses to SQLite, supports embeddings, structured extraction, tool execution, and is extensible via a plugin system.
Use cases
- run llm prompts from the terminal
- chat with gpt or claude from the command line
- query local models like gpt4all from cli
- store llm prompt history in sqlite
- generate text embeddings for a collection of documents
- extract structured from text with an llm
- script llm calls in python
When to choose
- you want a unified CLI over many LLM providers and local models
- you need logged, reproducible prompt/response history
- you want a scriptable Python API plus plugin extensibility
When to avoid
- you need a graphical chat interface
- you need fine-grained training or fine-tuning tooling
- you need a hosted service with team management
Facets
cli-tool · maturity stable
llm-inference cli rag plugin-system sdk large-language-models developer-tools artificial-intelligence cli python cross-platform windows openai anthropic gemini local-models embeddings sqlite-logging prompt-templates command-line macos linux
10 sources
- readme: https://github.com/simonw/llm · fetched 2026-08-28 · 1d074b9673e1
- homepage: https://llm.datasette.io · fetched 2026-08-29 · a3d73bdfeed4
- site_page: https://llm.datasette.io/en/stable/plugins/installing-plugins.html · fetched 2026-08-29 · 8ae93941f771
- registry_pypi: https://pypi.org/pypi/llm/json · fetched 2026-08-29 · 5be25c5bf536
- site_page: https://llm.datasette.io/en/stable/changelog.html · fetched 2026-08-29 · c16533107ea7
- site_page: https://llm.datasette.io/en/stable/setup.html · fetched 2026-08-29 · 283419182f56
- site_page: https://llm.datasette.io/en/stable/openai-models.html · fetched 2026-08-29 · e24a8755e9de
- site_page: https://llm.datasette.io/en/stable/other-models.html · fetched 2026-08-29 · 2e3e2c964df3
- site_page: https://llm.datasette.io/en/stable/plugins/tutorial-model-plugin.html · fetched 2026-08-29 · 5011db46990b
- site_page: https://llm.datasette.io/en/stable/help.html · fetched 2026-08-29 · 75e321d99d93
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| simonw/llm | main | 97 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem