Atuin Threads: All your agent sessions on every machine
blog.atuin.sh
blog.atuin.sh
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.
We actually don’t use hooks at all at the moment, and instead rely on parsing session files
Agents are definitely super good at searching and finding relevant data amongst noise!
As far as I know(?) beta testers don't have the ability to give out invites anyways. At least I don't.
I built slivingdoc[0] with an alternative approach: instead of syncing exact sessions (which are often quite noisy, and not so useful), the agents gets a living document with automatic merge conflict resolution backed by s3 ("infinite" storage). Idea being that the agents are prompted to summarize their context into slivingdoc as normal utf-8 files. So this way only you only need to add the stdio MCP server to all your harnesses which supports it and it just works!
Some harnesses are _super_ hyped about this concept. Codex needs no prompting at all to start communicating. I got the idea from enabling agentic forums via all the openAI hacks.
[0]: slivingdoc.dev
There is value in filing well written issues, and no one should be shamed for "just" filing an issue to the people best equipped to resolve it, rather than trying to fix it themselves.
$ ctools resume ssh://laptop.local/code/project
Goes to laptop.local, looks for sessions done in that path, finds the most recent, copies it locally and resumes it.
There's also ls, grep, copy, cat... It looks and feels like the existing tools, that's the point.
Workflow is the thing that matters here and I'm terminal first
I'll make it more flashy soon https://github.com/day50-dev/ctools
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"
I'm also experimenting with a 'dream mode' that extracts facts, and a 'librarian' that stores those facts in the MD wiki.
I don't know if there's a benefit to that yet, but I'm going to find out.
I just search over $BACKUPS/*/latest/local/share/fish/fish_history with grep and skim
> Am I being too paranoid and missing out on convenience?
No, I'd say it is more-so a lack of reading the article that is causing you to miss out.
Thanks for the info, will give it a try
export ATUIN_NO_MOUSE=true
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
atuin stores, searches and syncs agent sessions regardless of harness or setup
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.
Excited to try it!
Similarly, I've already had many issues with project shunning me because I come with AI assisted code, no matter the quality of the contribution. With NixOS it's extremely simple to carry patches, and I do this with a number of projects (k3s, kata, Ardour).
It feels like long-term forks are something we're going to have to accept as the new reality, and find some way to weave together in a new way, rather than as just an escape hatch to route around maintainer issues.
More of a desktop flavor though
Atuin indexes all your past sessions, herdr multiplexes all your present sessions.
We made a mod for herdr desktop to integrate the two: https://herdr.dev/mods/atuinsh/herdr-atuin-threads/
What peeves you on the vanilla terminal?
What peeves me is the poor responsiveness when navigating history. Pressing up or ctrl+r has this lag which throws off my typing. I'm on a pretty well specced setup, too. I used to be able to tolerate it, but since I barely do things directly from the command line anymore and have Claude worry about most of the command construction, the experience can be particularly grating.
Chalk it up to ever more instant gratification :)
Ahh. We've done a lot of work to improve this lately, if you're not using the daemon please try
``` atuin config enable daemon ```
and it should perform much better (it's the default on new installs)
This week I got Claude to build me a browser-based session manager to keep track of sessions and history of tasks. Works well enough for me and I’ll add features as I need.
atuin threads stores every turn for every harness you use, syncs it across machines, and makes it searchable and resumable anywhere.
it's not a replacement for your harness, or your harness wrapper.