Capture, search, sync, and resume shell history and AI agent sessions across multiple machines.
Atuin enhances your terminal by replacing traditional shell history with an encrypted SQLite database that tracks rich execution metadata, including exit codes, directories, hostnames, and durations. Beyond standard interactive shell history, Atuin integrates seamlessly with modern development workflows by recording AI agent threads from tools like Claude Code and Codex, allowing developers to switch environments and resume sessions across different machines. With a built-in Model Context Protocol (MCP) server, it grants AI agents direct context over historical terminal interactions and previous task threads, all backed by optional end-to-end encrypted synchronization.