simonw/llm
View on GitHub ↗ ★ 12,691 Python
Access large language models from the command-line
78 mentions on Hacker News by 53 people: 8 stories, 70 comments · first 2023-05-19 · latest 2026-08-05
20082026
-
…my three main open source projects: https://github.com/simonw/datasette/graphs/code-frequency https://github.com/simonw/llm/graphs/code-frequency https://github.com/simonw/sqlite-utils/graphs/code-frequency
comment by simonw · 2026-08-05 · in Eight Myths on Software Engineering and GenAI -
…found a simple issue in one of my projects with FOUR agent-generated PRs all posing a fix for it: https://github.com/simonw/llm/issues/1466
comment by simonw · 2026-07-30 · in GCC steering committee announces AI policy -
isn't that what Simon Willison's `llm` does? edit: [link]( https://github.com/simonw/llm )
comment by niobe · 2026-02-03 · in The Codex App -
▲ 1
Show HN: GenAI Prompts as "Native" Programsstory by tgalal · 2026-01-21 · 0 comments
-
When I'm writing a script that requires some kind of call to an LLM, I use this: https://github.com/simonw/llm . This is of course cross-platform and works with both models accessible through an API and local ones. I'm afraid this might…
comment by lcian · 2026-01-10 · in Ask HN: What's a standard way for apps to request text completion as a service? -
Yes, I use simonw's `llm` for that: https://github.com/simonw/llm Example: $ man tar | llm "how do I extract test.txt from a tar.gz"
comment by mr_mitm · 2025-12-22 · in A guide to local coding models -
…issue about that here - it's something I'm stewing on but will take quite some work to get right: https://github.com/simonw/llm/issues/1314 I've been spending more of my time focusing on other projects which make use of LLM, in particular…
comment by simonw · 2025-12-13 · in OpenAI are quietly adopting skills, now available in ChatGPT and Codex CLI -
He made it: https://github.com/simonw/llm
comment by fauigerzigerk · 2025-12-09 · in Mistral releases Devstral2 and Mistral Vibe CLI -
…it to Simon Willison's `llm` tool. https://gist.github.com/abdusco/118a6a3ab41a0a1d2a5f8813f789... https://github.com/simonw/llm > youtube_transcript.py 'https://www.youtube.com/watch?v=DAX2_mPr9W8' | llm 'give me keypoints, ignore…
comment by hebelehubele · 2025-11-07 · in I was right about dishwasher pods and now I can prove it [video] -
…loop and branch and combine them with other functions. [0] https://github.com/dave1010/hubcap [1] https://github.com/simonw/llm
comment by dave1010uk · 2025-11-06 · in You should write an agent -
https://github.com/simonw/llm proposes some hints to run in local
comment by psychoslave · 2025-11-06 · in Show HN: qqqa – A fast, stateless LLM-powered assistant for your shell -
There is also the llm tool written by simonwillison: https://github.com/simonw/llm I personally use "claude -p" for this
comment by kissgyorgy · 2025-11-06 · in Show HN: qqqa – A fast, stateless LLM-powered assistant for your shell -
…ask. I don't though, so I asked it at a higher level: Claude, add tree-structured conversations to https://github.com/simonw/llm . Claude responded with a whole design doc, starting with database schema change (using the same column name…
comment by fragmede · 2025-09-30 · in Claude Sonnet 4.5 -
…for creating code/documents I have web_search and web_fetch The user wants me to: Checkout https://github.com/simonw/llm Run pip install -e '.[test]' Run pytest But I don't have a tool that can: Clone git repositories Run shell commands…
comment by icelancer · 2025-09-29 · in Claude Sonnet 4.5 -
…its brand new Python/Node.js code interpreter mode. Try this prompt and see what happens: Checkout https://github.com/simonw/llm and run the tests with pip install -e '.[test]' pytest I then had it iterate on a pretty complex database…
comment by simonw · 2025-09-29 · in Claude Sonnet 4.5 -
…been using LLM-assistance for my larger open source projects - https://github.com/simonw/datasette https://github.com/simonw/llm and https://github.com/simonw/sqlite-utils - for a couple of years now. Also literally hundreds of smaller…
comment by simonw · 2025-08-10 · in The current state of LLM-driven development -
▲ 11
What's your favorite CLI tool for integrating LLMs into your terminal workflow?story by menisadi · 2025-08-10 · 8 comments
-
Working on that now! https://github.com/simonw/llm/issues/1229
comment by simonw · 2025-08-07 · in GPT-5: Key characteristics, pricing and system card -
…myself why I wouldn't just write this in my own way, but admittedly it can be fun. Something like https://github.com/simonw/llm seems way more intuitive (to me) [0]: https://github.com/mark3labs/mcp-go
comment by TechDebtDevin · 2025-08-07 · in An LLM does not need to understand MCP -
How does this differ from this project? https://github.com/simonw/llm
comment by pglevy · 2025-07-22 · in Show HN: Any-LLM – Lightweight router to access any LLM Provider -
…`mods` for this https://github.com/charmbracelet/mods other people use simon willison's `llm` tool https://github.com/simonw/llm Both allow you to switch between models, send short prompts from a CLI, optionally attach some context. I…
comment by peterldowns · 2025-06-25 · in Gemini CLI -
Tip: You might want to use `uv tool install llm --with llm-ollama`. ref: https://github.com/simonw/llm/issues/575
comment by usagisushi · 2025-06-25 · in Web Translator API -
…by simply specifying their latest fancy new model. [1]: https://github.com/baalimago/clai [2]: https://github.com/simonw/llm
comment by baalimago · 2025-06-25 · in Gemini CLI: your open-source AI agent -
…into a shell environment. Check out examples like piping context into and out of the `llm` command. https://github.com/simonw/llm
comment by knowaveragejoe · 2025-06-24 · in MCP is eating the world -
simonw/llm is a CLI for LLMs: https://github.com/simonw/llm `llm --help`: https://llm.datasette.io/en/stable/help.html#llm-help simonw/llm plugin directory: https://llm.datasette.io/en/stable/plugins/directory.html#pl... From…
comment by westurner · 2025-06-18 · in Show HN: Trieve CLI – Terminal-based LLM agent loop with search tool for PDFs -
https://github.com/simonw/llm
comment by mavhc · 2025-06-17 · in Claude Code feels like magic because it is iterative -
…tool, which is possible in Python but a bit messy. I have an open issue to make that better here: https://github.com/simonw/llm/issues/1111
comment by simonw · 2025-05-28 · in Show HN: My LLM CLI tool can run tools now, from Python code or plugins -
…problems in the past where plugins with expensive imports (like torch) slow everything down a lot: https://github.com/simonw/llm/issues/949 I'm interested in tracking down the worst offenders and encouraging them to move to lazy imports…
comment by simonw · 2025-05-28 · in Show HN: My LLM CLI tool can run tools now, from Python code or plugins -
…a plugin hook that lets plugins take over the display of content by the tool. Just filed an issue: https://github.com/simonw/llm/issues/1112 Would love to get your feedback on it, I included a few design options but none of them feel 100%…
comment by simonw · 2025-05-27 · in Show HN: My LLM CLI tool can run tools now, from Python code or plugins -
…renderer I wrote just for this tool: https://github.com/day50-dev/Streamdown More background: https://github.com/simonw/llm/issues/12 (Also check out https://github.com/day50-dev/llmehelp which features a tmux tool I built on top of…
comment by kristopolous · 2025-05-27 · in Show HN: My LLM CLI tool can run tools now, from Python code or plugins -
…all of your installed plugins and then re-installing any that go missing - issue for that is here: https://github.com/simonw/llm/issues/575
comment by simonw · 2025-05-27 · in Show HN: My LLM CLI tool can run tools now, from Python code or plugins -
"don't actually do anything with this stuff" - https://github.com/simonw/llm/compare/0.25...0.26 138 commits to implement this new feature.
comment by simonw · 2025-05-27 · in Show HN: My LLM CLI tool can run tools now, from Python code or plugins -
You can probably achieve what you want with https://github.com/simonw/llm and a little bit of command line. Not sure what OS you're on, but in Windows it might look like this: FOR %%F IN (*.txt) DO (TYPE "%%F" | llm -s "execute this…
comment by xnx · 2025-05-01 · in Claude Integrations -
Could you maybe make use of Simon Willsons [LLM lib/app]( https://github.com/simonw/llm )? It has great LLM support (just pass in the model to use) and records everything by default.
comment by tidbeck · 2025-05-01 · in Running Qwen3 on your macbook, using MLX, to vibe code for free -
…to a codebase. Here's a recent example - 51 comments and they were almost all me talking to myself https://github.com/simonw/llm/issues/617
comment by simonw · 2025-04-14 · in Engineers who won't commit -
…to Responses in order to support this. Could take me a while to add support for it to my LLM tool: https://github.com/simonw/llm/issues/839
comment by simonw · 2025-03-19 · in OpenAI's o1-pro now available via API -
I feel like the incumbent for running llm prompts, including locally, on the cli is llm: https://github.com/simonw/llm?tab=readme-ov-file#installing-... How does this compare?
comment by TheDong · 2025-03-03 · in Show HN: Prompting LLMs in Bash scripts -
https://github.com/simonw/llm It is linked to in the article - a brilliant utility from Simon.
comment by nickrj · 2025-02-19 · in My LLM codegen workflow -
▲ 2
Show HN: Repo-guide – AI-generated docs for codebase exploration and onboardingstory by wolfmanstout · 2025-02-18 · 0 comments
-
…a lot of this stuff - there's a commandline tool as well * usable cli ai setup: simonw's llm ( https://github.com/simonw/llm ) + openrouter ( https://github.com/simonw/llm-openrouter ) + free models ( https://openrouter.ai/models?max_price=…
comment by kristopolous · 2025-02-09 · in Some terminal frustrations -
…and a walrus' \ -o reasoning_effort high Output (comparing that with the default reasoning effort): https://github.com/simonw/llm/issues/728#issuecomment-262832... (If anyone has a better demo prompt I'd love to hear about it)
comment by simonw · 2025-01-31 · in OpenAI O3-Mini -
▲ 2
LLM: Access large language models from the command-linestory by thunderbong · 2025-01-23 · 0 comments
-
…a few of my projects and it's fantastic - https://llm.datasette.io for example uses MyST Markdown: https://github.com/simonw/llm/tree/main/docs
comment by simonw · 2025-01-05 · in Myst Markdown – Markdown for technical/scientific document -
…There's also Simon Wilson's llm cli: https://llm.datasette.io/en/stable/ https://github.com/simonw/llm Both might help getting started with some LLM experiments.
comment by e12e · 2024-11-30 · in Llama.cpp guide – Running LLMs locally on any hardware, from scratch -
…\ uv run jupyter notebook (Which inspired me to add a new LLM feature: llm keys get openai - https://github.com/simonw/llm/issues/623 )
comment by simonw · 2024-11-11 · in TinyTroupe, a new LLM-powered multiagent persona simulation Python library -
…directly [2]. Etc, etc. -- 1: https://github.com/Aider-AI/aider/blob/e76704e261647348fd7c1... 2: https://github.com/simonw/llm/blob/d654c9521235a737e59a4f1d7...
comment by emmanueloga_ · 2024-10-19 · in Ask HN: What are some good APIs to interact with large language models? -
https://github.com/simonw/llm
comment by vismit2000 · 2024-10-19 · in Ask HN: What are some good APIs to interact with large language models? -
…[1], he uses GitHub CoPilot [2]. - (a few more golden nuggets but I can't recall them all) [1] https://github.com/simonw/llm [2] A tip he gives is because CoPilot 'sees' what's in the current file, you can copy/paste relevant code from…
comment by nomilk · 2024-10-07 · in AI tools for software engineers, but without the hype – with Simon Willison [video] -
…-- I know Simon and the community are mainly noodling over the best command line UX for that: https://github.com/simonw/llm/issues/331
comment by dannyobrien · 2024-09-26 · in Llama 3.2: Revolutionizing edge AI and vision with open, customizable models