What is Atuin AI?
Atuin AI is the shell agent for Atuin. Atuin shipped it built in up to 18.24 and removed it in 18.25; it now lives on as a standalone binary, atuin-ai. Press ? at an empty prompt and a chat opens right in your terminal: describe what you want and it suggests the command, or ask a question and it answers. With your permission it can also search your Atuin history, read and edit files and run commands. It talks to an Atuin AI server that you host yourself (upstream publishes it as a Docker image), and that server can sit in front of any OpenAI-compatible endpoint: Ollama, vLLM or a hosted API. The client is written in Rust by the Atuin team and is MIT licensed.
main. This repository builds a snapshot every Friday when main has moved, versioned <client version>.<YYYYMMDD> (for example 0.1.0.20261127), so apt upgrade brings you the week's changes without a Rust toolchain. Debian does not package atuin-ai at all.
⚡ Key Features of Atuin AI
❓ One Key Away
Press ? on an empty prompt to open the agent. Anywhere else ? types a question mark as usual, so it never gets in the way of a command you are writing.
💡 Command Suggestions
Describe the task in plain words ("find files over 1 GB changed this week") and get back a command you can read, edit and run, instead of digging through man pages.
📜 Knows Your History
With permission, the agent searches your Atuin history, so it can find the command you ran last month or build on how you usually do things on this machine.
🛠️ Files and Commands
It can read and edit files and run commands for you, and it asks before it does. You stay in charge of what touches your system.
🏠 Your Own Server
The client talks to an Atuin AI server you run yourself, so your prompts and history go where you decide. Upstream ships the server as ghcr.io/atuinsh/atuin-ai-server.
🔌 Any OpenAI-Compatible Model
The server works with any OpenAI-compatible endpoint: a local model through Ollama or vLLM, or a hosted API. Swap models on the server without touching the client.
apt upgrade keeps you on the latest version.
📦 Installation from deb.griffo.io
Step 1: Add Repository
sudo install -d -m 0755 /etc/apt/keyrings
curl -fsSL https://deb.griffo.io/EA0F721D231FDD3A0A17B9AC7808B4DD62C41256.asc | sudo gpg --dearmor --yes -o /etc/apt/keyrings/deb.griffo.io.gpg
echo "deb [signed-by=/etc/apt/keyrings/deb.griffo.io.gpg] https://deb.griffo.io/apt $(. /etc/os-release; echo ${DEBIAN_CODENAME:-${UBUNTU_CODENAME:-$VERSION_CODENAME}}) main" | sudo tee /etc/apt/sources.list.d/deb.griffo.io.list > /dev/null
sudo apt updateinstall -d -m 0755 /etc/apt/keyrings
curl -fsSL https://deb.griffo.io/EA0F721D231FDD3A0A17B9AC7808B4DD62C41256.asc | gpg --dearmor --yes -o /etc/apt/keyrings/deb.griffo.io.gpg
echo "deb [signed-by=/etc/apt/keyrings/deb.griffo.io.gpg] https://deb.griffo.io/apt $(. /etc/os-release; echo ${DEBIAN_CODENAME:-${UBUNTU_CODENAME:-$VERSION_CODENAME}}) main" | tee /etc/apt/sources.list.d/deb.griffo.io.list > /dev/null
apt updatesudo apt install extrepo
sudo extrepo enable griffo
sudo apt update🆓 There is an always-free mirror. deb-free.griffo.io serves packages free forever, no account, no subscription, at most 2 months behind upstream, security fixes immediately. It currently carries cliamp, Forgejo Runner, Ghostty, lazydocker, Oh My Posh, Uncloud and Zed; Atuin AI is not one of them, so the repository above is the only way to get it today, ask and it can be enrolled.
🧩 About the extrepo option. extrepo is Debian's own tool for external repositories: it writes the sources file and installs the signing key for you, checking the key against signed metadata first. This repository is registered with it as griffo, and the always-free mirror as griffo-free, so on Debian (bookworm, trixie, forky and sid) the commands above are the whole setup.
extrepo sets up the sources file and the key only, so a subscription's credentials still go in /etc/apt/auth.conf.d/deb.griffo.io.conf. Ubuntu is not covered, because extrepo publishes metadata for Debian suites only: there, use the sudo or root commands.
Step 2: Install Atuin AI
# Install latest Atuin AI; Atuin itself comes along as a dependency
sudo apt install atuin-ai
# Verify installation
atuin-ai --version# Install latest Atuin AI; Atuin itself comes along as a dependency
apt install atuin-ai
# Verify installation
atuin-ai --versionStep 3: First run
# Point the client at your Atuin AI server
# (a commented example: /usr/share/doc/atuin-ai/examples/ai.example.toml)
mkdir -p ~/.atuin
cat > ~/.atuin/ai.toml <<'EOF'
endpoint = "http://localhost:8080"
# api_token = "..." # only when the server sets AUTH_TOKEN
EOF
# Bind ? in your shell, after Atuin's own init line
echo 'eval "$(atuin-ai init bash)"' >> ~/.bashrc
# Open a new shell, then press ? at an empty prompt
exec bash🎯 Basic Usage Examples
Shell setup:
# bash, in ~/.bashrc
eval "$(atuin init bash)"
eval "$(atuin-ai init bash)"
# zsh, in ~/.zshrc
eval "$(atuin init zsh)"
eval "$(atuin-ai init zsh)"
# fish, in ~/.config/fish/config.fish
atuin init fish | source
atuin-ai init fish | sourceRunning the server:
# Only the client is packaged; the server is upstream's Docker image
docker pull ghcr.io/atuinsh/atuin-ai-server
# Configure it with your OpenAI-compatible endpoint (Ollama, vLLM, a hosted API)
# as upstream's Self-Hosting guide describes, then check it answers
curl http://localhost:8080/api/cli/modelsDay to day:
# At an empty prompt, press ? and ask, for example:
# which process is listening on port 5432?
# compress every .log file in this directory older than 7 days
# what was the rsync command I used for the backups?
# Everything the client can do
atuin-ai --help
# The shell code it installs
atuin-ai init bash🔧 Tool Integrations
Atuin AI sits between your shell, your Atuin history and a model you choose:
- Atuin: a hard dependency, installed with it from deb.griffo.io; the agent searches the same history database
atuin searchuses, and only when you allow it - Atuin 18.25 and later: 18.25 dropped the built-in agent, so this package is how you keep the
?chat on a current Atuin - bash, zsh and fish:
atuin-ai init bash,zshorfishprints the key binding; load it after Atuin's own init so both bindings coexist - Atuin AI server:
ghcr.io/atuinsh/atuin-ai-server, run with Docker or Podman on the same machine or anywhere the client can reach; setAUTH_TOKENthere andapi_tokenin~/.atuin/ai.tomlto lock it down - Ollama and vLLM: keep every prompt on your own hardware by pointing the server at a local OpenAI-compatible endpoint
- Hosted APIs: any provider that speaks the OpenAI API works the same way, configured on the server, never in the client
🚀 Why Choose deb.griffo.io?
- Official Debian: does not package Atuin AI,
apt install atuin-aifails on a stock system - Upstream downloads: there are none: upstream publishes no releases, tags or binaries for the client
- cargo build from source: a clone, a Rust toolchain and a few minutes of compiling, repeated by hand whenever
mainmoves - deb.griffo.io: latest version with automatic updates
- ✅ Built From Upstream main: compiled from upstream's source with its own
Cargo.lock; the release notes and/usr/share/doc/atuin-ai/changelog.Debianname the exact upstream commit of each snapshot - ✅ Pulls In Atuin: depends on
atuin, which deb.griffo.io carries too, so oneapt install atuin-aigives you both - ✅ Client Only: the package installs
/usr/bin/atuin-aiand an exampleai.toml; the server stays in Docker, where upstream ships it - ✅ Automatic Updates: each new snapshot arrives through a plain
apt upgrade - ✅ Two Architectures: amd64 and arm64 on Bookworm, Trixie, Forky and Sid, the same two as the Atuin package it depends on; there is no i386 or armhf build
- ✅ Multi-Distribution: works on Bookworm, Trixie, Forky and Sid
- ✅ Easy Maintenance: standard apt commands for updates
📦 Package Build Repository
The Debian packages are automatically built and maintained in this GitHub repository:
- 🧠 atuin-ai-debian - Weekly snapshot builds
🔗 Related Packages
Also available from deb.griffo.io:
- Atuin - The shell history database Atuin AI depends on and searches
- ble.sh - A Readline replacement for bash that Atuin integrates with
- fish - A friendly interactive shell that Atuin and Atuin AI both support
- Starship - A fast, cross-shell prompt to go with it
- herdr - A terminal workspace for running coding agents side by side
? agent and upgraded past 18.24, people who want a command-line assistant that runs against their own server and their own model, and anyone who would rather ask for a command than search for it.
💝 Support This Project
If this repository saves you time and effort, please consider supporting it!