Loading video...

Video Failed to Load

Go Home

Never write a single shell command ever again! Today I'm releasing Shell AI ✨, an open source CLI you can `pip install shell-ai` right now to run things like `shai git diff but without the json blobs` MIT licensed. Install, fork, PR & have fun!

197,253 views • 2 years ago •via X (Twitter)

10 Comments

Connor Shorten's profile picture
Connor Shorten2 years ago

Hey Rick! You might be interested in the Gorilla stuff as well - Super exciting ideas here! 😎

Rick Lamers's profile picture
Rick Lamers2 years ago

Gorilla CLI directly inspired this! But what I didn’t like is that it was sending the input to some weird IP endpoint. With LangChain at least you control to which model you send your prompt.

Liran Tal's profile picture
Liran Tal2 years ago

Very cool and am really thankful you went the route of showing suggestions rather than blindly running commands 😅

Rick Lamers's profile picture
Rick Lamers2 years ago

Haha yeah that would have been very dangerous

Shroominic's profile picture
Shroominic2 years ago

Saw something similar before but yours looks way better - installed - thanks!

NATARAJAN MUTHU | LONDON's profile picture
NATARAJAN MUTHU | LONDON2 years ago

Magic here “ """You are an expert at using shell commands. Only provide a single executable line of shell code as output. Never output any text before or after the shell code, as the output will be directly executed in a shell. You're allowed to chain commands like `ls | grep .tx

Rick Lamers's profile picture
Rick Lamers2 years ago

Question for you! How can the system prompt be changed to improve the quality of the suggested shell commands?

Albert Renshaw • e/acc's profile picture
Albert Renshaw • e/acc2 years ago

*Me, wanting to modify an open source project called “bomb” “shai fork bomb”

Tony Lewis's profile picture
Tony Lewis2 years ago

Possibly dangerous? Typo leads to accidental deletions?

Rick Lamers's profile picture
Rick Lamers2 years ago

Using the terminal is inherently a bit risky, `rm -rf /somefile` vs `rm -rf / somefile`. It will never execute a shell command automatically. But yes, diligently operate :)

Related Videos