Repolode
AI-Shell-Team

AI-Shell-Team/aish

An AI-powered Linux shell with a full PTY, where you type natural-language requests after ';' and get commands with risk grading before they run.

Stars
578
Forks
132
Open issues
43
Last commit
2 days ago

What is it?

AISH is a Rust-based shell that works like a regular terminal while adding AI assistance. Interactive programs such as vim, ssh and top run inside a full PTY, and anything prefixed with ';' is sent to an OpenAI-compatible model that can explain or generate commands for the task described.

AI-generated commands pass through a configurable security policy engine. Each command is graded LOW, MEDIUM or HIGH: low-risk commands run by default, medium-risk ones ask for confirmation, and high-risk ones are blocked by default. An optional privileged sandbox service can pre-run commands to assess their changes before execution.

The project also includes a Skills plugin system that hot-loads domain knowledge and workflows from user directories, local SQLite session history, Markdown-based long-term memory, and optional Langfuse observability. It targets Linux and supports any model reachable through an OpenAI-compatible API, including local models.

Key features

  • 01Full PTY support for interactive programs like vim, ssh and top
  • 02Natural-language requests and command explanations via a ';' prefix
  • 03Risk grading (LOW/MEDIUM/HIGH) with confirmation flow for AI-generated commands
  • 04Optional sandbox pre-run to assess command changes before execution
  • 05Skills plugins with hot loading and priority override
  • 06Local SQLite session history and Markdown long-term memory

Use cases

  • Troubleshooting Linux systems by describing problems in plain language
  • Generating complex shell commands such as file searches or archive operations without memorizing syntax
  • Running AI-assisted ops work with a risk-confirmation step before risky commands execute
  • Using a local or self-hosted model through an OpenAI-compatible endpoint

Quick start

  1. 1

    Run the official install script from the README

  2. 2

    Launch the shell

    aish

Things to know

  • Linux only; the README lists no macOS or Windows support.
  • Needs an LLM API key or a configured model before AI requests work.

In collections

Topics

FAQ

What is aish?
An AI-powered Linux shell with a full PTY, where you type natural-language requests after ';' and get commands with risk grading before they run. AISH is a Rust-based shell that works like a regular terminal while adding AI assistance. Interactive programs such as vim, ssh and top run inside a full PTY, and anything prefixed with ';' is sent to an OpenAI-compatible model that can explain or generate commands for the task described.
Is aish free to use? What license does it have?
aish is open source under the Apache-2.0 license. Check the license terms before using it in commercial products.
Is aish still maintained?
Actively maintained. The last commit to aish was on Nov 6, 2026.
What can I use aish for?
Troubleshooting Linux systems by describing problems in plain language Generating complex shell commands such as file searches or archive operations without memorizing syntax Running AI-assisted ops work with a risk-confirmation step before risky commands execute Using a local or self-hosted model through an OpenAI-compatible endpoint
How do I install aish?
Run the official install script from the README Launch the shell: aish
Where can I get aish?
The source code and installation instructions are on GitHub: https://github.com/AI-Shell-Team/aish

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects