← 开源

A microharness for your shell

InfrastructureGatewayRust
增长势头
+024 小时新增 Star0.0%
107
Star
7
Fork
+6
本周
3
贡献者
创建于 2026-07-13 · 更新于 2026-12-04 · 今日第 26581 名
主要开发者
README

Atuin 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.

排名相邻
同类项目

AI Rank iPhone 版

随时追踪 AI 模型榜单

在 App Store 下载