logoalt Hacker News

Atuin Threads: All your agent sessions on every machine

138 points • by linsomniac • today at 2:10 PM • 55 comments • view on HN

Comments

nzoschke • today at 3:01 PM

I started building my own version of this in Superlogical Rex.

It's a bit hard to decide where to hook in.

Rex has events, harnesses have hooks, terminal output can set program status, git has hooks.

I'm not sure I actually want every session from every machine saved. That's a lot of noise especially when half of coding sessions are experimental / throwaway.

But at the same time its not that much data that's easy to ripgrep / LLM through.

➕ show 4 replies
hugmynutus • today at 5:49 PM

Really enjoyed Atuin for a few weeks, until I realized it doesn't have correct `EFSRO` (Error: Read-Only File System) handling. So when my `/home` mount had a raid array drive failure it broke my local shell. Issue has been sitting open for almost a year. Pretty disappointing.

➕ show 1 reply
thesurlydev • today at 4:55 PM

I've a love affair with Atuin but this may turn into a full blown obsession

➕ show 1 reply
talloaktrees • today at 4:23 PM

I've built this for myself, but not across multiple machines. It scans the session logs of all coding harnesses I use, one extra thing it does is create embeddings to allow hybrid BM25/semantic search.

I think these kinds of tools are on of the few times I've spent time "using AI to work on my AI tools" that was actually a good use of time.

It's so useful to be able to say "search sessions for the time I was working on XYZ 3 months ago"

➕ show 1 reply
nklmilojevic • today at 4:15 PM

posted on X a couple a days ago how atuin threads saved me from loosing the code I was working on and I accidentally removed uncommited worktree https://x.com/nklmilojevic/status/2118401844401541604

orbis-tertius • today at 2:53 PM

I love Atuin, but have some reservations about a shared server keeping all my shell history and agent sessions. Am I being too paranoid and missing out on convenience?

➕ show 6 replies
ftchd • today at 4:49 PM

I've gone a different route and prefer using the native harnesses (Claude, Codex), but with multiple accounts due to the limits.

In order to easily switch between accounts I've build Switcheroo, which I've been using for the past 2-3 months now. I've decided to open source it: https://github.com/FTCHD/switcheroo

Works with other AI CLIs like Gemini, and other various CLIs like Vercel (if you're managing multiple accounts like me), Netlify, Github etc

➕ show 1 reply
all2 • today at 3:49 PM

Fascinating. I just finished implementing this.

https://github.com/comalice/pi-tools contains a 'memory everywhere' module that makes all sessions BM25 vectors, and surfaces a set of memory tools to enable agents to search. You can add a new machine to the mix by registering a 'spoke'. The app runs on the 'hub'. I want to containerize the core app soon.

You can also change which computer is the hub fairly easily.

baskar12ai • today at 4:26 PM

Yes i too faced the problem, lost valuable content across group of chat and not remembering in which chat it was. Tried searching but couldn't find it. Even asked ai itself does about the content whether it remembered.

RyJones • today at 2:35 PM

I've been using (and supporting) atuin for a while, and I find it a required bit of infrastructure. This is a nice upgrade!

TheIronYuppie • today at 3:52 PM

I’ve been a supporter of Atuin and forever, and I really like her model here.

Excited to try it!

GNOMES • today at 4:23 PM

Correct me if I am wrong, but I imagine this would hammer one's token usage to read past entries to resemble context across machines/terminals and models?

ashenke • today at 5:00 PM

I love this new AI era of coding where the HN submission is about a new way to manage agent, and almost literally all the comments are "I just finished implementing this myself" It's almost like a parody.

ndrake • today at 5:32 PM

Would be great if you could disable sync for Threads but keep history sync going.

ghempton • today at 3:05 PM

Built this for same purpose: https://github.com/codealong/codealong

More of a desktop flavor though

➕ show 1 reply
amelius • today at 4:24 PM

Aren't session also deleted after some time? It would be nice to keep them.

languagehacker • today at 3:24 PM

Probably a little late to this, because herdr has really eaten this segment. With their new Mac app, I don't see myself going back to atuin for this kind of experience. In fact, I get a little peeved using it on a vanilla terminal.

➕ show 3 replies
tacker2000 • today at 3:53 PM

So now everyone and their mother are putting out AI harnesses/session managers aka browser tabs for AI.

➕ show 1 reply
petesergeant • today at 2:44 PM

I've spent the last couple of months putting a lot of time and energy into isolating my agents from each other: aggressive sandboxing, regular scanning of transcripts for agent-leaked credentials, per-agent encrypted credential stores, even physical (and network) separation of machines with different areas of work on them. Needless to say, as much as I have found atuin an excellent manager of my command-line history, I will be avoiding this.

➕ show 2 replies
myagentbudget • today at 7:39 PM

[flagged]

agline_in • today at 2:50 PM

[flagged]

sick_of_slop • today at 3:22 PM

[dead]

jackfreeman • today at 5:01 PM

[dead]

sehw • today at 5:48 PM

How much electricity wasted?