SHAI: AI assistant in the terminal
SHAI: AI assistant in the terminal
SHAI is a code-oriented AI assistant in the terminal. It can run commands, manage complex tasks, interact with code files, and automate development processes. All from your terminal, with templates hosted at OVHcloud or other providers.
Installation
In one command
Open source
Expandable
Models
Multiple (OVHcloud, etc.)
MCP
Compatible with OVHcloud MCP Server
Enhance your terminal with SHAI
SHAI is a terminal-based programming partner that’s also an open-source code agent. It helps you execute commands, string together multi-step workflows, interact with LLMs, read and write code, or automate development tasks.
Benefits
Designed for users who prefer their terminal and need AI capabilities without exiting their workspace.
Headless mode
Integrate SHAI into your automated pipelines, CI/CD, or your remote servers without a graphical interface. You can stream prompts and responses (including stderr), and chain calls.
Designed for development teams
Designed for those who work in the terminal and want AI assistance without changing tools. Everything, from commands and code to scripts, is accessible from the same environment.
Multiple AI models
Unlike many assistants locked to a single model, SHAI supports multiple providers (OVHcloud AI Endpoints, etc.) to tailor the power to your needs.
Multiple AI models
Customise SHAI or help add to its features. It’s compatible with the OVHcloud MCP server, allowing you to manage your cloud services in natural language.
OVHcloud specifications
SHAI is provided by OVHcloud and integrates into the OVHcloud AI and cloud ecosystem.

OVHcloud AI Endpoints
By default, you can use the models hosted in OVHcloud datacentres (AI Endpoints). You can also configure other providers via "shai auth".

OVHcloud MCP Server
Set up OVH agent with the OVHcloud MCP server, so SHAI can manage your OVHcloud infrastructure and services in natural language (with your consent).

Shell assistant and command correction
SHAI acts as a shell assistant; when a command fails, the solution analyses the output and return code, and then suggests a correction.
Installation and startup
A command to install the latest version, then configure a provider (OVHcloud or other) to lift the rate limits.
Create a website
Ask SHAI to help you create your own site: structure, files, content. Ideal for prototyping and learning.
Convert files
Convert formats and transform data or code. Describe your need in natural language and, if necessary, connect the steps sequentially.
Shell assistant and command correction
Has a command failed? SHAI can analyse the terminal output and the last command to suggest a correction (using hook on the output and return code).
And much more: scripts, refactoring, code explanation, test generation, etc.
Want to get started? Join the community, try SHAI, and share your suggestions!
You may find these useful
AI in your terminal
Install SHAI in a single command, configure your provider, and start coding with an open-source AI assistant compatible with OVHcloud MCP.
Your questions answered
What is SHAI?
SHAI is an AI assistant in the terminal, focused on code and development. It executes commands, manages multi-step workflows, reads and writes code, and can serve as a shell assistant to correct failed commands.
What models can I use?
By default, SHAI uses OVHcloud as an anonymous user (with rate limit). Using “shai auth,” you can log in to your OVHcloud account, or alternatively, configure another provider and input your API key.
How do I use SHAI with the MCP server OVHcloud?
Create a custom agent with MCP (see Custom agent with MCP). $HOME/.config/shai/agents/ovh.config file with the .ovh.config content from the repository. Then shai agent ovh to manage your OVHcloud services in natural language.


