Atuin Threads: All your agent sessions on every machine blog.atuin.sh · 59 point...
HN Best 200 @best
Atuin Threads: All your agent sessions on every machine blog.atuin.sh · 59 points · 21 comments · HN thread
TL;DR Atuin 18.24 adds Threads, a feature that captures coding-agent sessions (Claude Code, Codex, Pi, Omp, OpenCode), makes them searchable, and syncs them across machines with end-to-end encryption. Sessions can be resumed or forked into a different agent harness on another device, and an MCP server lets agents search past sessions themselves. Capture is opt-in, and team session sharing is in development.
- Threads is part of Atuin 18.24+, installed via the Atuin installer and started with atuin resume.
- Supported agents at launch: Claude Code, Codex, Pi, Omp and OpenCode, with more planned.
- Sessions sync through Atuin's encrypted sync engine, which the author says can sync any append-only log; users can use the hosted server, self-host, or stay local.
- Agents can search past sessions via atuin mcp, installable for Claude, Codex, Pi and OpenCode, to recover abandoned work and prior investigations.
- The author gives examples: an agent finding abandoned onboarding attempts, tracing an object-store permission outage from an earlier session, and forking a slow benchmark session to a faster MacBook.
- Team session sharing, described as opt-in, is being built and the author invites feedback.
Discussion The thread is a mix of interest and comparison rather than argument. Several commenters describe their own homegrown session-indexing setups (a BM25 memory hub, a Syncthing-backed grep script, a desktop tool), and others debate whether keeping every session is worthwhile given how many are throwaway. The main skeptical thread concerns trusting a remote server with shell history and agent transcripts, which the replies answer by pointing to client-side encryption and self-hosting. The tone is mostly friendly toward Atuin, with a few sceptical or dismissive remarks about the flood of agent tooling.
- Self-hosting or local-only is the reassuring path for private history (some): Commenters worried about a shared server holding shell history and agent sessions were reassured that data is encrypted client-side and that the server can be self-hosted. One user preferred a Syncthing-backed local search instead of sending anything remote.
- Keeping every agent session is noisy; filter or summarize instead (some): Several argue that many coding sessions are experimental and throwaway, so saving all of them creates noise. One commenter ties sessions to work items and stores only summaries in a vector database.
- Building similar tools independently is already common (some): Multiple commenters describe their own versions of session capture and search, including a BM25 memory hub with spokes, a desktop app, and a Rex integration, suggesting the idea is widely pursued.
- Threads complements herdr rather than competing with it (a few): One commenter argued herdr has overtaken Atuin for agent workflows, but Atuin staff and another user replied that Atuin indexes past sessions while herdr multiplexes live ones, and the two integrate.
- Dismissive of the flood of AI session managers (a few): One commenter sees many new harnesses and session managers as redundant browser-tab-like tools for AI.
- Strong sandboxing and credential isolation matter more than archiving (a few): A commenter who isolates agents with sandboxing, transcript scanning for leaked credentials and separated machines says they will avoid a tool that centralizes agent transcripts.
- Long-time Atuin users welcome the upgrade (a few): Existing users and supporters called Atuin required infrastructure and praised the team's model and this new feature.
Links from the comments
- Pi tools repo with a 'memory everywhere' module that indexes sessions with BM25 and runs a hub-and-spoke design
- Desktop-oriented project built for a similar purpose of tracking agent sessions
- Mod for herdr desktop that integrates Atuin Threads with the herdr multiplexer
#atuin #aiAgents #shellHistory #sessionSync #devTools #encryption