At this point I would have expected something mcp or openapi based but probably is simpler and more flexible this way. Implementing it as plugin shouldn't be hard, I think.
Show HN: My LLM CLI tool can run tools now, from Python code or plugins
111–120 of 178 posts
Re: Show HN: My LLM CLI tool can run tools now, from Python code or plugins
#112Earlier quoted context omitted.
Also I forgot to one other built on llm. This one is a ZSH plugin that uses zle to translate your English to shell commands with a keystroke. https://github.com/day50-dev/Zummoner It's been life changing for me. Here's one I wrote today: $ git find out if abcdefg is a descendent of hijklmnop In fact I used it in one of these comments $ for i in $(seq 1 6); do printf "%${i}sh${i}\n\n-----\n" | tr " " "#"; done | pv -b…
I built a similar one to this one: https://github.com/CGamesPlay/llm-cmd-comp Looks from the demo like mine's a little less automatic and more iterative that yours.
The conversational context is nice. The ongoing command building is convenient and the # syntax carryover makes a lot of sense!
My next step is recursion and composability. I want to be able to do things contextualized. Stuff like this:
$ echo PUBLIC_KEY=(( get the users public key pertaining to the private key for this repo )) >> .env
or some other contextually complex thing that is actually fairly simple, just tedious to code. Then I want that so people collectively program and revise stuff .Then you can do this through composability like so:
with ((find the variable store for this repo by looking in the .gitignore)) as m:
((write in the format of m))SSH_PUBLICKEY=(( get the users public key pertaining to the private key for this repo ))
or even recursively: ((
((
((rsync, rclone, or similar)) with compression
))
$HOME exclude ((find directories with secrets))
((read the backup.md and find the server))
((make sure it goes to the right path))
));
it's not a fully formed syntax yet but then people will be able to do something like: $ llm-compile --format terraform --context my_infra script.llm > some_code.tf
and compile publicly shared snippets as specific to their context and you get abstract infra management at a fractional complexity.It's basically GCC's RTL but for LLMs.
The point of this approach is your building blocks remain fairly atomic simple dumb things that even a 1b model can reliably handle - kinda like the guarantee of the RTL.
Then if you want to move from terraform to opentofu or whatever, who cares ... your stuff is in the llm metalanguage ... it's just a different compile target.
It's kinda like PHP. You just go along like normal and occasionally break form for the special metalanguage whenever your hit a point of contextual variance.
Re: Show HN: My LLM CLI tool can run tools now, from Python code or plugins
#113Earlier quoted context omitted.
They are not. I think it is a good criticism though. Many people seem to be touting productivity that is only in the context of productivity towards more LLM inference operations and not productive in the sense of solving real world computing problems. There is a lot of material that suggests positive results are a kind of wish casting and people are not aware of the agency they are bringing to the interaction. The f…
No one is happy about the need for prompt engineering and other LLM hacks, but part of being a professional in the real world is doing what works.
Re: Show HN: My LLM CLI tool can run tools now, from Python code or plugins
#114Earlier quoted context omitted.
They are not. I think it is a good criticism though. Many people seem to be touting productivity that is only in the context of productivity towards more LLM inference operations and not productive in the sense of solving real world computing problems. There is a lot of material that suggests positive results are a kind of wish casting and people are not aware of the agency they are bringing to the interaction. The f…
The hype: "LLM's will replace all of the coders". The hate: "LLM's can't do anything without hand holding" I think both of these takes a disingenuous. > not productive in the sense of solving real world computing problems. Solving problems is a pretty vague term. > The fact that you can hack things that do cool stuff Lots of times this is how problems actually get solved. I would argue most of the time this is how pr…
Re: Show HN: My LLM CLI tool can run tools now, from Python code or plugins
#115Earlier quoted context omitted.
> The fact that we can use computers to mostly understand human language I agree that'd be amazing if they do that, but they most certainly do not. I think this is the core my disagreement here that you believe this and let this guide you. They don't understand anything and are matching and synthesizing patterns. I can see how that's enthralling like watching a rube goldberg machine go through its paces, but there is…
That's why I said "mostly". I know they're just statistical models, and that having conversations with them is like having a conversation with a stack of dice. But if the simulation is good enough to be useful, the fact that they don't genuinely "understand" doesn't really matter to me. I've had tens of thousands of "conversations" with these things now (I know because I log them all). Whether or not they understand…
Re: Show HN: My LLM CLI tool can run tools now, from Python code or plugins
#116Re: Show HN: My LLM CLI tool can run tools now, from Python code or plugins
#117Re: Show HN: My LLM CLI tool can run tools now, from Python code or plugins
#118This is great! AIUI, llama.cpp does support tools, but I haven't figured out yet what to do to make llm use it. Is there anything I can put into extra-openai-models.yaml to make this work?
... OK, I got the second one working!
brew install llama.cpp
llama-server --jinja -hf unsloth/gemma-3-4b-it-GGUF:Q4_K_XL
Then in another window: llm install llm-llama-server
llm -m llama-server-tools -T llm_time 'what time is it?' --td
Wrote it up here: https://simonwillison.net/2025/May/28/llama-server-tools/Re: Show HN: My LLM CLI tool can run tools now, from Python code or plugins
#119Re: Show HN: My LLM CLI tool can run tools now, from Python code or plugins
#120Earlier quoted context omitted.
Interesting. What do you use it for beyond the normal chatting
I sometimes use llm from the command line, for instance with a fragment, or piping a resource from the web with curl, and then pick up the cid with `llm gtk-chat --cid MYCID`.
The Unix shell is good at being the glue between programs. We've increased the dimensionality with LLMs.
Some kind of ports based system like named pipes with consumers and producers.
Maybe something like gRPC or NATS (https://github.com/nats-io). MQTT might also work. Network transparent would be great.