Skip to content
Projets

À propos

A microharness for your shell

Outils de développement

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
0
in 7 days
Historique en cours
in 15 days
Historique en cours
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

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.

Atuin AI suggesting a command, then rebuilding a Docker image from shell history

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.

Explorer des projets similaires

Chargement…