News for hackers. Stuff that matters.
Re:Show HN: Ell – A command-line interface for LLMs written ... by skruzel on Friday August 02, 2024 @10:28AM (#41139049)
I also have a similar tool called https://autocomplete.sh https://github.com/closedloop-technologies/autocomplete-sh

I really just wanted the feeling of tab-based auto-complete to just work in the terminal.

It turns out that getting the LLM responses to 'play nice' with the expected format for bash_completion was a bit of a challenge, but once that worked, I could wrap all the LLMS (OpenAI, grok, Claude, local ones like Ollama)

I also put some additional info in the context window to make it smarter: a password-sanitized recent history, which environmental variables are set, and data from `--help` of relevant commands.

I've just started to promote it around the Boston area and people seem to enjoy it.

Re:Show HN: Ell – A command-line interface for LLMs written ... by simonmysun on Friday August 02, 2024 @12:10PM (#41140038)
Wow that's very useful! I have also thought of completion but my idea was more like copilot. The user experience fo your script should be better. I'm glad I didn't start to write that.

Regarding history in context, I suggest adding a record mode like ell. This really helps.

Password sanitizer is great. I will also add it as a plugin. Thank you for the idea!

Re:Show HN: Ell – A command-line interface for LLMs written ... by skruzel on Friday August 02, 2024 @01:43PM (#41140903)
Thanks for checking it out and the record mode is a great idea. I've been playing around with ways to get the terminal outputs but so far I haven't loved the UX of my solutions. Your co-pilot approach that can explain the commands and iterate is really valuable.

If you're open to joining, I have a small AI engineer/ open source dev Slack community in Boston. Id love to have you (https://smaht.ai)

Re:Show HN: Ell – A command-line interface for LLMs written ... by simonmysun on Friday August 02, 2024 @02:23PM (#41141248)
I am open to join any community. As long as you don't mind the fact that I'm not in Bosten, why not? I have just submitted on your google form. Thanks for inviting!
Re:Show HN: Ell – A command-line interface for LLMs written ... by stared on Friday August 02, 2024 @11:22AM (#41139588)
Looks interesting!

Does it work with the Fish shell? And, in case, how do I update or uninstall it?

Re:Show HN: Ell – A command-line interface for LLMs written ... by skruzel on Friday August 02, 2024 @01:46PM (#41140934)
`autocomplete remove` will delete it. I haven't tested it in fish / zsh shells.

Now that I have some Mac iOS dev work to do I'll probably build and test it

Re:Show HN: Ell – A command-line interface for LLMs written ... by rancar2 on Friday August 02, 2024 @01:02PM (#41140571)
The demo video is epic. Nicely done! https://youtu.be/IAgkjerCvz8
Re:Show HN: Ell – A command-line interface for LLMs written ... by skruzel on Friday August 02, 2024 @01:44PM (#41140914)
Thank you! It was so much fun to make. And for once my son waking me up at 2am had a positive result!
Re:Show HN: Ell – A command-line interface for LLMs written ... by bitdribble on Friday August 02, 2024 @10:36PM (#41144301)
I've watched autocomplete-sh in action at the AI Tinkerers meetup in Cambridge, MA. Was impressed. It is very well integrated with the shell. The idea of writing it directly in bash - bold! But an effective idea to keep it portable.