π’ What Atuin Is
"There aren't many terminal utilities I take with me anywhere, but if I had to pick just one, Atuin may very well be it." The "magic turtle" is at 30,000 stars, has a refreshed docs page, and recently open-sourced its AI server and custom bindings. 0:00
Version 18.13 is the milestone release: better search, a PTY proxy, and β the headline β AI. "It's not just AI, it's not just in your terminal, it's part of it. With your history as context, making it the killer of another product you probably already know: Warp." 0:37
β‘ 78Γ Faster β The SQL Trick
The most impressive non-AI upgrade is the daemon and a query rewrite that made Atuin up to 78 times faster. The commit came from a developer who changed a single SQL statement. 2:40
"The new query starts with the newest commands, ignores a command if a newer copy already exists, keeps collecting unique ones, and stops as soon as it has enough. It scans backwards and keeps unique commands until it reaches the wanted amount β rather than processing everything every single time." 4:15
π€ Atuin AI β The Warp Killer
"I wasn't kidding when I said this is what Warp is, or at least used to be, for." Atuin AI triggers with the question mark (after logging in and authorizing). Ask for a command in natural language, and it generates it β with your shell history as context. 4:57
There's also a setting that lets Atuin AI read the last sent command "kind of like a skill" β run a failing command, then ask "why did it fail?" and it infers context from the last command and explains. 10:16
π Security & Guardrails
The worry everyone raises: "your history has tokens and secrets." Atuin can be configured to never record them, and β for the AI specifically β the commands themselves are not sent to the model by default. 6:30
"You don't have to sync to a server you don't trust, let alone feed it into a random AI model. All of these things can be easily configured." For the privacy-conscious: "you can just simply not sync. Use Atuin for what it mainly is β an amazing search over your local command history." 2:14
π₯οΈ PTY Proxy & tmux
The old Atuin "messed up your history" when it popped up, often scrambling the display or clearing the screen. The new PTY proxy (replacing the old "hex" component) overlays the existing terminal, renders its own pop-up, and removes cleanly when you return. 3:36
tmux enable true in the Atuin config, configure pop-up dimensions, and Atuin renders inside a tmux pop-up instead. 8:05
π¦ Scripts, Dotfiles & Aliases
Beyond history and AI, Atuin syncs more: parameterized scripts (a library of snippets runnable from everywhere, synced across machines β "no copy-pasting, no git pushing and pulling with random hooks"), and dotfiles. 8:49
alias k to kubectl β set it, make sure dotfiles are enabled in config, and the next time you call k on any machine, voilΓ , synced everywhere. In a way, this replaces your RC files." 9:33
Last but not least: syntax highlighting for all history commands β "flags, subcommands, strings, and parameters all beautifully set, making it much, much easier to read." 10:40
β Key Takeaways
- 78Γ faster from one SQL rewrite. The old query processed the entire history then sorted; the new one scans backwards, dedupes on the fly, and stops early once it has enough unique commands.
- Atuin AI is Warp's job, done inside your existing terminal. Natural-language history search with your shell history as context β Enter to run, Tab to edit inline.
- Private by default. Commands aren't sent to the model unless you opt in, secrets can be filtered, and you can skip cloud sync entirely and use it purely locally.
- Guardrails, not a sandbox. It'll refuse obviously self-compromising requests, but it's jailbreak-able if you try hard β "that's not the point."
- PTY proxy fixes the render mess β and tmux users get native pop-ups instead.
- It's grown beyond history. Scripts, dotfiles, and aliases all sync across machines β a lightweight replacement for git-managed RC files.
- Nushell is not supported yet. Atuin AI and the tmux pop-up feature both require Bash/Zsh for now.
π Resources & Links
- πΊ Original video β DevOps Toolbox
- π’ Atuin β atuin.sh