Atuin

Atuin

Rust-powered SQLite shell history and AI agent session tracker with encrypted cross-machine sync, fuzzy search, and built-in MCP server.

★ 32.9K

Never lose a complex terminal command or AI coding session across machines again

Standard `.zsh_history` and `.bash_history` files truncate old commands, scramble concurrent terminal tabs, and forget which directory or exit code a command ran with. Atuin replaces flat history files with a fast SQLite database written in Rust (`96.7%` Rust) that logs exit codes, working directories, hostnames, durations, and now even AI coding agent threads. With 32.9K GitHub stars and 1,100 forks under the MIT license, it works completely offline or syncs end-to-end encrypted across every laptop and VPS you touch.

Why terminal power users and AI builders install Atuin

  • Pressing `Ctrl+R` opens an instant full-screen fuzzy search TUI where you can filter commands by current directory, git repo, exit code (`–exit 0`), or time window.
  • Atuin Threads captures coding agent sessions across Claude Code, Codex, OpenCode, Copilot, and Hermes so you can search past sessions or `atuin resume` them on another machine.
  • A built-in MCP server lets your local AI agents query your terminal command history safely when debugging build or deploy failures.
  • End-to-end encrypted sync runs via Atuin Hub or your own self-hosted Docker sync server across Zsh, Bash, Fish, Nushell, and PowerShell.

Privacy tip for shared workstations

Atuin includes configurable regex history filters (`history_filter`) to skip accidentally recording AWS keys or sensitive tokens; review those rules before enabling cloud or self-hosted sync. Install Atuin today and run `atuin import auto` to index your existing shell history in seconds.

Ready to try Atuin?

Experience the full capabilities on their official website.

Visit Official Website