Sh

Shell-AI, run shell commands with natural language

Hacker News

Shell-AI, run shell commands with natural language

Hello HN! I know this project is a super simple wrapper around LangChain/OpenAI but I just found myself wanting this badly myself: a super simple `pip install` package that I can use to get command suggestions within the terminal as I'm being productive doing other things. Example usage: `shai git diff but without the big json blobs` `shai 'copy everything in data/ via ssh to $SSH_HOST using scp'` The implementation is literally one short glue of LangChain and InquirerPy for interactive CLI. I'm curious which ideas you all have to make this smarter/better. MIT licensed, if you're keen on contributing please feel free to do so. It's a pure hobby project for me. Some key objectives: never automatically run shell code, I want to see what I run before I run it, present me with some alternatives, a simple path to using local models in the future (Llama 2 Code soon?). Will add I was inspired by the great https://github.com/gorilla-llm/gorilla-cli project, but didn't like that it sends the prompt to some IP based endpoint the author presumably runs.

Share card

Actual performance

2points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: model, models, openai · Missing: mac, agents, macos
96%96% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersFits the IH revenue-focused audience · Missing: supports, reddit linkedin, podcasting
79%79% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: llama, ide, io · Missing: https docs, excited, just released
54%54% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
AppSumoStrong fit for a featured deal · Strong signals: host, soon · Missing: plus, platform, intuitive
53%53% predicted probability of success on AppSumo, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Missing: mobile apps, ios, personal
46%46% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Strong signals: active · Missing: arr, mrr, revenue
18%18% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Strong signals: smart · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Incorrect prediction on native model

Similar products

Zs
Zsh-AI – Natural language to shell commands in your terminal31%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Zsh-AI – Natural language to shell commands in your terminal

Hacker News3
Vi
Vibe zsh, turn natural language into shell commands36%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Vibe zsh, turn natural language into shell commands

Hacker News3
Us
Use Natural Language to Run Terminal Commands (Ghost in the Shell)67%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Use Natural Language to Run Terminal Commands (Ghost in the Shell)

Hacker News6
Ho
How to run shell commands with flask43%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

How to run shell commands with flask

Hacker News3
No
Nosh – Fast native shell with built-in AI (natural language commands)55%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Nosh – Fast native shell with built-in AI (natural language commands)

Hacker News2
Ge
Gencmd, an fzf for natural language to bash commands60%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Gencmd, an fzf for natural language to bash commands

Hacker News3
He
Heroshell – Heroku shell to run commands in context of given app46%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Heroshell – Heroku shell to run commands in context of given app

Hacker News4
Py
Pysh – run shell commands in Python56%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Pysh – run shell commands in Python

Hacker News4
AI
AISH, a shell with natural-language ops workflows30%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

AISH, a shell with natural-language ops workflows

Hacker News1
SH
SHML (shell markup language)63%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

SHML (shell markup language)

Hacker News71