hai¶
A REPL for hackers using LLMs.
Highlights¶
- β‘οΈ Starts in 30ms (on my machine).
- π¦ Single, standalone binaryβno installation or dependencies required.
- πͺΆ Lightweight (< 9MB compressed) for your machine, SBCs, and servers.
- π― Run many instances for simultaneous conversations.
- π€ Supports AIs from OpenAI, Anthropic, DeepSeek, Google, xAI, and Ollama (local) all in a single conversation.
- πΆ Go incognito
hai -i
. - β Give AI the power to run programs on your computer.
- π Share AI prompt-pasta publicly using the task repository.
- π Load images, code, or text into the conversation.
- π Load URLs with automatic article extraction and markdown conversion.
- π¨ Highlights syntax for markdown and code snippets.
- πΌ Render output to browser.
- πΎ Auto-saves last conversation for easy resumption.
- β Store and share data on the cloud for easy access by AIs.
- π§ Get emails from AIβsend notifications or share data.
- π Open source: Apache License 2.0
- π» Supports Linux and macOS. Windows needs testing (help!).
Video Walkthrough (YouTube)¶
More videos¶
- Using hai to manage a personal calendar
- Using hai to get a code review
- Using the hai api
- Using hai to encrypt/decrypt local files as assets
- Using hai to analyze YouTube transcripts
- Using hai with a search engine
- Making the hai walkthrough with ffmpeg
Quickstart¶
$ curl -LsSf https://hai.superego.ai/hai-installer.sh | sh
$ hai
Other install methods
If you're using Windows or require another method for installation, see our installation section.