25 comments

  • baalimago26 minutes ago
    I suspect this is one of those problems &quot;everyone&quot; has built their own solution for. Including me!<p>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 (&quot;infinite&quot; 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!<p>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.<p>[0]: slivingdoc.dev
  • nzoschke5 hours ago
    I started building my own version of this in Superlogical Rex.<p>It&#x27;s a bit hard to decide where to hook in.<p>Rex has events, harnesses have hooks, terminal output can set program status, git has hooks.<p>I&#x27;m not sure I actually want every session from every machine saved. That&#x27;s a lot of noise especially when half of coding sessions are experimental &#x2F; throwaway.<p>But at the same time its not that much data that&#x27;s easy to ripgrep &#x2F; LLM through.
    • ellieh4 hours ago
      Nice! Rex is super cool. We have an Atuin Threads integration for Herdr already, definitely exploring building one for Rex too<p>We actually don’t use hooks at all at the moment, and instead rely on parsing session files<p>Agents are definitely super good at searching and finding relevant data amongst noise!
    • seanlf1 hour ago
      Anything you can share yet? I was about to point Claude at the same thing in Rex and would rather not burn the tokens to come to the same result
    • justCallMeOmid4 hours ago
      &quot;Half of coding sessions being throwaway&quot; is exactly why I stopped keeping them per session. Mine hang off a work item, and each item has its own folder with its session logs. I basically throw them away and also record their summary in a vector DB to be able to find why I did something, if I&#x27;m ever curious about it! Otherwise I&#x27;m gonna need a tool to help me manage my sessions :D
    • gajus2 hours ago
      Unrelated, but if you have an invite to Superlogical Rex, would appreciate one. gajus@gajus.com
      • sbarre1 hour ago
        Honestly, just go sign up on the Superlogical website, the queue is short, you should get an invite quickly enough.<p>As far as I know(?) beta testers don&#x27;t have the ability to give out invites anyways. At least I don&#x27;t.
        • gajus23 minutes ago
          Interesting. I signed up a while ago and did not receive an invite.
    • seanjhkwon52 minutes ago
      [flagged]
    • asemdevs4 hours ago
      [flagged]
  • hugmynutus2 hours ago
    Really enjoyed Atuin for a few weeks, until I realized it doesn&#x27;t have correct `EFSRO` (Error: Read-Only File System) handling. So when my `&#x2F;home` mount had a raid array drive failure it broke my local shell. Issue has been sitting open for almost a year. Pretty disappointing.
    • bauerd2 hours ago
      Did you provide a patch or just filed an issue?
      • Carrok28 minutes ago
        &quot;Just&quot; filing an issue takes time and effort. Providing a patch takes significantly more time and effort. Potentially the difference of a few minutes vs a few days, weeks, or longer, depending on the issue at hand.<p>There is value in filing well written issues, and no one should be shamed for &quot;just&quot; filing an issue to the people best equipped to resolve it, rather than trying to fix it themselves.
  • thesurlydev3 hours ago
    I&#x27;ve a love affair with Atuin but this may turn into a full blown obsession
    • ellieh1 hour ago
      love to hear it! lmk if there&#x27;s anything we can do to be better (ellie@atuin.sh)
  • talloaktrees4 hours ago
    I&#x27;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&#x2F;semantic search.<p>I think these kinds of tools are on of the few times I&#x27;ve spent time &quot;using AI to work on my AI tools&quot; that was actually a good use of time.<p>It&#x27;s so useful to be able to say &quot;search sessions for the time I was working on XYZ 3 months ago&quot;
    • all23 hours ago
      I&#x27;ve done exactly this.<p>I&#x27;m also experimenting with a &#x27;dream mode&#x27; that extracts facts, and a &#x27;librarian&#x27; that stores those facts in the MD wiki.<p>I don&#x27;t know if there&#x27;s a benefit to that yet, but I&#x27;m going to find out.
      • ellieh1 hour ago
        I&#x27;ve been experimenting with the same thing! Still don&#x27;t have enough evidence to be able to say if it&#x27;s beneficial or not, but hopefully will have a conclusion soon
  • nklmilojevic4 hours ago
    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 <a href="https:&#x2F;&#x2F;x.com&#x2F;nklmilojevic&#x2F;status&#x2F;2118401844401541604" rel="nofollow">https:&#x2F;&#x2F;x.com&#x2F;nklmilojevic&#x2F;status&#x2F;2118401844401541604</a>
    • ellieh1 hour ago
      super cool use case! still exploring if there&#x27;s anything fun we can do with source control
  • orbis-tertius5 hours ago
    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?
    • aaronax5 hours ago
      It is encrypted client side. Or you can run your own server.<p>&gt; Am I being too paranoid and missing out on convenience?<p>No, I&#x27;d say it is more-so a lack of reading the article that is causing you to miss out.
      • orbis-tertius5 hours ago
        I did read the article but missed that. Paranoia can definitely co-occur with distracted reading, they&#x27;re independent dimensions ;)<p>Thanks for the info, will give it a try
    • dietr1ch5 hours ago
      Same, I really wanted to share history, but when I realised I was going to need to send things to a remote server I instead wrote a tiny script to search through backups that are shared across machines by Syncthing.<p>I just search over $BACKUPS&#x2F;*&#x2F;latest&#x2F;local&#x2F;share&#x2F;fish&#x2F;fish_history with grep and skim
      • forsalebypwner1 hour ago
        Atuin offers a self-hosted backend server for syncing, so you don&#x27;t need to trust anybody
      • orbis-tertius5 hours ago
        Nice solution
    • turbocon5 hours ago
      Atuin is open source, you can just host your own server?
      • orbis-tertius5 hours ago
        Fair enough, I missed that. Will give it a try!
    • jwr3 hours ago
      But… you don&#x27;t have to sync anything?
    • totetsu4 hours ago
      I cant get used to it taking over the entire screen when scrolling history
      • rao-v4 hours ago
        I faced this too! Turned out it’s an easy config change to limit to height of your choice
        • totetsu3 hours ago
          atuin config set inline_height 5<p>export ATUIN_NO_MOUSE=true
  • ftchd3 hours ago
    I&#x27;ve gone a different route and prefer using the native harnesses (Claude, Codex), but with multiple accounts due to the limits.<p>In order to easily switch between accounts I&#x27;ve build Switcheroo, which I&#x27;ve been using for the past 2-3 months now. I&#x27;ve decided to open source it: <a href="https:&#x2F;&#x2F;github.com&#x2F;FTCHD&#x2F;switcheroo" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;FTCHD&#x2F;switcheroo</a><p>Works with other AI CLIs like Gemini, and other various CLIs like Vercel (if you&#x27;re managing multiple accounts like me), Netlify, Github etc
    • ellieh1 hour ago
      this works with native harnesses, and is neither a harness nor a wrapper of them<p>atuin stores, searches and syncs agent sessions regardless of harness or setup
  • all24 hours ago
    Fascinating. I just finished implementing this.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;comalice&#x2F;pi-tools" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;comalice&#x2F;pi-tools</a> contains a &#x27;memory everywhere&#x27; 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 &#x27;spoke&#x27;. The app runs on the &#x27;hub&#x27;. I want to containerize the core app soon.<p>You can also change which computer is the hub fairly easily.
  • baskar12ai3 hours ago
    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&#x27;t find it. Even asked ai itself does about the content whether it remembered.
    • ellieh1 hour ago
      atuin threads solves that problem!
  • RyJones5 hours ago
    I&#x27;ve been using (and supporting) atuin for a while, and I find it a required bit of infrastructure. This is a nice upgrade!
  • TheIronYuppie4 hours ago
    I’ve been a supporter of Atuin and forever, and I really like her model here.<p>Excited to try it!
  • GNOMES4 hours ago
    Correct me if I am wrong, but I imagine this would hammer one&#x27;s token usage to read past entries to resemble context across machines&#x2F;terminals and models?
    • forsalebypwner1 hour ago
      I don&#x27;t think this, by default, has any effect on anybody&#x27;s token usage, it&#x27;s just a way to save these sessions if you need to reference them again in the future. Unless of course you choose to provide a previous session to a new agent, but that should be expected.
  • ashenke3 hours ago
    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 &quot;I just finished implementing this myself&quot; It&#x27;s almost like a parody.
  • ndrake2 hours ago
    Would be great if you could disable sync for Threads but keep history sync going.
  • ghempton5 hours ago
    Built this for same purpose: <a href="https:&#x2F;&#x2F;github.com&#x2F;codealong&#x2F;codealong" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;codealong&#x2F;codealong</a><p>More of a desktop flavor though
  • amelius4 hours ago
    Aren&#x27;t session also deleted after some time? It would be nice to keep them.
    • ellieh1 hour ago
      they are! claude deletes them after 30 days, but Atuin Threads keeps them synced and searchable forever :)
  • languagehacker5 hours ago
    Probably a little late to this, because herdr has really eaten this segment. With their new Mac app, I don&#x27;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.
    • ellieh4 hours ago
      Threads doesn’t compete with herdr, the two actually go together really nicely<p>Atuin indexes all your past sessions, herdr multiplexes all your present sessions.<p>We made a mod for herdr desktop to integrate the two: <a href="https:&#x2F;&#x2F;herdr.dev&#x2F;mods&#x2F;atuinsh&#x2F;herdr-atuin-threads&#x2F;">https:&#x2F;&#x2F;herdr.dev&#x2F;mods&#x2F;atuinsh&#x2F;herdr-atuin-threads&#x2F;</a><p>What peeves you on the vanilla terminal?
      • languagehacker2 hours ago
        Cool, I&#x27;ll take a look at this.<p>What peeves me is the poor responsiveness when navigating history. Pressing up or ctrl+r has this lag which throws off my typing. I&#x27;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.<p>Chalk it up to ever more instant gratification :)
        • ellieh1 hour ago
          great! please let me know if you have any issues<p>Ahh. We&#x27;ve done a lot of work to improve this lately, if you&#x27;re not using the daemon please try<p>``` atuin config enable daemon ```<p>and it should perform much better (it&#x27;s the default on new installs)
    • t0mas884 hours ago
      I&#x27;m using atuin as part of my Herdr setup. Atuin is not a replacement shell or multiplexer, it&#x27;s basically a really advanced shell history.
    • gf0003 hours ago
      Its multi host mode is pretty limited still. Like especially with a web ui, it will just install a random, auto-updating binary on the other machine, which I didn&#x27;t feel comfortable with. I would much rather have herdr itself manage the connection completely, not a plugin.
  • tacker20004 hours ago
    So now everyone and their mother are putting out AI harnesses&#x2F;session managers aka browser tabs for AI.
    • ellieh1 hour ago
      they are, but this isn&#x27;t one of those<p>atuin threads stores every turn for every harness you use, syncs it across machines, and makes it searchable and resumable anywhere.<p>it&#x27;s not a replacement for your harness, or your harness wrapper.
    • Nursie4 hours ago
      It’s likely because you can vibe code the bones of one in a few hours.<p>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.
  • petesergeant5 hours ago
    I&#x27;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.
    • ahmedketata3 hours ago
      yes agent leak secrets “Yes, and don’t ask again” in Claude Code would also save secrets in .claude&#x2F;settings.local.json.
      • jothimani2 hours ago
        Yes and the bigger problem for me is the agent can write to that file too. The file that decides what it is allowed to do is just another file in the repo for it. I now treat the agent config files as something to protect from the agent itself, not only from other people.
    • jothimani2 hours ago
      [flagged]
  • myagentbudget46 minutes ago
    [flagged]
  • agline_in5 hours ago
    [flagged]
  • sick_of_slop5 hours ago
    [dead]
  • jackfreeman3 hours ago
    [dead]
  • sehw2 hours ago
    How much electricity wasted?
    • ellieh1 hour ago
      idk it&#x27;s actually super low on compute, doesn&#x27;t use tokens, mostly just needs storage