AI-Shell

AI-Shell Used AI

16 devlogs
69h 44m
Created by Matthy

--- ABOUT ---

An agentic AI terminal. It can automate / do everything, that you could do with a terminal.
(Demo video on GitHub!)

--- EXAMPLE ---

> Create a new Git repository here and add a standard .gitignore file for a godot 4 project. Also, create the skeleton of the project with folders for everything that a 2d multiplayer rouge-like needs.

The AI will then first ask what the project name should be, then use the `git` command to create the github repo, and create the .gitignore file, then use `mkdir` to create all needed folders. When finished, it will provide a complete summary of everything that it has done.

You don't need to worry about any unwanted commands, as it will ask for permission before executing any command. If you find it wrong, you can decline it, and tell it why you declined it to guide it onto the right path.

-- FEATURES ---

- Autonomous command execution step by step
- Web search for gathering recent information (through Tavily)
- Conversation management, and auto saving of current conversation upon interruption
- Incognito mode, that runs local model, and doesn't save conversations (for something like ethical hacking, which most models would refuse to do)
- Compatible with any openAI API compatible model and provider (OpenRouter recommended)
- Both AI requests and direct command execution (prefix anything with `!` to run it as a command)
- A /compact command which shortenes all previous command outputs, to save tokens (money) if there are unneccessarily long text chunks.
- And more! (full list on github)

Timeline

While the current shipped version is waiting to be certified, i have continued to work on the new one, there is no flashy new stuff (yet!), but im making progress.

Update attachment

The first official release is finally done! Ready to ship! :)

Update attachment

Ship 1

Matthy

about 1 month ago

Matthy Covers 14 devlogs and 35h 43m

Did some improvements, and made progress on the new version! :)

Update attachment

Rewrite in progress...

Update attachment

I have started to rewrite most of the code, it got really messy, this will probably take a ton of time, but i will try to ship it first with the current code and later reship it with the new code.

Update attachment

More cleaning, and a logo / banner!

Update attachment

Just did some bugfixing, and cleaning up old code.

Update attachment

Added better command completion, and better conversation management.

Update attachment

Added '/compact' and fixed a double command execution bug

Update attachment

Just some bug fixing!

Update attachment

Fixed Colored output.

Update attachment

Added an 'Incognito' mode, use it for whatever you want ;)
Also refactored the whole codebase basically. There are basically no bugs (that i know of) right now.

Update attachment

Just some bug fixing, and a new command confirmation prompt.

Update attachment

I have added better interactive command support, and support for colored command output. it should be working as a complete terminal from now on.

Update attachment
Matthy Matthy 3 months ago

There is a confirmation dialog before running any command like:

Execute? [Y/n]

So that if the ai tries to run any damaging command, you can just cancel it. It also asks the user for the reason of decline, which means you can correct the ai to do the right thing.

shurgbee shurgbee 3 months ago

How will you prevent the AI from writing damaging commands? (i.e. “rm -rf” or anything that deletes unwanted directories)

Added much better recent conversations, and better web searching results.
First release version is very close!

Update attachment

I have been working on it for around a month, but i just now stubled up on hackclub. I will document everything here from now on, it is really close to the first complete version.

Update attachment
Matthy Matthy 3 months ago

It supports all openai compatible models, which means it should work with ollama, and yes, it is linux only at the moment, i am releasing the first version in a few days at most.

Eli Nelson Eli Nelson 3 months ago

I just looked closer, is this for Linux?

Also does it support other API than gemini?

Local Ollama model support would be amazing!

Eli Nelson Eli Nelson 3 months ago

Where is the repo? I would LOVE to check this out! Does it support Ollama self hosted models? That would be amazing API keys would be cool too!