{"data":{"slug":"simonw-llm","name":"llm","tagline":"Access large language models from the command-line","github_url":"https://github.com/simonw/llm","owner":"simonw","repo":"llm","owner_avatar_url":"https://avatars.githubusercontent.com/u/9599?v=4","primary_language":"Python","stars":12172,"forks":920,"topics":["ai","llms","openai"],"archived":false,"github_pushed_at":"2026-07-09T16:07:53+00:00","maintenance_label":"Very active","url":"https://www.graphcanon.com/tools/simonw-llm","markdown_url":"https://www.graphcanon.com/tools/simonw-llm.md","api_url":"https://www.graphcanon.com/api/graphcanon/tools/simonw-llm","graph_url":"https://www.graphcanon.com/api/graphcanon/graph?tool=simonw-llm","description":"Access large language models from the command-line","homepage_url":"https://llm.datasette.io","license":"Apache-2.0","open_issues":645,"watchers":65,"ai_summary":"A tool to interact with large language models via the command line, supporting multiple installation methods and OpenAI API integration.","readme_excerpt":"## Quick start\n\nFirst, install LLM using `pip` or Homebrew or `pipx` or `uv`:\n\n```bash\npip install llm\n```\n\nOr with Homebrew (see [warning note](https://llm.datasette.io/en/stable/setup.html#homebrew-warning)):\n\n```bash\nbrew install llm\n```\n\nOr with [pipx](https://pypa.github.io/pipx/):\n\n```bash\npipx install llm\n```\n\nOr with [uv](https://docs.astral.sh/uv/guides/tools/)\n\n```bash\nuv tool install llm\n```\n\nIf you have an [OpenAI API key](https://platform.openai.com/api-keys) key you can run this:\n\n```bash\n\n---\n\n# Install the plugin\nllm install llm-ollama","github_created_at":"2023-04-01T21:16:57+00:00","created_at":"2026-07-11T10:41:45.362266+00:00","updated_at":"2026-07-11T22:35:04.243889+00:00","categories":[{"slug":"llm-frameworks","name":"LLM Frameworks","url":"https://www.graphcanon.com/categories/llm-frameworks","markdown_url":"https://www.graphcanon.com/categories/llm-frameworks.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/llm-frameworks"},{"slug":"inference-serving","name":"Inference & Serving","url":"https://www.graphcanon.com/categories/inference-serving","markdown_url":"https://www.graphcanon.com/categories/inference-serving.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/inference-serving"}],"tags":[{"slug":"llms","name":"llms"},{"slug":"ai","name":"ai"},{"slug":"openai","name":"openai"}],"trust":{"provenance":{"is_fork":false,"github_id":622352364,"owner_type":"User","methodology":"github_public_v1","parent_repo":null,"near_duplicate_slugs":[]},"computed_at":"2026-07-11T10:41:45.988Z","maintenance":{"label":"Very active","score":96,"methodology":"github_public_v1","releases_90d":6,"days_since_push":1,"last_release_at":"2026-07-09T16:06:15Z"},"security_summary":{"status":"no_lockfile","scanner":null,"low_count":0,"high_count":0,"last_scan_at":"2026-07-11T10:41:50.803Z","medium_count":0,"scan_profile":"none","critical_count":0}},"capability_facts":{"scan":{"source":"repo_scan","observed_at":"2026-07-11T15:31:29.737Z"},"has_cli":{"value":true,"source":"pyproject.toml:[project.scripts]","observed_at":"2026-07-11T15:31:29.737Z"},"languages":{"value":["python"],"source":"github.language+pyproject.toml","observed_at":"2026-07-11T15:31:29.737Z"},"license_spdx":{"value":"Apache-2.0","source":"github.license","observed_at":"2026-07-11T15:31:29.737Z"}},"decision_facts":{"hosting":null,"pricing":null,"requirements":{"notes":["- Installation supports multiple methods including `pip`, Homebrew (with caveats noted), `pipx`, and `uv`.","- Requires an OpenAI API key for certain functionalities."]},"constraints":null,"when_to_use":["- You prioritize command-line interaction over graphical interfaces, as llm is designed to provide a seamless CLI experience with multiple installation methods.","- You are developing applications that require integration with large language models via the OpenAI API and prefer not to handle authentication and API requests manually."],"when_not_to_use":["- If you require real-time visual feedback or a graphical interface for interacting with language models, as llm is strictly command-line-based.","- If your primary focus is on model training rather than inference or serving, since llm is aimed at accessing and using pre-trained models."],"source":"enrich:decision_facts","observed_at":"2026-07-11T15:31:55.299Z"},"constraint_facets":null,"decision_summary":[{"label":"Requirements","value":"- Installation supports multiple methods including `pip`, Homebrew (with caveats noted), `pipx`, and `uv`.; - Requires an OpenAI API key for certain functionalities."},{"label":"Adopt for","value":"Decision-critical facts for 'llm'"},{"label":"License detail","value":"Apache-2.0"}]}}