atuinsh/atuin-ai
About
A microharness for your shell
Developer ToolsMeasured star growth
- in 24h
- +2
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalAtuin AI
Atuin AI is a self-hosted terminal-first AI agent.
[!NOTE]
Atuin AI is in low-maintenance mode. Security concerns are addressed, however, Atuin Inc. no longer provides an official, managed server. You must self-host Atuin AI.

Quick Start
To get started with Atuin AI, you need to host an instance of the server, as described in the following section.
First, ensure that atuin itself is installed. Then, install Atuin AI by running:
cargo install --locked --git https://github.com/atuinsh/atuin-ai atuin-ai
Once installed, configure your shell hooks:
# ~/.zshrc
eval "$(atuin init zsh)" # <- you will already have this
eval "$(atuin-ai init zsh)"
# ~/.bashrc
eval "$(atuin init bash)" # <- you will already have this
eval "$(atuin-ai init bash)"
# ~/.config/fish/config.fish
atuin init fish | source # <- you will already have this
atuin-ai init fish | source
Finally, configure your atuin-ai to point at your self-hosted instance. In ~/.atuin/ai.toml:
endpoint = "<your-url>"
Self-Hosting
Atuin no longer provides a managed installation of Atuin AI. You must host your own instance. The easiest way to host this Atuin AI is via our docker image:
# Copy the server config file into your local config file.
# Please see the comment lines in the example file for more details.
cp server/config.example.toml config.toml
# Run the server in your docker container.
docker run \
-v ./config.toml:/etc/atuin-ai/config.toml \
-p 8080:8080 \
--add-host host.docker.internal:host-gateway \
ghcr.io/atuinsh/atuin-ai-server:latest
The example config reaches Ollama on the Docker host through host.docker.internal. On Linux,
that name is the Docker bridge rather than loopback, and Ollama only listens on loopback by
default: start Ollama with OLLAMA_HOST=0.0.0.0, and keep port 11434 off the public network.
Authentication
Set the AUTH_TOKEN environment variable to require Authorization: Bearer <token> on every
request. Unset means open access. Set api_token in the client's ai.toml to match.
License
The server is Apache-2.0; see LICENSE. The client is MIT, as the Atuin code it comes from; see client/LICENSE.
Explore related projects
Loading…